FreeBSD Handbook : Disks : Using command line utilities : Dedicated
Previous: * Using Slices
Next: * Non-traditional Drives

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/rsd1 bs=1k count=1
	disklabel -Brw sd1 auto
	disklabel -e sd1				# create the `e' partition
	newfs -d0 /dev/rsd1e
	mkdir -p /1
	vi /etc/fstab					# add an entry for /dev/sd1e
	mount /1
    

An alternate method is:

	dd if=/dev/zero of=/dev/rsd1 count=2
	disklabel /dev/rsd1 | disklabel -BrR sd1 /dev/stdin
	newfs /dev/rsd1e
	mkdir -p /1
	vi /etc/fstab					# add an entry for /dev/sd1e
	mount /1
    


FreeBSD Handbook : Disks : Using command line utilities : Dedicated
Previous: * Using Slices
Next: * Non-traditional Drives