Searched refs:rawpart (Results 1 - 9 of 9) sorted by relevance

/netbsd-current/lib/libutil/
H A Dgetrawpartition.c44 int rawpart, mib[2]; local
49 varlen = sizeof(rawpart);
50 if (sysctl(mib, 2, &rawpart, &varlen, NULL, (size_t)0) < 0)
53 return (rawpart);
/netbsd-current/distrib/utils/embedded/files/
H A Dresize_disklabel35 local disk rawpart
38 rawpart=$2
40 | sed -ne 's/.*:p'"$rawpart"'#\([0-9]*\):.*/\1/p'
45 local disk rawpart ts rs oldsize newsize
48 rawpart=$(get_rawpart)
71 local disk part rawpart ts rs oldsize newsize
75 rawpart=$(get_rawpart)
78 rs=$(get_rawpart_sectors $disk $rawpart)
/netbsd-current/tests/dev/md/
H A Dt_md.sh28 rawpart=$( set -- a b c d e f g h i j k l m n o p q r s t u v w x y z;
30 rawmd=/dev/rmd0${rawpart}
/netbsd-current/sbin/svhlabel/
H A Dsvhlabel.c70 static int rawpart; variable
84 if (label.d_npartitions <= rawpart)
85 label.d_npartitions = rawpart + 1;
168 if (j == rawpart) {
190 i = rawpart;
326 rawpart = getrawpartition();
327 if (rawpart < 0)
/netbsd-current/usr.sbin/mscdlabel/
H A Dmain.c127 int fd, res, i, j, rawpart; local
172 if ((rawpart = getrawpartition()) == -1)
186 p->p_size = label.d_partitions[rawpart].p_size;
189 if (++j == rawpart)
/netbsd-current/tests/dev/cgd/
H A Dt_cgd.sh28 rawpart=$( set -- a b c d e f g h i j k l m n o p q r s t u v w x y z;
30 rawcgd=/dev/rcgd0${rawpart}
/netbsd-current/sys/arch/sparc/stand/common/
H A Dpromdev.c133 char rawpart[MAX_PROM_PATH]; local
236 strcpy(rawpart, prom_bootdevice);
237 if ((partition = strchr(rawpart, ':')) != NULL &&
243 strcat(rawpart, ":c");
244 if ((disk_pd->fd = prom_open(rawpart)) == 0)
/netbsd-current/sbin/ccdconfig/
H A Dccdconfig.c398 int rawpart; local
409 if ((rawpart = getrawpartition()) < 0)
411 easprintf(&path, "/dev/%s%c", name, 'a' + rawpart);
/netbsd-current/tests/dev/raidframe/
H A Dt_raid.sh29 rawpart=$( set -- a b c d e f g h i j k l m n o p q r s t u v w x y z;
31 rawraid=/dev/rraid0${rawpart}

Completed in 131 milliseconds