From da9ebe6d82d3757b395321266da5e87bc27de12d Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Wed, 4 Dec 2002 22:10:51 +0000 Subject: [PATCH] More /dev/r no longer preferred. --- .../books/handbook/disks/chapter.sgml | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index f97a23b930..ce6c88f167 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -1087,7 +1087,7 @@ scsibus1: Floppy disks are accessed through entries in /dev (like any other device). To access the - raw floppy disk you can use /dev/rfdX, + raw floppy disk you can use /dev/fdX, where X stands for the drive number, usually 0. When the disk is formatted you can use /dev/fdX, or whichever of the other devices named @@ -1120,7 +1120,7 @@ scsibus1: to format the floppy to its real size, or force them. So you insert a new 3.5inch floppy disk in your drive and issue: - &prompt.root; /usr/sbin/fdformat /dev/rfd0.1440 + &prompt.root; /usr/sbin/fdformat /dev/fd0.1440 This will take a while... You should notice any disk error here (this can help you determining which disks are good or @@ -1129,7 +1129,7 @@ scsibus1: To force the floppy disk size, we will use other entries in /dev. Get the same floppy and issue: - &prompt.root; /usr/sbin/fdformat /dev/rfd0.1720 + &prompt.root; /usr/sbin/fdformat /dev/fd0.1720 It will take some more time than before (forced disks are slower). When it finishes, you will have a 1720kb floppy disk, @@ -1155,7 +1155,7 @@ scsibus1: You can run now &man.disklabel.8; like: - &prompt.root; /sbin/disklabel -B -r -w /dev/rfd0 fdsize + &prompt.root; /sbin/disklabel -B -r -w /dev/fd0 fdsize Replace fdsize with fd1440, fd1720 or whichever size you want. The last field instructs disklabel which entry to take @@ -1573,7 +1573,7 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready Exabyte tape drive connected to a Sun called komodo, use: - &prompt.root; /sbin/rdump 0dsbfu 54000 13000 126 komodo:/dev/nrsa8 /dev/da0a 2>&1 + &prompt.root; /sbin/rdump 0dsbfu 54000 13000 126 komodo:/dev/nsa8 /dev/da0a 2>&1 Beware: there are security implications to allowing .rhosts authentication. Evaluate your @@ -1615,7 +1615,7 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready tar to an Exabyte tape drive connected to a Sun called komodo, use: - &prompt.root; /usr/bin/tar cf komodo:/dev/nrsa8 . 2>&1 + &prompt.root; /usr/bin/tar cf komodo:/dev/nsa8 . 2>&1 For versions without remote device support, you can use a pipeline and @@ -1660,7 +1660,7 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready user@host is the user/hostname combination that will be performing the backups, and backup_device is where the backups should - be written to (e.g., /dev/nrsa0). + be written to (e.g., /dev/nsa0). @@ -1807,8 +1807,8 @@ sa0(ncr1:4:0): Logical unit is in process of becoming ready procedure. Store these notes with the bootable floppy, the printouts and the backup tapes. You will be so distraught when restoring that the notes may prevent you from destroying your backup - tapes (How? In place of tar xvf /dev/rsa0, you - might accidentally type tar cvf /dev/rsa0 and + tapes (How? In place of tar xvf /dev/sa0, you + might accidentally type tar cvf /dev/sa0 and over-write your backup tape). For an added measure of security, make bootable floppies and two @@ -2106,7 +2106,7 @@ echo "The floppy has been unmounted and is now ready."]]> &prompt.root; disklabel -r -w vn0 auto &prompt.root; newfs vn0c Warning: 2048 sector(s) in last cylinder unallocated -/dev/rvn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors +/dev/vn0c: 10240 sectors in 3 cylinders of 1 tracks, 4096 sectors 5.0MB in 1 cyl groups (16 c/g, 32.00MB/g, 1280 i/g) super-block backups (for fsck -b #) at: 32