Ignore:
Timestamp:
04/17/13 08:09:04 (2 years ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.1-release, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1, releng/10.1.1
Children:
89ee0d8, 5cb55b5
Parents:
29c3581
Message:

Add support to warden CLI for editing and using a custom 'fstab'
for each jail. Will allow us to setup nullfs mounts, among others

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/warden/scripts/backend/startjail.sh

    r1620346 re50ac20  
    140140 
    141141  if [ -e "${JMETADIR}/jail-portjail" ] ; then mountjailxfs ${JAILNAME} ; fi 
     142fi 
     143 
     144# Check for user-supplied mounts 
     145if [ -e "${JMETADIR}/fstab" ] ; then 
     146   echo "Mounting user-supplied file-systems" 
     147   mount -a -F ${JMETADIR}/fstab 
    142148fi 
    143149 
Note: See TracChangeset for help on using the changeset viewer.