Date: Mon, 17 Dec 2007 10:32:48 -0800 From: Yuri <yuri@rawbw.com> To: Yuri <yuri@rawbw.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Stale mount on disconnected device: how to delete it? Message-ID: <1197916368.4766c0d0db6a8@webmail.rawbw.com> In-Reply-To: <1197889622.4766585626a92@webmail.rawbw.com> References: <1197889622.4766585626a92@webmail.rawbw.com>
next in thread | previous 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. I submitted this late at night. Now in the morning another solution came to my mind. I thought I will find it in replies but I didn't. In case of USB device (which device in question in this problem happens to be) usbd can be used to mount it. If attach/detach events trigger mount/unmount commands this problem shouldn't exist. I didn't try though. Otherwise for non-USB devices this situation probably can only happen in case of failing devices. Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1197916368.4766c0d0db6a8>