hal does not clean up after unmount

Sjoerd Simons sjoerd at luon.net
Thu Nov 4 11:25:19 PST 2004


On Thu, Nov 04, 2004 at 02:16:01PM -0500, David Zeuthen wrote:
> On Thu, 2004-11-04 at 10:44 -0800, Igor Pruchanskiy wrote:
> > Couple of days ago i noticed that hald stopped removing old directories from
> > /media and /etc/fstab
> > 
> > After i plug in my camera it creates /media/SONY_MMS and an entry in 
> > /etc/fstab.
> > Unpluggin the camera and plugging it back in creates /media/SONY_MMS1 
> > and fstab entry for it
> > and so on. Same goes for my iPod. /media/usbdisk, /media/usbdisk1, 
> > /media/usbdisk2.
> > You get the idea... Does anyone know how to fix that ?
> > 
> > i am running
> > sid with gnome2 from experimental
> > kernel   2.6.8.1 (2.6.9 is having some weird problems with my ide burner 
> > or /dev/ub/a )
> > hal        0.4.0-1
> > g-v-m   1.0.2-4

> Sounds like something you should report to your distributor; In Fedora
> we use the no-op mount option 'managed' and all entries are cleaned up
> when the haldaemon starts up.

Yeah he should indeed have put that in the debian bts. I'm currently busy with
packaging 0.4.1, which will fix this. As the current mount (both in debian and
upstream) supports comment= entries, we will start using that.

> > This gets written to syslog every 5 seconds with 2.6.9
> > Not related to the question above though.
> > Is my burner dying ?
> > -- snip --
> > Nov  3 18:19:17 solefald kernel: uba: made changed
> > Nov  3 18:19:17 solefald kernel: uba: device 2 capacity nsec 50 bsize 512
> > Nov  3 18:19:17 solefald kernel: uba: device 2 capacity nsec 50 bsize 512
> > Nov  3 18:19:17 solefald kernel:  /dev/ub/a:end_request: I/O error, dev 
> > uba, sector 2
> > Nov  3 18:19:17 solefald kernel: end_request: I/O error, dev uba, sector 4
> > -- snip --
> 
> I tried the ub driver back in August and encountered many problems with
> it (see Red Hat Bug 131234); I'm not sure how much of this is fixed now;
> you might want to use the usb-storage driver instead.

I've heard from various people that they had oopses and hangs with the ub
driver in 2.6.9. So it seems it's not mature yet.

  Sjoerd
-- 
"There are three principal ways to lose money: wine, women, and engineers.
While the first two are more pleasant, the third is by far the more certain."
		-- Baron Rothschild, ca. 1800
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list