Lines Matching refs:device
9 * Clone NTFS data and/or metadata to a sparse file, image, device or stdout.
80 #include "device.h"
96 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */
99 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */
155 int blkdev_out; /* output file is block device */
357 " Efficiently clone NTFS to a sparse file, image, device or standard output.\n"
507 err_printf("You must specify a device file.\n");
568 "block device does not usually "
2140 Printf("Image device size : %lld bytes\n",
2150 static void check_if_mounted(const char *device, unsigned long new_mntflag)
2154 if (ntfs_check_if_mounted(device, &mntflag))
2155 perr_exit("Failed to check '%s' mount state", device);
2160 "You must 'umount' it first.\n", device);
2163 "You must 'umount' it first.\n", device);
2184 Printf("Apparently device '%s' doesn't have a "
2280 * so do binary search to find the size of the device.
2466 err_exit("Couldn't get device size (%lld)!\n",
2469 print_volume_size("Current device size", device_size);
2472 err_exit("Current NTFS volume size is bigger than the device "
2474 "device partitioning?\n", (long long)device_size);
2502 err_exit("Output device is too small (%lld) to fit the "
2591 s64 device_size; /* input device size in bytes */