Subject: Re: Pluged : USBd for NetBSD ?
To: None <tech-kern@netbsd.org>
From: Rui Paulo <rpaulo@netbsd-pt.org>
List: tech-kern
Date: 01/20/2005 18:57:33
On 2005-01-19, Jukka Marin <jmarin@embedtronics.fi> wrote:
> 20 years ago, there was a computer called Amiga.  If you ejected a
> writable removable media (a 3.5" disk, most often :) and there was
> buffered data in RAM, the system would pop up a window telling the
> user to insert the disk again so the buffers could be flushed.

Oh, I feel the nostalgy ;)

> I know this kind of behaviour is no good for a headless server, but I
> kind of miss it on desktop/laptop machines where I am the only person
> using the system and am staring the display some 15-16 hours a day.

Maybe some kind of kernel framework that shows the buffer size not yet
flushed to the disk and a tiny KDE/GNOME/whatever application that shows
a window or pops up in the systray saying "Please plug it back and
don't do it again ?" :) It smells like Windows 2000/XP indeed, but
probably useful to some people. 

Point is, flushing the buffer when the device is plugged in again is PITA. 
Who do you know it hasn't been modified ? 
This seems almost impossible to me.

Regards.

-- 
 Rui Paulo <rpaulo@netbsd-pt.org>        http://www.netbsd-pt.org/users/rpaulo/