Re: Automounters - more info wanted (was Re: Re: plextor px-708uf: cannot get disk type)
> It seems that the Sun volume mamager performs a dummy mount for
> empty medium and remains quiet until you call "eject cd".
Upon CD/DVD media load Solaris volume manager arranges kind of "bypass"
device entry under /vol and then invokes rmmount. Rmmount analyzes the
media to identify the file system layout and mounts the "bypass" device
entry arranged in previous step under /cdrom/label if it a file system
was in fact found. And that is *all*. Solaris volume manager does not
care if rmmount succeeded or not and in fact remains totally unaware of
the mount point. It does not monitor the device [nor mount point] till
the media eject is requested [regardless if the media was empty or not].
Upon eject the "bypass" device entry is destroyed (ioctl is intercepted
and routed to volume manager). For the reference /vol itself is an NFS
mount point, and volume manager acts as user-land NFS server for it.
/vol is basically just a way to expose "bypass" device entries to the
user-land and no automounting-like activities are going on there.
> Unfortunately this does not help when you like to write multi session
As volume manager is not aware of the mount point, you can simply
'umount /cdrom/label' and proceed with multi-session recording. Works
for DVD multi-sessioning... Well, there is one thing which can ruin
recording, 'volrmmount -i cdrom' issued during recording. A.