Partitioning - please not that again

Warren Block wblock at wonkity.com
Mon Dec 17 02:28:48 UTC 2012


On Mon, 17 Dec 2012, Polytropon wrote:

> On Mon, 17 Dec 2012 01:05:00 +0100, Ralf Mardorf wrote:
>> I startet the FreeBSD installer, chose the shell and then run:
>>
>> # mount -t ufs /dev/ad0s1 /mnt
>> # cd /mnt
>> # rm -r *
>> # rm -r .*
>
> That worked? I can hardly understand why /dev/ad0s1 is
> mountable (except it's /dev/ad0s1c, i. e. you've initialized
> the whole slice, but no swap then).
>
> A typical construction for FreeBSD would be at least to have
> /dev/ad0s1a, mounted to /, being the bootable root partition,
> and /dev/ad0s1b, the swap partition. Further partitions could
> have been created, e. g. /dev/ad0s1d for /var, and /dev/ad0s1e
> for /usr.
>
>
>
>
>> This does cause the issue I already had before. When I go back to the
>> installer, for the partition editor I get:
>>
>> ada0 298 GB MBR
>>   ada0s1 57 GB freebsd
>>   ada0s2 240 GB EBR
>> [snip]
>>
>> gpart show also doesn't display the 3 ufs and the swap any more.
>
> Did it previously show them? I don't know if gpart supports
> BSD-typical partitioning (i. e. partitions inside a slice)...

Yes, it does.  But it won't show them unless you look in ada0s1. 
bsdlabel partitions are inside slices.


More information about the freebsd-questions mailing list