Lines Matching defs:device
61 char *device; /* Device/File to work with */
99 ntfs_log_info("\nUsage: %s [options] device [label]\n"
148 if (!err && !opts.device)
149 opts.device = argv[optind-1];
216 if (opts.device == NULL) {
218 ntfs_log_error("You must specify a device.\n");
342 * @dev: device to read the label from
343 * @mnt_flags: mount flags of the device or 0 if not mounted
344 * @mnt_point: mount point of the device or NULL
346 * Print the label of the device @dev.
355 "unreliable.\n", opts.device);
367 * change_label - change the current label on a device
368 * @dev: device to change the label on
369 * @mnt_flags: mount flags of the device or 0 if not mounted
370 * @mnt_point: mount point of the device or NULL
373 * Change the label on the device @dev to @label.
429 && !ntfs_check_if_mounted(opts.device, &mnt_flags)
431 ntfs_log_error("Cannot make changes to a mounted device\n");
439 vol = utils_mount_volume(opts.device,