Lines Matching refs:dev
69 dev=$1
74 sig=`dd if=${rdev} bs=512 count=1 2>/dev/null |strings 2>/dev/null | head -1 | awk '{ print $1 }'`
87 dev=$1
96 fs=`fstyp ${dev}s$i 2> /dev/null`
98 mount -o ro ${dev}s$i $tmp 2> /dev/null
111 umount $tmp > /dev/null 2>&1
122 dev=$1
130 fs=`fstyp $rdev 2> /dev/null`
133 mount -o ro -F pcfs ${dev}p$partition $tmp 2> /dev/null
135 2> /dev/null | awk '{ print $3 }' | sed s/\'//`
136 umount $tmp 2> /dev/null 2>&1
144 fs=`fstyp /devices/$device 2> /dev/null`
146 mount -o ro /devices/$device $tmp 2> /dev/null
159 umount $tmp > /dev/null 2>&1
199 for disk in /dev/rdsk/*p0 ; do
204 for id in `fdisk -W - $disk 2> /dev/null | grep -v "^*" | \
206 dev=`echo $disk | sed s#/rdsk/#/dsk/# | sed s/p0$//`
210 grep $ctd /var/run/solaris_grubdisk.map > /dev/null 2> /dev/null
237 7) handle_ifs $dev $rdev $root $gpart ;;
238 11) handle_fat $dev $rdev $root $gpart ;;
239 12) handle_fat $dev $rdev $root $gpart ;;
240 18) handle_diag $dev $rdev $root $gpart ;;
241 23) handle_ifs $dev $rdev $root $gpart ;;
243 130) handle_solaris $dev $rdev $root $gpart ;;
244 190) handle_x86boot $dev $rdev $root $gpart ;;
245 191) handle_solaris $dev $rdev $root $gpart ;;
246 222) handle_diag $dev $rdev $root $gpart ;;