Lines Matching defs:path
63 * Is the specified path mounted?
73 _dev_mounted(char *path)
85 if ((cn = (char *)volmgt_getfullrawname(path)) == NULL) {
135 _dev_unmount(char *path)
139 char *spcl = NULL; /* special dev. path */
149 if ((bn = (char *)volmgt_getfullblkname(path)) == NULL) {
172 /* the block path is rooted in /vol */
374 vol_basename(char *path)
380 if (strcmp(path, "/") == 0) {
381 return (path);
385 if ((cp = strrchr(path, '/')) == NULL) {
387 return (path);
396 while (cp != path) {
403 return (path);
410 get_media_info(char *path, char **mtypep, int *mnump, char **spclp)
426 if ((cn = volmgt_getfullrawname(path)) == NULL) {
481 mnt_dir = mnt.mnt_mountp; /* save dir path */
578 /* create a child to unmount the path */