[following up to myself, sorry]

Malcolm Beattie writes:
> line. Use another automount daemon over a separate mountpoint with a
> timeout of only a few seconds.

Except the timeout from non-usage of the filesystem will only trigger
automount into unmounting it and the underlying minidisk will still
be linked. automount doesn't provide a hook there, as far as I know.
Darn. Needs thought. It's certainly solvable (e.g. have a daemon
sitting around and looking at the directory of real mountpoints and
doing the unlinks when necessary while avoiding races) but it's not
nice (not sure if autofs creating the mountpoint will trigger a
dnotify event which could be waited for) and probably not as
easy and clean as I'd hoped.

--Malcolm

--
Malcolm Beattie <[EMAIL PROTECTED]>
Linux Technical Consultant
IBM EMEA Enterprise Server Group...
...from home, speaking only for myself

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to