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

Re: auto-mounting disks that might not be present (e.g. usb drives)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> > >    
> > > The bottom line: There is no problem even if
> > > flashdrives/cameras etc are in fstab but not present- you
> > > simply get the error logged
> > 
> > Well, there is a definite problem in my case (Debian unstable on
> > i386).
> > 
> > Error code 1 on fsck gets an error logged, but doesn't stop the
> > boot process.
> > 
> 
> Definite problem here, too, on my uptodate Sid system, with ext3.
> My fstab has lines like this:
> 
> LABEL=software  /media/software ext3
> defaults,user,exec,noauto       0       0
> 

> Camaleón wrote:


>>Mmm... I think "LABEL" would take precedence over another mount option 
<<(UUID, ID or PATH) so if you "tag" your media device with a LABEL, it 
>>should be mounted when plugged under "/media/mylabel".

  Well Label didn't work in my case either - I gave the USB drive a label
of Music...then changed fstab to the LABEL=Music from /dev/sda1

The drive did not get mounted and I had to go back to /dev/sda1

But as long as /dev/sda1 is used, there is no fsck of the drive.

Cheers

- -- 
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJLaQoHAAoJEMEDyLTvrVhjPzoH+wdfQB1LpTBiran2Rf1A9IRL
SzpIPgXsf0glxaVwT5n1lKnOBUENqInmsnuZe5jNoVrF8aLohdRqFfBwxYX8kFwh
sfz9Rjp8oFr/ASZpgdmyvP2s4tGAeuh/rSNx2hEPJFQiZKpE7mOSmXQ1+6SGMzvq
sIh7yxKcmo8+14+Whc0GdaqCVKej3/aQW+nYkFbmA93Uy2xzkOP8Dox/DFDsFXMJ
NJnbspWbss/XEQTcLn61tKmxwoL3jpxFq5k/ytMFXu1rH7IFDrz5AMYHpG3roxEM
LG9zIEiF0pkflKrfQM1hk+hqdONjO9mtSkBgcyXWLNco3ErmoXyKKp/9Jy4Bvkg=
=bL9P
-----END PGP SIGNATURE-----


Reply to: