Re: ENOMEDIUM?

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

 



On Thu, Nov 13, 2008 at 07:28:52PM -0800, Ken Arromdee wrote:
> Hi...
> 
> I had a problem with "mount" not waiting for the drive to recognize a DVD.
> Someone on a local mailing list pointed me to a patch from this list
> (http://osdir.com/ml/linux.utilities.util-linux-ng/2008-06/msg00008.html).
> I applied it and it worked.
> 
> So I'd like to suggest that some variation on this patch be included in the
> next version of mount (it wasn't).

 Already in GIT:

 commit d50c5917f07a0674e4e48a19d6902d17fb43e5bc
 Author: Matthias Koenig <mkoenig@xxxxxxx>
 Date:   Mon Jun 9 16:38:25 2008 +0200

 http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=d50c5917f07a0674e4e48a19d6902d17fb43e5bc

> The patch itself has one problem: If you specify mounting with a file system
> type of "auto", and the drive still is in the process of recognizing the
> disk, it won't work--it immediately returns and says "mount: you must specify
> the filesystem type".  It should wait to detect the file system type just
> like it waits to do the mount.

 I guess you have mount(8) linked against libblkid. The library does
 not use this ENOMEDIUM optimization (yet).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
--
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

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux