Bug#217255: problems with umount and nautilus
Sven Luther
Sven Luther <sven.luther@wanadoo.fr>, 217255@bugs.debian.org
Wed, 12 Nov 2003 19:13:54 +0100
On Wed, Nov 12, 2003 at 07:09:58PM +0100, Sebastien Bacher wrote:
> Sven Luther <sven.luther@wanadoo.fr> writes:
>
> >> > Nautilus doesn't use fam for read-only media.
> >>
> >> Yes, according to the upstreams.
> >
> > Which may or may not be true.
>
> Yes, but I think this part is ok. Upstreams say that works and in the
> code :
>
> /*
> * Don't monitor URIs on a read-only volume.
> * This is a hack to avoid FAM keeping open fds to CD-ROMs,
> * causing unmount/eject to fail.
> */
>
> (in libnautilus-private/nautilus-monitor.c)
Ok.
> > Another data point. I have latin1 french locale. Probably Matthieu
> > Baechler has too.
>
> my locales are LANG=fr_FR.ISO-8859-15 and LC_ALL=fr_FR@euro
Ok.
> > How do i check that. lsof | grep scd0 doesn't show anything, and lsof
> > shows _loads_ of stuff. What do i have to look for ?
>
> "lsof | grep cdrom" with root (cdrom is a part of the mountpoint, not of
> the device)
Yields nothing, and /dev/scd0 is mounted as /cdrom. But umount /cdrom
dies with :
umount: /cdrom: device is busy
umount: /cdrom: device is busy
> > Try enabling the ide-scsi emulation for your cdrom drive, and we will
> > know.
>
> I've a cd-writer with ide-scsi module here, it works fine with it
> ... any other idea ?
Nope. I could send you a dpkg -l output or something, or even give you
access to my box.
Friendly,
Sven Luther