Christoph Hellwig wrote:

On Mon, Nov 21, 2005 at 07:36:25PM +0530, Moinak Ghosh wrote:
 It does. Just try a latest 2.6 kernel which has subfs.

There's no subfs in a latest 2.6 kernel.  I looked up what subfs is,
and it's a stackable filesystem that is mounted to a mount pointed at
boot time, and then mounts an underlying filesystem on access + a daemon
that umounts it once it's unused again.  I don't see that it uses any
special care to unlock the door of a mounted cdrom, it just keeps it's
usage time down.  If you are really keen on this behaviour you could
write a similar filesystem for solaris or try to trick autofs into
this scenario.  In general I'd advice against it because it's a really
stupid idea.
To do the auto-unmount on eject for Solaris would require changes to vold (See the other post by Frank Hoffman). But as you say unmount on unuse looks odd. Rather it should be unmount
  (if possible) on eject.

Regards,
Moinak.

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to