Re: a bug in autofs

From: Andrey R. Urazov (coola@ngs.ru)
Date: Mon Dec 02 2002 - 10:17:30 EST


On Mon, Dec 02, 2002 at 12:39:06AM -0800, Jeremy Fitzhardinge wrote:
> > > What happens if you try to manually mount the cdrom when there's
> > > nothing in the drive?
> > [root@ktulu coola]# en mount -o ro -t iso9660 /dev/cdrom /mnt
> > mount: No medium found
> >
> > with this attempt a new line reading `cdrom: open failed' is appended to
> > the dmesg output
>
> Don't really know about this. Autofs just uses mount to mount the
> filesystem, so whatever happens when you manually mount should also
> happen when you automount. What's "en"? Is this the same mount command
> line as automount execs? What's in your auto.master? Which module are
> you using?
"en" is script changing locale to en_US so that you see message in
English.

auto.master:

# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(8).
/misc /etc/auto.misc --timeout=60

Just tested that the system hangs when the autofs4 module is in use.
autofs (without 4) module does not cause any problems.

What is characteristic is that before the system hangs I get numerous
messages reading `invalid seek on drive /dev/hdc' on my virtual console.

Best regards,
  Andrey Urazov

-- 
F:	When into a room I plunge, I
	Sometimes find some VIOLET FUNGI.
	Then I linger, darkly brooding
	On the poison they're exuding.
		-- The Roguelet's ABC
--
lundi 02 décembre, 2002, 21:05:18 +0600 - Andrey R. Urazov (mailto:coola@ngs.ru)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Dec 07 2002 - 22:00:13 EST