8.2. Using command line utilities

8.2.1. * Using Slices

8.2.2. Dedicated

If you will not be sharing the new drive with another operating system, you may use the dedicated mode. Remember this mode can confuse Microsoft operating systems; however, no damage will be done by them. IBM's OS/2 however, will ``appropriate'' any partition it finds which it doesn't understand.


    # dd if=/dev/zero of=/dev/rda1 bs=1k count=1

    # disklabel -Brw da1 auto

    # disklabel -e da1               # create the `e' partition

    # newfs -d0 /dev/rda1e

    # mkdir -p /1

    # vi /etc/fstab               # add an entry for /dev/da1e

    # mount /1

An alternate method is:


    # dd if=/dev/zero of=/dev/rda1 count=2

    # disklabel /dev/rda1 | disklabel -BrR da1 /dev/stdin

    # newfs /dev/rda1e

    # mkdir -p /1

    # vi /etc/fstab                   # add an entry for /dev/da1e

    # mount /1



Banner.Novgorod.Ru