Linux-kernel mailing list archive 2000-07,: Re: Of removable devices

# Re: Of removable devices

Francis GALIEGUE (francis@mandrakesoft.com)
15 Feb 2000 16:50:43 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: willy@thepuffingroup.com: "Re: pa-risc 8500"
- Previous message: Erik Andersen: "Re: Of removable devices"
- In reply to: Alexander Viro: "Re: Of removable devices"

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/

- Next message: willy@thepuffingroup.com: "Re: pa-risc 8500"
- Previous message: Erik Andersen: "Re: Of removable devices"
- In reply to: Alexander Viro: "Re: Of removable devices"