I was actually thinking of something similar, but for floppy disks.
The trick I think is to _not_ mount the filesystem as a normal filesystem,
but instead to
mount it as something else.
The device drivers for "something else" would be need to be aware of the
device (if present) and respond sensibly if the device is not physically
present.
Of course some applications may fail miserably but that's their problem!

The device driver would need to be treated I think something like a sound
driver, where it doesn't make sense to cache the writes if the device's
buffer requests more data (ie sound) (although I need to think about this
aspect).

For desktop use, some sort of indication as to the device's readiness may be
useful (like the changing icons you can get with CDROM present / not
present).

For remote use, one would also need to know as to whether the device was
present or not.

Another thought - what about using the printer spooler (Er yuk, cancel that
thought... NO operating system handles printing nicely!)

Cheers,

Jill.

-- 
Jill Rowling, Snr Des. Eng. & Unix System Administrator
Eng. Systems Dept, Aristocrat Technologies Australia
3rd Floor, 77 Dunning Ave Rosebery NSW 2018
Phone: (02) 9697-4484 Fax: (02) 9663-1412 Email: [EMAIL PROTECTED]
 


> -----Original Message-----
> From: Steve Downing [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 25 September 2001 11:18
> To: [EMAIL PROTECTED]
> Subject: [SLUG] Hotplug and cached Disk writes
> 
> 
> From the wouldn't it be cool if.... Department:
> 
> Is it possible to tell the kernel NOT to cache disk writes to 
> a certain 
> mounted filesystem.  Then if that mount suddenly dissappears, 
> everything 
> has been already written.


----------------------
CONFIDENTIALITY NOTICE
----------------------
This email is intended only to be read or used by the addressee.
The information contained in this e-mail message may be confidential
information. If you are not the intended recipient, any use, interference
with, distribution, disclosure or copying of this material is unauthorised
and prohibited. Confidentiality attached to this communication is not waived
or lost by reason of the mistaken delivery to you.

If you have received this message in error, please delete it and notify us
by return e-mail or telephone Aristocrat Technologies Australia Pty Limited
on +61 2 9413 6300.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to