> > The only way I could find was to set the mountpoint of the file system > > to legacy, and add it to /etc/vfstab. Here's an example: > > I tried this last night also, after sending the message and I made it > work. Seems clunky though.
Yes, I also would have liked something more streamlined. But since adding entries to vfstab worked I did not pursue if further. > I wonder if there is a technical reason why it has to be done in this order? I can only guess that anything else would have been too complex. The whole sequence seems to have room for improvement. For example in svc:/system/filesystem/root:default there are some checks to mount optimized libc and hwcap libraries, and /usr is mounted, but not the root fs (which I would have expected going by the FMRI name). > More importantly, I wonder if ZFS Boot will re-order this since the > other FS's will all be ZFS. My guess is that the whole thing will be rewritten. > (Actually I wonder what will be left in /etc/vfstab?) Good question. I would think that the file will still be around; it'll have all the non-ZFS mount points, but the root fs will be mounted by ZFS. > > # ZFS legacy mounts: > > SHELOB/var - /var zfs - yes - > > SHELOB/opt - /opt zfs - yes - > > SHELOB/home - /home zfs - yes - > > # > > # -- loopback mount -- begin > > # loopback mount for /usr/local: > > /opt/local - /usr/local lofs - yes ro,nodevices > > /home/cvs - /opt/local/cvs lofs - yes rw,nodevices > > # -- loopback mount -- end > > > > Before I added /home to vfstab, the loopback for /opt/local/cvs would > > fail. > > I'm guessing that /opt/local/cvs is *not* visible as /usr/local/cvs ??? Oh, but it is: <shelob:/usr/local/cvs,3764# pwd /usr/local/cvs <shelob:/usr/local/cvs,3765# ls CVSROOT bbc pkg rjhb vab <shelob:/usr/local/cvs,3766# df . Filesystem kbytes used avail capacity Mounted on SHELOB/home 916586496 74753216 426294318 15% /home <shelob:/usr/local/cvs,3767# mount | egrep 'local|cvs|home' /home on SHELOB/home read/write/setuid/devices/exec/xattr/atime/dev=4010004 on Tue Mar 25 18:45:08 2008 /usr/local on /opt/local read only/setuid/nodevices/dev=4010003 on Tue Mar 25 18:45:08 2008 /opt/local/cvs on /home/cvs read/write/setuid/nodevices/dev=4010004 on Tue Mar 25 18:45:08 2008 :-) Regards -- Volker -- ------------------------------------------------------------------------ Volker A. Brandt Consulting and Support for Sun Solaris Brandt & Brandt Computer GmbH WWW: http://www.bb-c.de/ Am Wiesenpfad 6, 53340 Meckenheim Email: [EMAIL PROTECTED] Handelsregister: Amtsgericht Bonn, HRB 10513 Schuhgröße: 45 Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss