Lines Matching refs:blockDevice
175 char *blockDevice = mtab_getinfo(name, MTAB_GETDEVICE);
177 if (blockDevice && strcmp(blockDevice, name) == 0)
178 name = mtab_getinfo(blockDevice, MTAB_GETMOUNTPT);
183 if (freeLoop == TRUE && blockDevice != NULL && !strncmp("/dev/loop", blockDevice, 9))
185 del_loop(blockDevice);
189 status = umount2(blockDevice, MNT_FORCE);
191 error_msg_and_die("forced umount of %s failed!", blockDevice);
196 status = mount(blockDevice, name, NULL,
199 error_msg("%s busy - remounted read-only", blockDevice);
201 error_msg("Cannot remount %s read-only", blockDevice);