Changeset f2aa30c


Ignore:
Timestamp:
12/02/13 08:56:34 (13 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
c889302, 58276b9
Parents:
f545e97f
Message:

Mount linprocfs into 10.x PBIs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pbi-manager/pbime/pbimount

    rc085c6b rf2aa30c  
    5454   is_mounted "${pDir}/virtbase/tmp" || $NULLFS /tmp "${pDir}/virtbase/tmp" 
    5555   is_mounted "${pDir}/virtbase/usr/home" || $NULLFS /usr/home "${pDir}/virtbase/usr/home" 
     56 
     57   # Check if we need to mount linprocfs 
     58   if [ -d "${pDir}/virtbase/compat/linux/proc" ] ; then 
     59      is_mounted "${pDir}/virtbase/compat/linux/proc" || mount -t linprocfs linproc "${pDir}/virtbase/compat/linux/proc" 
     60   fi 
     61 
    5662   for i in `ls -d /usr/home/* 2>/dev/null` 
    5763   do 
     
    7682   is_mounted "${pDir}/virtbase/dev" && umount ${pDir}/virtbase/dev 
    7783   is_mounted "${pDir}/virtbase/var/run" && umount ${pDir}/virtbase/var/run 
     84   is_mounted "${pDir}/virtbase/compat/linux/proc" && umount ${pDir}/virtbase/compat/linux/proc 
    7885   is_mounted "${pDir}/virtbase/compat/linux" && umount ${pDir}/virtbase/compat/linux 
    7986   for i in `ls -d ${pDir}/virtbase/usr/home/* 2>/dev/null` 
Note: See TracChangeset for help on using the changeset viewer.