Rui-Tao Dong wrote:
>
> I haven't figured out a way to NFS export removable devices. I can't
> NFS export automounted devices (because autofs is basically NFS?) I
> have to restart NFS after I change CDROM, CF card etc, which is really
> inconvenient. Anyone has ideas? (don't tell me to use SMB :-).
>
autofs is *NOT* NFS. There is no reason it shouldn't work, except for
the fact that the NFS daemon needs to know when a filesystem is coming or
going, so it knows if it should be exported or not.
It might be worthwhile to put a hook into the mount modules for that, or
to write a wrapper for mount and umount.
-hpa
--
<[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt