summaryrefslogtreecommitdiffstats
path: root/etc/MAKEDEV
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2001-12-27 15:03:25 +0000
committerjoerg <joerg@FreeBSD.org>2001-12-27 15:03:25 +0000
commit5a63bf2b8472db6e8ec874be6b65b167f2ee7ceb (patch)
tree0a164dc6288f8f9ab2ff53dd7089365d3cf982ec /etc/MAKEDEV
parent3aee09fd5eb448f8da632ed20a2dedd3380df5b2 (diff)
downloadFreeBSD-src-5a63bf2b8472db6e8ec874be6b65b167f2ee7ceb.zip
FreeBSD-src-5a63bf2b8472db6e8ec874be6b65b167f2ee7ceb.tar.gz
Remove nonstandard floppy device nodes. Only keep the base device node,
plus the symbolic links to the fake BSD partitions. Also remove the rfd* devices, they are neither necessary nor documented anymore.
Diffstat (limited to 'etc/MAKEDEV')
-rw-r--r--etc/MAKEDEV85
1 files changed, 0 insertions, 85 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index deeef91..3620bcf 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -530,96 +530,11 @@ fd*)
case $unit in
0|1|2|3)
mknod ${name}${unit} c $chr $(($unit * 64)) root:operator
- ln -f ${name}${unit} r${name}${unit}
# Fake BSD partitions
for i in a b c d e f g h
do
ln -f ${name}${unit} ${name}${unit}$i
- ln -f r${name}${unit} r${name}${unit}$i
done
- # User-readable and programmer-readable name sets
-
- mknod ${name}${unit}.1720 c $chr $(($unit * 64 + 1)) \
- root:operator
- ln -f ${name}${unit}.1720 r${name}${unit}.1720
- # ln -f ${name}${unit}.1720 ${name}${unit}135hs21
- # ln -f r${name}${unit}.1720 r${name}${unit}135hs21
-
- mknod ${name}${unit}.1480 c $chr $(($unit * 64 + 2)) \
- root:operator
- ln -f ${name}${unit}.1480 r${name}${unit}.1480
- # ln -f ${name}${unit}.1480 ${name}${unit}135hs18
- # ln -f r${name}${unit}.1480 r${name}${unit}135hs18
- # ln -f ${name}${unit}.1480 ${name}${unit}96hs18
- # ln -f r${name}${unit}.1480 r${name}${unit}96hs18
-
- mknod ${name}${unit}.1440 c $chr $(($unit * 64 + 3)) \
- root:operator
- ln -f ${name}${unit}.1440 r${name}${unit}.1440
- # ln -f ${name}${unit}.1440 ${name}${unit}135
- # ln -f r${name}${unit}.1440 r${name}${unit}135
- # ln -f ${name}${unit}.1440 ${name}${unit}135ds18
- # ln -f r${name}${unit}.1440 r${name}${unit}135ds18
- # ln -f ${name}${unit}.1440 ${name}${unit}96ds18
- # ln -f r${name}${unit}.1440 r${name}${unit}96ds18
-
- mknod ${name}${unit}.1200 c $chr $(($unit * 64 + 4)) \
- root:operator
- ln -f ${name}${unit}.1200 r${name}${unit}.1200
- # ln -f ${name}${unit}.1200 ${name}${unit}96
- # ln -f r${name}${unit}.1200 r${name}${unit}96
- # ln -f ${name}${unit}.1200 ${name}${unit}96ds15
- # ln -f r${name}${unit}.1200 r${name}${unit}96ds15
- # ln -f ${name}${unit}.1200 ${name}${unit}135ds15
- # ln -f r${name}${unit}.1200 r${name}${unit}135ds15
-
- mknod ${name}${unit}.820 c $chr $(($unit * 64 + 5)) \
- root:operator
- ln -f ${name}${unit}.820 r${name}${unit}.820
- # ln -f ${name}${unit}.820 ${name}${unit}96hs10
- # ln -f r${name}${unit}.820 r${name}${unit}96hs10
- # ln -f ${name}${unit}.820 ${name}${unit}135hs10
- # ln -f r${name}${unit}.820 r${name}${unit}135hs10
-
- mknod ${name}${unit}.800 c $chr $(($unit * 64 + 6)) \
- root:operator
- ln -f ${name}${unit}.800 r${name}${unit}.800
- # ln -f ${name}${unit}.800 ${name}${unit}96ds10
- # ln -f r${name}${unit}.800 r${name}${unit}96ds10
- # ln -f ${name}${unit}.800 ${name}${unit}135ds10
- # ln -f r${name}${unit}.800 r${name}${unit}135ds10
-
- mknod ${name}${unit}.720 c $chr $(($unit * 64 + 7)) \
- root:operator
- ln -f ${name}${unit}.720 r${name}${unit}.720
- # ln -f ${name}${unit}.720 ${name}${unit}96ds9
- # ln -f r${name}${unit}.720 r${name}${unit}96ds9
- # ln -f ${name}${unit}.720 ${name}${unit}135ds9
- # ln -f r${name}${unit}.720 r${name}${unit}135ds9
-
- mknod ${name}${unit}.360 c $chr $(($unit * 64 + 8)) \
- root:operator
- ln -f ${name}${unit}.360 r${name}${unit}.360
- # ln -f ${name}${unit}.360 ${name}${unit}48
- # ln -f r${name}${unit}.360 r${name}${unit}48
- # ln -f ${name}${unit}.360 ${name}${unit}48ds9
- # ln -f r${name}${unit}.360 r${name}${unit}48ds9
-
- mknod ${name}${unit}.640 c $chr $(($unit * 64 + 9)) \
- root:operator
- ln -f ${name}${unit}.640 r${name}${unit}.640
- # ln -f ${name}${unit}.640 ${name}${unit}96ds8
- # ln -f r${name}${unit}.640 r${name}${unit}96ds8
- # ln -f ${name}${unit}.640 ${name}${unit}135ds8
- # ln -f r${name}${unit}.640 r${name}${unit}135ds8
-
- mknod ${name}${unit}.1232 c $chr $(($unit * 64 + 10)) \
- root:operator
- ln -f ${name}${unit}.1232 r${name}${unit}.1232
- # ln -f ${name}${unit}.1232 ${name}${unit}96ds8
- # ln -f r${name}${unit}.1232 r${name}${unit}96ds8
- # ln -f ${name}${unit}.1232 ${name}${unit}135ds8
- # ln -f r${name}${unit}.1232 r${name}${unit}135ds8
;;
*)
echo bad unit for disk in: $i
OpenPOWER on IntegriCloud