Andrew Black wrote:
Is there a way of finding out the status of a particular directory from within a
nonglobal zone.
I would like to find out whether a directory is
 -  inherirted package directory (read only in the zone)
 - zone has its own copy
 - shared with the global zone

Forgive me if I have the wrong terminology - I am new to zones.




_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org


Hi
In the non global zone, you could examine the output from
mount -p

or look at /etc/mnttab

# cat /etc/mnttab
/ / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=dc0087 1181900125
/dev    /dev    lofs    zonedevfs,dev=4640002   1181915583
/lib    /lib    lofs    ro,nodevices,nosub,dev=dc0080   1181915583
/platform /platform lofs ro,nodevices,nosub,dev=dc0080 1181915583
/sbin   /sbin   lofs    ro,nodevices,nosub,dev=dc0080   1181915583
/usr    /usr    lofs    ro,nodevices,nosub,dev=dc0080   1181915583

so /lib, /platform, /sbin and /usr are all lofs mounted ( inherited )

Enda
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to