Date: Fri, 21 Jan 2005 05:28:02 -0500 (EST) From: Tom Huppi <thuppi@huppi.com> To: Xian <ml-freebsd-newbies@codepad.net> Cc: freebsd-newbies@freebsd.org Subject: Re: Noob boo boo with samba Message-ID: <Pine.BSF.4.58.0501210516010.71031@nuumen.pair.com> In-Reply-To: <200501211012.17438.ml-freebsd-newbies@codepad.net> References: <20050121025911.A396043D2D@mx1.FreeBSD.org> <Pine.BSF.4.58.0501210403001.71031@nuumen.pair.com> <200501211012.17438.ml-freebsd-newbies@codepad.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Jan 2005, Xian wrote: > On Friday 21 January 2005 09:09, Tom Huppi wrote: > > On Thu, 20 Jan 2005, Ronny Hippler wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > > Hash: SHA1 > > > > > > On Wed, 19 Jan 2005 23:59:12 -0500 (EST), Tom Huppi wrote: > > > >> Well here is a noob sharing his experience. Don't mount a windows > > > >> share in your home dir! Now how do I unmount this shy of rebooting? it > > > >> just keeps giving a device is busy error even from root account. Doh! > > > > > > > >Try 'lsof' to see what processes are using what files. I've not > > > >tried it on a windows share, so YMMV, but it's the best tool > > > > > > Well I wound up rebooting because I am impatient :) I did install lsof > > > for the next time I do something stupid. thanks for the info. > > > > I doubt that what you did is stupid. You just have to do it > > right, and I suspect that you did else it probably wouldn't have > > worked. > > > > The problem you seem to have run across is pretty common. So is > > the solution you choose...you are not the first person to have > > done so...this is one of the few things I actually know for a > > fact to be true :) > > > > Thanks, > > > > - Tom > > > > You can use the -f option on umount, but I wouldn'trecomend this ulless you > are sure your not going to do dammage. More often than not (in my experiance) the -f option is not very effective. I actually don't recall exactly which OS's I've found this to be true on. All of the ones I've used, I think. > I mounted a USB Pen drive over my home dir and everything fell over. It ended > in a kernel panic when I pulled the drive out still mounted. Oops. I suspect that protecting against the disaprerance of a filesystem which is in use would be both difficult to implement, and prone to induce performance penalties. I suspect that a concious trade-off was made on the part of the OS designers, and that is at the root of the extreame difficulty in umounting filesystems at times. 'umass' (which is asssociated with the pen drive I believe) should be different though, I think. In that case I suspect it was simply some sort of bug, and hopefully solved by now. iirc, back in the FreeBSD 2.x timeframe it was actually _expected behavior_ to get a kernel panic if one ejected a mounted floppy. Then folks decided that it was to much of a burdon on us poor newbies and did something about it. Thanks, - Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.58.0501210516010.71031>