HomeSort by: relevance | last modified time | path
    Searched defs:disk_file (Results 1 - 2 of 2) sorted by relevancy

  /src/sbin/fdisk/
fdisk.c 211 static char *disk_file = NULL; variable
492 case 'r': /* read data from disk_file (not raw disk) */
495 case 'w': /* write data to disk_file */
496 disk_file = optarg;
2492 int flags = update && disk_file == NULL ? O_RDWR : O_RDONLY;
2517 if (disk_file != NULL) {
2519 wfd = open(disk_file, update ? O_RDWR|O_CREAT : O_RDONLY, 0777);
2521 warn("%s", disk_file);
fdisk.c 211 static char *disk_file = NULL; variable
492 case 'r': /* read data from disk_file (not raw disk) */
495 case 'w': /* write data to disk_file */
496 disk_file = optarg;
2492 int flags = update && disk_file == NULL ? O_RDWR : O_RDONLY;
2517 if (disk_file != NULL) {
2519 wfd = open(disk_file, update ? O_RDWR|O_CREAT : O_RDONLY, 0777);
2521 warn("%s", disk_file);

Completed in 47 milliseconds