[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: question about fstab in squeeze and uuid



On Fri, Mar 12, 2010 at 08:16:48PM +0000, Camaleón wrote:
> On Fri, 12 Mar 2010 20:21:14 +0100, Javier Barroso wrote:
> 
> (...)
> 
> >> Maybe there is a good comparison chart about all these methods that
> >> list their "pros" and "cons" :-?
> 
> > Not a chart, but yes references to why uuid ... :
> > https://bugzilla.redhat.com/show_bug.cgi?id=364441
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=572376
> 
> After a bit of digging, it seems all methods have its own drawbacks:
> 
> by-label -> can generate collissions and is not present in all volumes
> 
> by-path -> can also change because it depends on the system bus it is 
> attached to
> 
> by-id -> it seems that not all devices provide an ID
> 
> by-uuid -> as we have seen, when formating or repartitioning the device 
> it can also change
> 
> Well, that said I like Lenny still uses the old scheme "/dev/sdx". At 
> least if it changes, I still understand it better than the new udev 
> naming :-)
> 

I've been changing to labels with squeeze. The up side: it is a hard
designation and can be made unique.

The collisions part is unclear to me. If one plugs into USB a drive from
another machine, won't that just be listed in /dev by sdx, at which point it
can have its fstab edited?

I typo-ed the label for my root partition on my last fstab update but it
mounted anyway as rootfs in mtab.  So I put rootfs in fstab and it has been
working. :-/

-- 
Kind Regards,
Freeman

http://bugs.debian.org/release-critical/


Reply to: