[SLL] New Monitor
Glenn Stone
technoshaman at liawol.org
Thu Dec 14 15:00:01 PST 2006
On Thu, Dec 14, 2006 at 01:38:55PM -0800, Rob Smith wrote:
>On 12/14/06, Glenn Stone <technoshaman at liawol.org> wrote:
>>None, because I wouldn't do anything fancy with fstab to link it to the
>>hostname, I'd just write it there in the first place. It never occurred to
>>me to do otherwise; automated tinkering with fstab beyond the initial
>>install is far too easy to break anyway.
>>
>>-- Glenn
>
>But even if the fstab was set to
>
>label=root_$HOSTNAMEVAR
No, no, no. label=root_my.example.com. Don't try to do any fancy
substitution, just take the hostname and use it *without expansion* for the
rhs of the disk label. It is a quick and dirty way to get something
semi-unique without being user-surly. Of course, if the user does something
like have 23 machines and name them all "dave", that won't work like we want
it to... but it won't break either. Even if he renames one of his machines
"fred", the fstab - and the label on the disk - still says "dave". Unless
he deigns to change it.
>the label the partition itself has would *have* to be set to
>root_my.host.name
But of course!
I have no clue why everyone went off on ZOMG---BBQ dynamic disk
labelz!!! ugh! Just a very simple, what's your hostname, now, stuff that
in as part of the disk label, *and never change it again unless you really
want to*. Simple, easy, doesn't suck. And even if somebody does something
stupid you're no less broken than you were.
-- Glenn
"Perfect is the enemy of good enough."
-- ADM Sergei Georgievich Gorshkov, Soviet Navy
(IIRC often quoted by Linus)
More information about the linux-list
mailing list