how to create a partition on new disk for FreeBSD
-------------------------------------------------
[root@toady root]# ls -al /dev/d*
crw-r----- 1 root operator 4, 11 Sep 5 2004 /dev/da0
crw-r----- 1 root operator 4, 16 Sep 5 2004 /dev/da0s1
crw-r----- 1 root operator 4, 21 Sep 5 2004 /dev/da0s1a
crw-r----- 1 root operator 4, 22 Sep 5 2004 /dev/da0s1b
crw-r----- 1 root operator 4, 23 Sep 5 2004 /dev/da0s1c
crw-r----- 1 root operator 4, 24 Sep 5 2004 /dev/da0s1d
crw-r----- 1 root operator 4, 25 Sep 5 2004 /dev/da0s1e
crw-r----- 1 root operator 4, 26 Sep 5 2004 /dev/da0s1f
crw-r----- 1 root operator 4, 12 Apr 15 22:16 /dev/da1
crw-r----- 1 root operator 4, 28 Apr 15 22:19 /dev/da1s1
crw-r----- 1 root operator 4, 13 Sep 5 2004 /dev/da2
crw-r----- 1 root operator 4, 18 Sep 5 2004 /dev/da2s1
crw-r----- 1 root operator 4, 14 Sep 5 2004 /dev/da3
crw-r----- 1 root operator 4, 19 Sep 5 2004 /dev/da3s1
crw-r----- 1 root operator 4, 15 Sep 5 2004 /dev/da4
crw-r----- 1 root operator 4, 20 Sep 5 2004 /dev/da4s1
[root@toady root]# fdisk -BI da1
[root@toady root]# bsdlabel -w -B da1s1
[root@toady root]# bsdlabel -e da1s1
[root@toady root]# newfs da1s1a
/dev/da1s1a: 4133.9MB (8466176 sectors) block size 16384, fragment size 2048
using 23 cylinder groups of 183.77MB, 11761 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
160, 376512, 752864, 1129216, 1505568, 1881920, 2258272, 2634624, 3010976,
3387328, 3763680, 4140032, 4516384, 4892736, 5269088, 5645440, 6021792,
6398144, 6774496, 7150848, 7527200, 7903552, 8279904
[root@toady root]# mount /dev/da1s1a /servers
[root@toady root]# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/da0s1b none swap sw 0 0
/dev/da0s1a / ufs rw 1 1
/dev/da0s1e /tmp ufs rw 2 2
/dev/da0s1f /usr ufs rw 2 2
/dev/da0s1d /var ufs rw 2 2
/dev/da1s1a /servers ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
|