Lines Matching refs:tmp
92 tmp=/tmp/mnt$$
93 mkdir $tmp
98 mount -o ro ${dev}s$i $tmp 2> /dev/null
103 if [ -f $tmp/etc/release ] ; then
104 if [ ! -f $tmp/platform/i86pc/multiboot ] &&
105 [ -f $tmp/boot/solaris/boot.bin ] ; then
106 release=`head -1 $tmp/etc/release | \
111 umount $tmp > /dev/null 2>&1
115 rmdir $tmp
127 tmp=/tmp/mnt$$
128 mkdir $tmp
133 mount -o ro -F pcfs ${dev}p$partition $tmp 2> /dev/null
134 device=`grep "^setprop bootpath " $tmp/solaris/bootenv.rc \
136 umount $tmp 2> /dev/null 2>&1
140 rmdir $tmp
146 mount -o ro /devices/$device $tmp 2> /dev/null
151 if [ -f $tmp/etc/release ] ; then
152 if [ ! -f $tmp/platform/i86pc/multiboot ] &&
153 [ -f $tmp/boot/solaris/boot.bin ] ; then
154 release=`head -1 $tmp/etc/release | \
159 umount $tmp > /dev/null 2>&1
162 rmdir $tmp