Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2007 03:07:02 -0800
From:      Yuri <yuri@rawbw.com>
To:        freebsd-hackers@freebsd.org
Subject:   Stale mount on disconnected device: how to delete it?
Message-ID:  <1197889622.4766585626a92@webmail.rawbw.com>

next in thread | raw e-mail | index | archive | help
I had USB camera connected and recognized as umass0 and mounted as /mnt/camera
on /dev/da0s1.

Camera was disconnected while it was still mounted.

Now 'mount' command shows:
/dev/da0s1 on /mnt/camera (msdosfs, local)

'umount /dev/da0s1' command tells that device is not configured correctly.

'umount -f /dev/da0s1' causes the system to hang.

And when I try to reconnect the camera it shows up as /dev/da1s1.

How to delete stale mount and stale device?

Should I file a PR for this system hang?

I use 7.0-BETA4.

Yuri



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1197889622.4766585626a92>