Matthew Dillon wrote:
:server:/pbulk on /pbulk        nfs
:/dev/ad6s1b on /pbulk2 ufs
:/pbulk2/root on /pbulk/root    null
:/pbulk2/clients on /pbulk/clients      null
:/pbulk/root on /pbulk/clients/subdir/root      null,ro
:/pbulk/clients/subdir/var on /pbulk/clients/subdir/root/var    null
:/pbulk/clients/subdir/tmp on /pbulk/clients/subdir/root/tmp    null
:/pbulk/clients/subdir/dev on /pbulk/clients/subdir/root/dev    null
:/pbulk/clients/subdir/usr.pkg on /pbulk/clients/subdir/root/usr/pkg    null

    Do you still have the shell script?

    Also clarification:  The panic occured while you were doing the mounts,
    not while it was doing a build or running utilities or other things
    inside the mounts?

Nothing.  I was setting up the chroot for use.  The shell script did exactly 
these steps:

cat init_client.sh
#!/bin/sh

client=$1

cd "$client"
mount -t null -o ro /pbulk/root root
mount -t null var root/var
mount -t null tmp root/tmp
mount -t null dev root/dev
mount -t null usr.pkg root/usr/pkg
mount -t null /pbulk/scratch root/pbulk/scratch
mount -t null /pbulk/packages root/pbulk/packages
mount -t null /pbulk/distfiles root/pbulk/distfiles
mount -t null /pbulk/bulklog root/pbulk/bulklog
mount -t null -o ro /pbulk/pkgsrc root/usr/pkgsrc

the /pbulk, /pbulk2, /pbulk/root, /pbulk/clients mounts were done manually 
before.

cheers
 simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Reply via email to