Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Dec 2005 16:46:56 -0500
From:      Bob Johnson <fbsdlists@gmail.com>
To:        "Michael P. Soulier" <msoulier@digitaltorque.ca>
Cc:        freebsd-questions@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: kernel panic because I pulled a floppy?
Message-ID:  <54db43990512061346j212fdaabwb270cc4f332a783b@mail.gmail.com>
In-Reply-To: <fb6605670512050537o4aa6d5ebsc3e7f7b1a2831289@mail.gmail.com>
References:  <fb6605670512041432w6e272c20yd5af3d727ada4c5f@mail.gmail.com> <20051205033740.GA31956@xor.obsecurity.org> <fb6605670512050537o4aa6d5ebsc3e7f7b1a2831289@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/5/05, Michael P. Soulier <msoulier@digitaltorque.ca> wrote:
> On 12/4/05, Kris Kennaway <kris@obsecurity.org> wrote:
> > > Is this true? If so, it would be the very first Unix that I've seen
> > > crash from this kind of user-mistake.
> >
> > Turns out it's pretty hard to fix.
>
> Well, all I know is that it does happen on Linux, Solaris... I don't
> recall seeing it on HP-UX...
>
> I've popped floppies on those OSs before without incident when I went
> back to the directory. Luckily it's avoidable, just a little
> disappointing given FreeBSD's rock-solid reputation.
>

My understanding, and it could be completely wrong, is that Linux
distributions usually use something like amd(8) (the automount daemon)
to manage removable devices.  They automount automagically when
inserted, and unmount when they haven't been used for a while, so if
you forget about them and pull them out they are usually not mounted
and don't cause problems.

You might try setting up amd(8) to see if that makes things more robust.

- Bob



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