*** /media/sda1/pnd_run.sh Fri Jun 25 09:39:52 2010
--- /usr/pandora/scripts/pnd_run.sh Fri Jun 25 09:25:54 2010
***************
*** 16,22 ****
#add options to just mount iso without union and to mount the union later
#cleanup
#Rewrite! - this sucks
!
# parse arguments
TEMP=`getopt -o p:e:a:b:s:m::u::n::x::j:c: -- "$@"`
--- 16,22 ----
#add options to just mount iso without union and to mount the union later
#cleanup
#Rewrite! - this sucks
! cpuspeed=0
# parse arguments
TEMP=`getopt -o p:e:a:b:s:m::u::n::x::j:c: -- "$@"`
***************
*** 170,176 ****
echo "mounting union!"
FILESYSTEM=$(mount | grep "on $MOUNTPOINT " | grep -v rootfs | awk '{print $5}' | tail -n1) #get filesystem appdata is on to determine aufs options
echo "Filesystem is $FILESYSTEM"
! if [ $FILESYSTEM = vfat ]; then # use noplink on fat, dont on other fs's
#append is fucking dirty, need to clean that up
sudo mount -t aufs -o exec,noplink,dirs=$MOUNTPOINT/pandora/appdata/$BASENAME=rw+nolwh:/mnt/pnd/$BASENAME=rr$append none /mnt/utmp/$BASENAME # put union on top
else
--- 170,176 ----
echo "mounting union!"
FILESYSTEM=$(mount | grep "on $MOUNTPOINT " | grep -v rootfs | awk '{print $5}' | tail -n1) #get filesystem appdata is on to determine aufs options
echo "Filesystem is $FILESYSTEM"
! if [ x$FILESYSTEM == xvfat ]; then # use noplink on fat, dont on other fs's
#append is fucking dirty, need to clean that up
sudo mount -t aufs -o exec,noplink,dirs=$MOUNTPOINT/pandora/appdata/$BASENAME=rw+nolwh:/mnt/pnd/$BASENAME=rr$append none /mnt/utmp/$BASENAME # put union on top
else