diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index 5cbfa05109..025a3d710f 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -1,7 +1,7 @@ @@ -510,9 +510,27 @@ Using Command Line Utilities - * Using Slices + Using Slices - + This setup will allow your disk to work correctly with + other operating systems that might be installed on your + computer and will not confuse other operating systems' fdisk + utilities. It is recommended to use this method for new disk + installs. Only use dedicated mode if you + have a good reason to do so! + + &prompt.root; dd if=/dev/zero of=/dev/rda1 bs=1k count=1 +&prompt.root; fdisk -BI da1 #Initialize your new disk +&prompt.root; disklabel -B -w -r da1s1 auto #Label it. +&prompt.root; disklabel -e da1s1 # Now edit the disklabel you just created and add any partitions. +&prompt.root; mkdir -p /1 +&prompt.root; newfs /dev/da1s1e # Repeat this for every partition you created. +&prompt.root; mount -t ufs /dev/da1s1e /1 # Mount the partition(s) +&prompt.root; vi /etc/fstab # When satisfied, add the appropriate entry/entries to your /etc/fstab. + + If you have an IDE disk, subsitute ad + for da. On pre-4.x systems use + wd. diff --git a/en_US.ISO_8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO_8859-1/books/handbook/disks/chapter.sgml index 5cbfa05109..025a3d710f 100644 --- a/en_US.ISO_8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/disks/chapter.sgml @@ -1,7 +1,7 @@ @@ -510,9 +510,27 @@ Using Command Line Utilities - * Using Slices + Using Slices - + This setup will allow your disk to work correctly with + other operating systems that might be installed on your + computer and will not confuse other operating systems' fdisk + utilities. It is recommended to use this method for new disk + installs. Only use dedicated mode if you + have a good reason to do so! + + &prompt.root; dd if=/dev/zero of=/dev/rda1 bs=1k count=1 +&prompt.root; fdisk -BI da1 #Initialize your new disk +&prompt.root; disklabel -B -w -r da1s1 auto #Label it. +&prompt.root; disklabel -e da1s1 # Now edit the disklabel you just created and add any partitions. +&prompt.root; mkdir -p /1 +&prompt.root; newfs /dev/da1s1e # Repeat this for every partition you created. +&prompt.root; mount -t ufs /dev/da1s1e /1 # Mount the partition(s) +&prompt.root; vi /etc/fstab # When satisfied, add the appropriate entry/entries to your /etc/fstab. + + If you have an IDE disk, subsitute ad + for da. On pre-4.x systems use + wd.