View Single Post
  #6   (View Single Post)  
Old 21st March 2009
Beastie Beastie is offline
Daemonology student
 
Join Date: Jan 2009
Location: /dev/earth0
Posts: 335
Default

Quote:
Fdisk is only used to create slices (MBR partitions). It will not create labels.
Yes indeed, it only creates /dev/ad0s3. These labels were leftovers from my prior mess-ups, so I got confused.



By default, if I do a
bsdlabel -w /dev/ad0s3
then
bsdlabel -e /dev/ad0s3
I see partitions "a" and "c" in vi.

In my last post I was asking about this "a" partition. Isn't it always used for the system's root filesystem "/"?
From your first reply, you suggested I create a "d" partition:
Code:
/dev/ad0s1a /     bla,bla,bla
/dev/ad0s2d /home bla,bla,bla
Should I NOT use the default "a" and change it instead to "d"?



That's what I'm doing. Is it the proper way to do it?
1. fdisk -u ad0 ; follow the steps and add a third slice
2. bsdlabel -w /dev/ad0s3 ; this creates /dev/ad0s3a and /dev/ad0s3c
3. bsdlabel -e /dev/ad0s3 ; change "a" to "d" and save
4. now there's /dev/ad0s3c and /dev/ad0s3d
5. newfs -U /dev/ad0s3d
6. mount /dev/ad0s3d /mnt/new
__________________
May the source be with you!
Reply With Quote