Re: Of removable devices

From: Francis GALIEGUE (francis@mandrakesoft.com)
Date: Tue Feb 15 2000 - 10:50:43 EST


Alexander Viro <viro@math.psu.edu> writes:

>
> > Moreover, this situation is not very different from
> > opening a file on disk and deleting it in another window. The only
> > difference is that it'd be killed if the media is gone.
>
> Yes, it is. Unlinked files are still there, still readable/writable/whatever.
> If you don't know this sort of basic things - pardon me when I'm sceptical
> about your suggestions regarding VFS.
>

A file is backlinked to the fs superblock, isn't it?

> > If well implemented, it needs no bad press, nor it needs press at all.
>
> So where is your patch?
>

No patch. I simply wanted to ask whether it was possible, not "will it
be useful or not" because this is where the discussion has derived now
:(

> > > You missed one important thing: what to do with situation where system CAN
> > > NOT be correctly detached (that is floppy can not be easily ejected). One
> > > such situation is outlined above and it's just simples case ...
> >
> > And it has a simple solution: a forcible kill. After all, it's the
> > users's fault in this case. You know which processes use a file, if
> > this file doesn't exist *and* the device is "sloppy-mounted" and not
> > here -> SIGKILL.
>
> And what about kernel data structures affected by this stuff?
>

Hence my question to know whether it's possible or not...

-- 
fg

# rm *;o o: command not found

- 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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:29 EST