Stephen Quintero wrote:
>I am new to Solaris and am trying to replicate this
setup. To test, I have:
>
>1. commented out the root remount in fs-usr
>2. included "ps::sysinit:/lib/svc/bin/pre_smf
>/dev/msglog 2<>/dev/msglog" in /etc/inittab
as indicated
>3. created a simple /lib/svc/bin/pre_smf:
>
> mount -F tmpfs swap /tmp
> mkdir -m 0777 /tmp/root
> cd /
> find sbin -depth -print | cpio -pdm /tmp/root
> mount -m -F lofs /tmp/root/sbin /sbin
> find devices dev -depth -print | cpio -pdm
/tmp
> mount -m -F lofs /tmp/devices /devices
> mount -m -F lofs /tmp/dev /dev
>
>(Yes it is insufficient, but if this bit does not work,
then...)
>
>The files are copied properly, but the output from the
mount commands is:
>
>mount: /tmp/root/sbin: Device busy
>mount: /tmp/devices: Device busy
>mount: /tmp/dev: Device busy
>
>So, I have missed something.
>
>Any advice would be appreciated.
>
>
Can you replicate this problem on a normal system and use
dtrace to find out where the error comes from?
Darren
_______________________________________________
appliances-discuss mailing list
appliances-discuss opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/appl
iances-discuss
|