Lines Matching defs:vol
1046 DiskVolumePtr vol;
1048 vol = (DiskVolumePtr)CFArrayGetValueAtIndex(diskList->list,i);
1049 if (vol->removable
1050 || vol->writable == FALSE
1051 || vol->mounted == TRUE
1052 || vol->dirty == TRUE
1053 || vol->fs_type == NULL
1054 || !(strcmp(vol->fs_type, "hfs") == 0
1055 || strcmp(vol->fs_type, "ufs") == 0)) {
1059 && strcmp(volume_name, vol->disk_name)) {
1064 printf("%s %s\n", vol->disk_dev_name, vol->fs_type);
1066 else if (best_is_internal && vol->internal == FALSE) {
1070 if (best == NULL || vol->size > best->size) {
1071 best_is_internal = vol->internal;
1072 best = vol;
1369 DiskVolumePtr vol = (DiskVolumePtr) DiskVolumes_objectAtIndex(vols, i);
1370 if (!vol) {
1374 if (vol->writable && vol->dirty) {
1385 char *fsckCmd = repairPathForFileSystem(vol->fs_type);
1386 char *rprCmd = repairArgsForFileSystem(vol->fs_type);
1390 snprintf(devpath, sizeof(devpath), "/dev/r%s", vol->disk_dev_name);
1397 dwarning(("*** vol dirty? ***\n"));
1398 vol->dirty = FALSE;
1403 vol->dirty = FALSE;