lkml.org 
[lkml]   [2000]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans