Re: [PATCH] mount: nofail mount option | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Karel Zak <kzak@xxxxxxxxxx> writes: > On Fri, Jul 13, 2007 at 11:21:23AM +0200, Kay Sievers wrote: >> On 7/12/07, Matthias Koenig <mkoenig@xxxxxxx> wrote: >> >it would be nice to have a mount option "nofail" indicating >> >that mount should not return an error if the device does not >> >exit. This is useful for hotpluggable devices which are configured >> >in fstab and might not exist at boot time. >> >> We should probably ignore failures of a failed mount syscall too? >> The device node may exist, even when there is no kernel device at the >> moment as as some subsystems like md create a bunch of nodes >> unconditionally. > > Yes. It seems mount(2) returns ENXIO, ENOTBLK, ENOENT or ENOTDIR when > something is wrong with source device. > > Please, see updated patch below. Seems to be Ok for me. Matthias - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Site Home] [Netdev] [Ethernet Bridging] [Linux Wireless] [Kernel Newbies] [Memory] [Security] [Linux for Hams] [Netfilter] [Bugtraq] [Rubini] [Photo] [Yosemite] [Yosemite News] [MIPS Linux] [ARM Linux] [Linux RAID] [Linux Admin] [Samba] [Video 4 Linux] [Linux Resources]