Oliver Neukum wrote:

>>But permanent changes are stored in the fs, _somewhere_; be it in a text
>>file, or a device node.  /etc/fstab has some virtues; yes?
>>
>Yes, but permanent storage needs a way to identify devices across reboot, 
>preferably a stable name. That is not there.
>
Ideally, we should not be identifying data by the device that stores it. 
It's better than the standard *NIX way (topology), but it still isn't 
safe because of removable storage.
Consider a system with multiple removable ATA HDDs. If the bays connect 
to the host system via USB<->ATA bridges, the serial number that the 
host sees will be that of the bay, not the HDD itself.

Using volume labels or UUIDs in /etc/fstab is much safer. It works with 
everything except the root fs (could be fixed in 2.5, I suppose) and 
swap devices (impossible w/o changing the format).

Device names must still be stable enough to allow for fdisk/format 
without any surprises, though.

-- 
Mark McClelland
[EMAIL PROTECTED]
PGP public key fingerprint: 317C 58AC 1B39 2AB0 AB96  EB38 0B6F 731F 3573 75CC




_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to