Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Fri, 18 Feb 2000 20:11:14 +0000 (GMT) | Subject | Re: Of removable devices |
| |
Hi,
On Wed, 16 Feb 2000 23:29:17 +0300 (MSK), "Khimenko Victor" <khim@sch57.msk.ru> said:
> this daemon open up dialog and wait for kernel to get message "Ok, > floppy found, you can remove your dialog". Perhaps daemon can notify > kernel as well when "Ok" in dialog clicked to try to search floppies > in different floppy drives (remember: I can have more then one floppy > drive of any type; situiation where you have both CD-ROM and CD-RW is > not unusual, for example). Gosh. PILE OF CHANGES ! Rowork of VFS, > messages flying around, daemons... Is it doable? Absolutely ! Is it > worth it ? Perhaps not. But who knows ?
It's far more complexity than it is worth. The simple, obviously correct approach is just to fail filesystem operations with -EIO on media change until the media is remounted.
--Stephen
- 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/
| |