Lines Matching defs:device
8 * Clone NTFS data and/or metadata to a sparse file, image, device or stdout.
70 #include "device.h"
85 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */
88 #define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */
112 int blkdev_out; /* output file is block device */
303 " Efficiently clone NTFS to a sparse file, image, device or standard output.\n"
402 err_printf("You must specify a device file.\n");
441 "block device isn't supported!\n");
1367 Printf("Image device size : %lld bytes\n",
1377 static void check_if_mounted(const char *device, unsigned long new_mntflag)
1381 if (ntfs_check_if_mounted(device, &mntflag))
1382 perr_exit("Failed to check '%s' mount state", device);
1387 "You must 'umount' it first.\n", device);
1390 "You must 'umount' it first.\n", device);
1411 Printf("Apparently device '%s' doesn't have a "
1485 * so do binary search to find the size of the device.
1662 err_exit("Couldn't get device size (%lld)!\n", device_size);
1664 print_volume_size("Current device size", device_size);
1667 err_exit("Current NTFS volume size is bigger than the device "
1669 "device partitioning?\n", device_size);
1692 err_exit("Output device is too small (%lld) to fit the "
1816 s64 device_size; /* input device size in bytes */