Re: auto-mounting disks that might not be present (e.g. usb drives)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 03 Feb 2010 09:42:40 +1030
Arthur Marsh <arthur.marsh@internode.on.net> wrote:
> >
> > 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.
>
> Upgrading dosfstools past 3.0.1 caused an error code greater than
> 1, which triggers the stop of the boot process.
>
> I don't understand why initscripts tries to fsck a non-existent
> device.
>
> Maybe I should file a bug against initscripts.
>
> I had initially filed a bug against dosfstools but had no response:
>
Very strange -
This is my fstab#
/etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda2 / ext3 errors=remount-ro 0 1
/dev/hda1 none swap sw 0 0
/dev/hda5 none swap sw 0 0
/dev/hdc /media/dvd udf,iso9660 rw,user,noauto,unhide 0 0
/dev/hdd /media/dvd-rom udf,iso9660 rw,user,noauto,unhide 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/hda3 /media/intrepid auto rw,user,auto 0 0
/dev/sda1 /media/FlashDrive vfat rw,user,auto 0 0
/dev/sdb1 /media/camera vfat rw,user,auto 0 0
I'm running testing with dosfstools 3.0.7-1
sda1 is usually plugged in...but the camera usually is not.
- --
Frank
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQEcBAEBAgAGBQJLaLXLAAoJEMEDyLTvrVhjYMQH/2HnvNIaWZCBnT+1bKBOvxry
dk+iJDaKC4PqJ4ZolFyFDTXU5ZWgcCE8Nsi1iNLLv3uwl8nPhRIyBLjksdMk1ewq
Zgn76x+YBpfpan3cy0ATFFKCzrCYIfooofeGIjBilFYQXi1DvpLOOrfiFMJUDOxh
rJH+4h7hjCN7amZsDpm02wAKZ5lv013X8HClkqDSH3lyePmAwE5NHsRGbjqLjZsV
O/rmvwX5SawcTLVQNmRuQZbKqmJSPIK5k5lHBBFSW/+78PwU/CjheUpYfxs+gZFT
QDpIn7NbosYsX6xXE+Uo2N8NCiQgvzCVDjUzofZMO4gIrcWLczPI+Y6vjOktuzA=
=vppa
-----END PGP SIGNATURE-----
Reply to: