problem after installkernel going from 9.0 to CURRENT
Kevin Oberman
kob6558 at gmail.com
Fri Jan 4 06:15:41 UTC 2013
On Thu, Jan 3, 2013 at 7:24 PM, Warren Block <wblock at wonkity.com> wrote:
> On Thu, 3 Jan 2013, Kevin Oberman wrote:
>
>>> One possibility: I believe I labeled each of the partitions
>>> during
>>> the gpt creation process. Can I use those labels to (hopefully) by-pass
>>> this issue?
>>
>>
>> Yes! This is the current recommended way of doing it.
>>>
>>> cat /etc/fstab
>>
>> # Device Mountpoint FStype Options Dump
>> Pass#
>> /dev/gpt/swap none swap sw 0 0
>> /dev/gpt/root / ufs rw 1 1
>> /dev/gpt/tmp /tmp ufs rw 2 2
>> /dev/gpt/usr /usr ufs rw 2 2
>> /dev/gpt/var /var ufs rw 2 2
>
>
> To avoid collisions, I recommend people use unique labels on each system. I
> sometimes pick a couple of letters from the system name or drive: xfswap,
> xfrootfs, xftmpfs, xfusrfs, xfvarfs.
Good point (as usual).
The example was from my laptop where this is not an issue, but in
larger environments it is an excellent suggestion.
I would put the unique ID at the end of the label as the eye tends to
read from left to right (at least in most language so you can
recognize whether it is usr or swap or home pretty much instantly.
Sticking letters at the start make the most fundamental information
harder to see.
swaprxf xfswap
usrfsxf xfusrfs
Still, this is a nit and I appreciate the suggestion!..
--
R. Kevin Oberman, Network Engineer
E-mail: kob6558 at gmail.com
More information about the freebsd-current
mailing list