Lines Matching refs:label
8 * This utility will display/change the label on an NTFS partition.
58 char *label; /* Set the label to this */
74 ntfs_log_info("\n%s v%s (libntfs %s) - Display, or set, the label for an "
93 ntfs_log_info("\nUsage: %s [options] device [label]\n"
139 else if (!err && !opts.label)
140 opts.label = argv[optind-1];
210 * print_label - display the current label of a mounted ntfs partition.
211 * @dev: device to read the label from
215 * Print the label of the device @dev.
268 * change_label - change the current label on a device
269 * @dev: device to change the label on
272 * @label: the new label
274 * Change the label on the device @dev to @label.
276 static int change_label(ntfs_volume *vol, unsigned long mnt_flags, char *label, BOOL force)
290 ntfs_log_error("Refusing to change label on "
319 label_len = ntfs_mbstoucs(label, &new_label, 0);
321 ntfs_log_perror("Unable to convert label string to Unicode");
326 ntfs_log_error("New label is too long. Maximum %u characters "
395 if (!opts.label)
404 if (opts.label)
405 result = change_label(vol, mnt_flags, opts.label, opts.force);