Lines Matching refs:dev
102 echo "$*" > /dev/${MSGDEV}
111 printf "${form}\n" $PROG $DEVICE > /dev/{MSGDEV}
120 printf "${form}\n" $PROG $DEVICE > /dev/${MSGDEV}
165 echo $prompt > /dev/tty
188 # 1) Select only block device files of the form "/dev/dsk/*".
190 # matches: first the fdisk(1M) partitions ("/dev/dsk/cNtNdNpN")
191 # then the format(1M) slices ("/dev/dsk/cNtNdNsN"), in ascending
195 /usr/bin/sed '/^\/dev\/dsk\//!d; s/\([sp]\)\([0-9]*\)$/ \1 \2/;' | \
209 # /dev/dsk/*p0 are mounted as /dev/dsk/*s2
231 dev = devlist[devN];
232 realdevlist[dev] = 1;
233 sub(/.*\//, "", dev);
234 sub(/s[0-9]$/, "", dev);
236 vold_dir[vold_root "/dev/dsk/" dev] = 1;
237 vold_dir[vold_root "/dev/rdsk/" dev] = 1;
243 for (dev in realdevlist) {
244 if ($1 == dev) {
249 for (dev in vold_dir) {
250 if (substr($1, 1, length(dev)) == dev) {
474 FILES=`echo $MAP | cut -f4 -d:` # e.g., /dev/dsk/c0t6d0s0 /dev/dsk/c0t6d0s1 ...
475 DEVFILE=`echo $FILES | cut -f1 -d" "` # e.g., "/dev/dsk/c0t6d0s0"
479 VOLUME_DEVICE=`echo $FILES | cut -f2 -d" "` # e.g., "/dev/dsk/c0t6d0s1"
490 VOLUME_PATH=$DEVFILE # e.g., "/dev/dsk/c0t6d0s0"