https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205873

--- Comment #1 from Sheda <[email protected]> ---
I forgot to show the prestart script:

$ cat /jail/etc/prestart 
#!/bin/sh
set -eux

jname="$1"
cd /jail
for e in $(cd /jail/root; find . -maxdepth 1 -type d ! -name '.' ! -name 'dev'
| sed 's_^./__1'); do
        mount -t unionfs -o below "/jail/root/$e" "$jname/$e"
done

The intent is to use a template to populate the jail but excluding the dev/
directory.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to "[email protected]"

Reply via email to