On Thu, Aug 14, 2008 at 2:27 PM, wan_jm <[EMAIL PROTECTED]> wrote: > sorry: i have mounted all you ask, but it still doesn't work. > /dev/dsk/c1t0d0s0 4.9G 3.8G 1.1G 78% /secroot > /dev/dsk/c1t0d0s4 39G 2.5G 37G 7% /secroot/var > /etc/mnttab 0K 0K 0K 0% /secroot/etc/mnttab > omp-tmp 4.9G 362M 4.6G 8% /secroot/omp > opt-tmp 4.9G 464M 4.5G 10% /secroot/opt > /omp/omp-data 129G 1.7G 127G 2% /secroot/omp/omp-data > /proc 0K 0K 0K 0% /secroot/proc > /dev 4.9G 3.7G 1.2G 77% /secroot/dev > /devices 0K 0K 0K 0% /secroot/devices > /var/run 8.3G 48K 8.3G 1% /secroot/var/run > fd 0K 0K 0K 0% /secroot/dev/fd > bash-3.00# chroot /secroot /usr/bin/df -b / > df: cannot statvfs /secroot: No such file or directory
The global mnttab in chroot will not be the exact image inside chroot so you will always get some errors. In general df will be confused inside chroot unless a specially crafted static mnttab is setup. This needs some scripting effort. Regards, Moinak. > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org > -- ================================ http://www.belenix.org/ http://moinakg.wordpress.com/ _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org