Changeset 521677a


Ignore:
Timestamp:
02/10/14 16:01:03 (9 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
dea54da, a71cc41, 7b61db6
Parents:
38c5b57
Message:

When setting up container, only do a single call to "mount"

File:
1 edited

Legend:

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

    r38c5b57 r521677a  
    55MNTSLEEP="sleep 0.3" 
    66 
     7# Grab list of current mounted file-systems 
     8mntOutput="`mount`" 
     9 
    710is_mounted() { 
    811   if [ ! -d "${1}" ] ; then return 1; fi 
    9    sync ; sleep 0.1 
    10    mount | grep -q "on ${1} ("  
     12   echo ${mntOutput} | grep -q "on ${1} (" 
    1113   return $? 
    1214} 
Note: See TracChangeset for help on using the changeset viewer.