Messages in this thread | | | From | (Alan Cox) | Subject | Re: Removable media bug | Date | Thu, 29 Apr 1999 19:01:42 +0100 (BST) |
| |
> the disk wasn't ejected. Because the unmounted filesystem can > be changed while unmounted. There are several ways: > > 1. Writing directly to the device, such as "dd of=/dev/fd0" > I don't know, maybe the buffer system catch that one.
We catch that
> 2. Scsi devices may be connected to several machines simultaneously. > unmount at one machine, mount for writing at the other. Then > reverse this. No ejecting, no writing to the device from the > first machine, disk contents still changed.
That is the -least- of your worries here. You need to handle coherency across the bus, resets and the like. That needs direct I/O and stuff
> 3. The diskette device could be hot-swapped without ejecting. > Unlikely but possible.
The PCMCIA code handles that.
Perhaps we shouldnt boot in case the user takes the CPU out while running ?
- 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/
| |