Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2013 22:15:34 -0800
From:      Kevin Oberman <kob6558@gmail.com>
To:        Warren Block <wblock@wonkity.com>
Cc:        Robert Huff <roberthuff@rcn.com>, current@freebsd.org
Subject:   Re: problem after installkernel going from 9.0 to CURRENT
Message-ID:  <CAN6yY1sAydSvrUEfCvZ-H7gyfcXxm7G3V56Y3dQXNvm4uo9LnQ@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1301032021080.99758@wonkity.com>
References:  <50E0BFA0.6070702@rcn.com> <50E476D3.2030609@rcn.com> <alpine.BSF.2.00.1301030937410.35001@wonkity.com> <50E612DA.8020704@rcn.com> <CAN6yY1v_1cAxhn4tZOZ%2BWpS=UoMJA2GFaSpzv7vDvDt%2BTTCqxg@mail.gmail.com> <alpine.BSF.2.00.1301032021080.99758@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 3, 2013 at 7:24 PM, Warren Block <wblock@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1sAydSvrUEfCvZ-H7gyfcXxm7G3V56Y3dQXNvm4uo9LnQ>