Lines Matching defs:output
155 int blkdev_out; /* output file is block device */
166 char *output;
357 " Efficiently clone NTFS to a sparse file, image, device or standard output.\n"
359 " -o, --output FILE Clone NTFS to the non-existent FILE\n"
372 " --full-logfile Include the full logfile in metadata output\n"
379 " If FILE is '-' then send the image to the standard output. If SOURCE is '-'\n"
413 { "output", required_argument, NULL, 'o' },
470 if (opt.output)
472 opt.output = optarg;
498 if (!opt.no_action && (opt.output == NULL)) {
499 err_printf("You must specify an output file.\n");
503 if (!opt.no_action && (strcmp(opt.output, "-") == 0))
539 if (opt.no_action && opt.output)
540 err_exit("A restoring test requires not defining any output!\n");
545 BOOL blkdev = opt.output[0] && (opt.output[1] == ':')
546 && !opt.output[2];
548 if (!blkdev && (stat(opt.output, &st) == -1)) {
550 if (stat(opt.output, &st) == -1) {
553 perr_exit("Couldn't access '%s'", opt.output);
558 " replace its content.\n", opt.output);
892 perr_exit("lseek output");
2321 "Creating sparse output file ...\n");
2330 perr_printf("ftruncate failed for file '%s'", opt.output);
2366 Printf("Failed to reset the output file.\n");
2373 Printf("Failed to reset the output file.\n");
2506 check_if_mounted(opt.output, 0);
2642 stream_out = fopen(opt.output,BINWMODE);
2645 opt.output);
2650 dev_out = ntfs_device_alloc(opt.output, 0,
2655 opt.output);
2659 && ((fd_out = open(opt.output, flags,
2662 opt.output);
2719 opt.volume = opt.output;