[Bug 890592] Re: Ejecting a CD or DVD manually does not unmount it
Martin Pitt
martin.pitt at ubuntu.com
Fri Feb 3 10:07:43 UTC 2012
The first reason is that our current kernel package seems to have the
"block" module built in now, so the udev rule which is meant to set the
default in-kernel polling value doesn't work:
ACTION=="add", SUBSYSTEM=="module", KERNEL=="block",
ATTR{parameters/events_dfl_poll_msecs}=="0",
ATTR{parameters/events_dfl_poll_msecs}="2000"
This requires a sysctl.d setting now. Will add to udev package.
However, even when I set the polling interval manually, the kernel still
doesn't emit an eject_request uevent, even though it claims to:
$ cat /sys/block/sr0/events
media_change eject_request
I still need to investigate that.
** Package changed: udisks (Ubuntu) => udev (Ubuntu)
** Changed in: udev (Ubuntu)
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/890592
Title:
Ejecting a CD or DVD manually does not unmount it
Status in Nautilus:
Unknown
Status in “udev” package in Ubuntu:
In Progress
Bug description:
PROBLEM
On my laptop, pressing the hardware "eject" button on the DVD drive
will pop out the disc, but it will still be treated as mounted by
Nautilus. If I then put in another disc, it will still think that the
files from the previous disc are there, as though it had not been
ejected. This produces an error when I try to manipulate those files.
I can't access the files from the new disc until I eject the old one
using the button on Nautilus.
HOW TO REPRODUCE
1. Put a CD or DVD in the drive, close it, and let Nautilus mount it.
2. Eject it using the hardware eject key.
3. Put in a new CD or DVD.
EXPECTED BEHAVIOR
Nautilus will know when I ejected a disc.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nautilus 1:3.2.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Tue Nov 15 03:58:34 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111012)
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nautilus
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nautilus/+bug/890592/+subscriptions
More information about the foundations-bugs
mailing list