Date: Mon, 17 Dec 2007 15:26:33 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org> To: freebsd-hackers@freebsd.org Cc: Yuri <yuri@rawbw.com> Subject: Re: Stale mount on disconnected device: how to delete it? Message-ID: <20071217142633.GA18284@marvin.blogreen.org> 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
[-- Attachment #1 --] Hi On Mon, Dec 17, 2007 at 03:07:02AM -0800, Yuri wrote : > 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. Personal recipe when this kind of things happens (generally caused by a camera switching to power-save mode or that runs out of battery): - switch to single user mode - unmount everything that can be unmounted - remount ro everything that can't be unmounted - reboot (and generally enjoy a kernel panic ;-) ) Not suited for critical production servers, but you won't connect a camera on such a system, would you? BTW, their are already a couple PR around there: http://www.freebsd.org/cgi/query-pr-summary.cgi?text=umount Regards, Romain -- Romain Tartière <romain@blogreen.org> http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHZocZ2OmjP/9W/0MRAgheAJ4g03coUV7d8uFMUqn3qEyGHO8KcACfV1q0 dedKxfRaTPpG2J7SQgKRuBA= =IAOo -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071217142633.GA18284>
