NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: BSD disklabel partition letters in NetBSD



On 9/22/2018 2:24 AM, Rocky Hotas wrote:
As regards NetBSD: this use of ‘a’ and ‘b’ is mandatory? Or is it
possible to arbitrarily change the letter assignments? (E.g. partition
/home to ‘a’ and root partition and swap to ‘e’, ‘f’, ‘g’ ...)

Any suggestion/information about this would be very useful.
Thank you anyway,

With the exception of the "whole disk" partition, the others can be used
as you wish.

However, I've tried to be consistent with my choices.

As 'c' is "whole disk" on only SOME ports -- with 'd' being the whole disk
on others -- I don't ever use these for anything but those roles:  consider
mounting a disk that started out in life on one architecture (port) and now
you want to mount it on another!

I use a small 'a' partition as "/" and 'b' as swap.

I like to mount /var on 'e', /usr on 'f', /usr/pkg on 'g' (picking up on
the g in pkG as a mnemonic), /home on 'h', /Sources on 'i', /Playpen on 'j'
and /Archive on 'k' (the hard ch as a mnemonic for the k) with /Leftovers
for 'l'.

But, that's because most of my boxes are development systems so the ijkl
are considerably different from machine to machine (whereas aefgh tend to
be very similar in content).

Just pick something that you can easily remember.  There WILL be a time
when your box won't go to multiuser and you'll be poking around fstab(5)
with ed(1) instead of vi(1).  It helps to know what to expect, there!


Home | Main Index | Thread Index | Old Index