Lines Matching defs:volume
71 #include "volume.h"
97 char *volume;
134 " -d, --clear-dirty Clear the volume dirty flag\n"
184 if (!opt.volume)
185 opt.volume = argv[optind - 1];
213 if (opt.volume == NULL) {
245 /* Get a pointer to the volume information attribute. */
278 /* Set the volume flags. */
311 ntfs_log_error("Error setting volume flags.\n");
407 * to full size of volume and reset the data size.
1463 /* Allocate the volume structure. */
1490 /* Attach the device to the volume. */
1563 dev = ntfs_device_alloc(opt.volume, 0, &ntfs_device_default_io_ops,
1574 ntfs_log_perror("Failed to startup volume");
1624 if (!ntfs_check_if_mounted(opt.volume, &mnt_flags)) {
1628 "mounted device %s.\n", opt.volume);
1633 opt.volume);
1636 ntfs_log_info("Mounting volume... ");
1637 vol = ntfs_mount(opt.volume, flags);
1649 vol = ntfs_mount(opt.volume, 0);
1677 ntfs_log_error("Error: Failed to set volume dirty flag (%d "
1682 ntfs_log_info("NTFS volume version is %i.%i.\n", vol->major_ver,