\begin{Steve Downing}
> >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.

see the "sync" mount option (mount(8))

the kernel will still have "issues" if you rip out the medium from
under it. better in this case would be something like "vold" (cue for
all solaris users to shudder) or use an automounter with a very short
timeout (a few seconds). when the disk is unmounted, it is flushed
back first (obviously), so you don't need to use "sync" with these
mounts.

-- 
 - Gus

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

Reply via email to