> Condition 3 needs a VFS hook, I believe. Yes, autofs will auto unmount
> after a specific amount of time, but after ejecting the floppy, I can
> still do a 'ls'. The buffer cache should be cleared when it is ejected,
> and I believe the VFS gets this signal. It does when a CD-ROM is
> inserted/ejected for sure. Even if I replace the floppy with another,
> this cache remains intact, which is then just wrong.
>
> Do these changes seem reasonable, and if a VFS change is required,
> possible before the release of kernel 2.4?
>
Not a chance in hell. Putting it in the VFS would slow down *every
access*, even to non-removable devices.
Why would a VFS feature for handling ejection slow things down even
when ejection does not occur?
- Autofs: Need UID & VFS hook, security notice Christopher W. Curtis
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... Christopher W. Curtis
- Re: Autofs: Need UID & VFS hook, security n... Christopher W. Curtis
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... Christopher W. Curtis
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
- Re: Autofs: Need UID & VFS hook, security n... H. Peter Anvin
- Re: Autofs: Need UID & VFS hook, security n... Richard Stallman
