-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 02 Feb 2010 16:12:56 +0000 (UTC) Camaleón <noela...@gmail.com> wrote:
> On Tue, 02 Feb 2010 10:41:46 -0500, Frank McCormick wrote: > > > On Tue, 02 Feb 2010 15:00:41 +0000 (UTC) Camaleón wrote: > > > >> > What is the easiest way to set up Debian to automatically mount > >> > specific devices if they are present, but not cause a boot > >> > failure when they are absent? > >> > >> "man fstab" says that if the <passno> digit is other than zero, > >> "fsck" will try to check that mount point. > > > > > > I have devices (usually flashdrives and or digital cameras) > > that may or may not be present during boot and they don't cause > > boot failure. But I guess you're talking about different devices ?? > > I mean devices listed as static mount points in "/etc/fstab". > Usually, removable media (flash drivers and SD cards) are not > listed there. > > I.e., if your USB drive is listed there and you have something like: > > # <file system> <mount point> <type> <options> <dump> > # <pass> > /dev/sdb1 /data/backup ext3 > acl,user_xattr 1 2 ^ > > Then fsck will try to check that mount point, either is present or > not (or at least that is my understanding after reading "man > fstab") :-) That's not what happens in my case. The boot process simply gives an error that the device does not exist. There is no attempt to fsck the non-existant drive. I gather this is because the system attempts to mount the non-existant drive. > > If you want to avoid auto-checking at all for that specific mount > point, you can put a "0" (zero) in the last column). You'll have to > do the checking manually. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBAgAGBQJLaGGMAAoJEMEDyLTvrVhjwBYH/1PcjiHtF24v4gm2dDS534CQ UJ0H3PjBeIM1Pe2IYSc4s4DCNfCP4qzvign5obVlL/FX64O3CxlhmeZP6NTtDsil UYn1yz4uThzsbql3/Cip6ZhoO5trG4bv38pvmGwW6RTjBzHysRSy5PYITLerITgv f3+p1oM/3nhJUOfawAHU7DtOZ1eglJ/kp/N5ZO6W1XYO+JFqKOsuPTnIDq4yg04J hYAdL+A1ZTgGgRWnZaPLHOJq9c2qu1SdaCfTkuArrYD47EjQcsNciwrcP7lD7cM0 TEtrtFt0L65sFoJkrwoCGML5zc0Ox+0f6kDDA2EBcG5wIJwlnGY/UPORmw0Vxbc= =bQrr -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org