Messages in this thread | | | From | Oliver Neukum <> | Subject | Re: Of removable devices | Date | Thu, 17 Feb 2000 15:32:24 +0100 |
| |
Am Don, 17 Feb 2000 schrieben Sie: > In <00021622461203.00298@chani> Oliver Neukum (Oliver.Neukum@lrz.uni-muenchen.de) wrote: > > Am Mit, 16 Feb 2000 schrieben Sie: > >> To add my own $0.02 ... <SNIP> > >> This solution works pretty well. > >> It is clean ( IMHO ). > >> Doesn't require extra software. > >> No danger of any corruptions. ( of kernel structures , like when the > >> medium is > >> ejected while still mounted ). > > > The kernel should be able to cope with a dead device, so pulling > > the medium must be survivable. > > You should not be able to pull medium while it in use. This is true for > CD-ROM, ZIP, MO and so on. This is not true only for "normal" floppies. > Let them die.
That is becoming less true. The kernel has support for USB, firewire and PCMCIA. Even so pulling the medium, or even device, isn't much different from a headcrash on a harddisk. The filesystem can no longer be accessed. I happen to think the kernel should survive a device's death unless it holds /.
Oliver Neukum
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |