View Single Post

  #15 (permalink)  
Old 02-24-2008
Chris Cox
 
Posts: n/a
Default Re: API to collect some unique IDs

NoStop wrote:
> Keith Keller wrote:
>
>> ["Followup-To:" header set to comp.os.linux.security.]
>>
>> On 2008-02-23, Dirk T. Verbeek <dverbeek@xs4all.nl> wrote:
>>> Having a look in /etc/fstab for the UUID of the hard disk is more unique
>>> yet it can be spoofed.

>> Having the UUID listed at all in fstab is not guaranteed. (And IIRC the
>> UUID is for the given filesystem, not the entire disk.)
>>
>> --keith
>>

> IMHO, using UUID for internal fixed drives is bullshit. No need for that
> crap.


uuid isn't perfect. It's better when the drive can be identified by
it's model and serial number (by-id)... and most can. But you're right that
even that isn't always what you want to do... but some WILL want it.
So it's there...

It's useful when drives change position due to new controllers coming
online (just one example). Using a more persistent name prevents
the pain of dealing with device renames (e.g. /dev/sda becoming /dev/sdb
all of the sudden). But obviously not perfect in cases were a
drive fails and gets replaced... pros and cons either way....
Reply With Quote