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

Re: "label=" option in fstab in Debian??? (newbie question)



On Mon, Mar 03, 2003 at 04:55:14PM -0600, Jeff Hahn wrote:
> Woody/testing...
> 
> I like to use the "LABEL=usr /usr" format in fstab so that re-arranging scsi 
> and/or ide drives doesn't necessarily require changes to /etc/fstab.
> 
> I don't recall exactly, but the error message during boot was something 
> like "Special device LABEL=usr not found"
> 
> Any special Debian hints or tricks???

man fstab says:

 Instead of giving the device explicitly, one may indicate the
 (ext2 or xfs) filesystem that is to be mounted by its UUID or
 volume label (cf.  e2label(8)  or xfs_admin(8)),  writing
 LABEL=<label>  or UUID=<uuid>,  e.g., `LABEL=Boot' or
 `UUID=3e6be9de-8139-11d1-9106-a43f08d823a6'.  This will make the
 system more robust: adding or removing a SCSI disk changes the
 disk device name but not the filesys# tem volume label.

So what you do, giving the directory is not correct. It seems that you
can only give the above mentioned.

But I really don't know for sure.

Mark

-- 
Mark Schouten
Alphen aan den Rijn, Holland
debian@jeeves.mine.nu



Reply to: