[PC-BSD Commits] r5750 - pcbsd/trunk/system-overlay/usr/PCBSD/portjail

svn at pcbsd.org svn at pcbsd.org
Mon Jan 4 08:26:04 PST 2010


Author: kris
Date: 2010-01-04 08:26:04 -0800 (Mon, 04 Jan 2010)
New Revision: 5750

Modified:
   pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh
Log:

Updated portjail to also nullfs mount /media for other disk access



Modified: pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh
===================================================================
--- pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh	2010-01-04 15:27:06 UTC (rev 5749)
+++ pcbsd/trunk/system-overlay/usr/PCBSD/portjail/portjail.sh	2010-01-04 16:26:04 UTC (rev 5750)
@@ -89,6 +89,7 @@
   echo "hostname=\"$PJHOST\"" >> ${PJDIR}/etc/rc.conf
 
   mount_nullfs /tmp ${PJDIR}/tmp
+  mount_nullfs /media ${PJDIR}/media
   mount_nullfs /usr/home ${PJDIR}/usr/home
   mount -t devfs devfs ${PJDIR}/dev
   mount -t procfs proc ${PJDIR}/proc
@@ -109,6 +110,7 @@
   umount ${PJDIR}/proc
   umount ${PJDIR}/dev
   umount ${PJDIR}/tmp
+  umount ${PJDIR}/media
   umount ${PJDIR}/usr/home
   ifconfig lo1 destroy
 



More information about the Commits mailing list