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

  /src/usr.sbin/mdsetimage/
mdsetimage.c 79 const char *kfile, *fsfile; local in function:main
123 fsfile = argv[1];
160 if ((fsfd = open(fsfile, O_WRONLY|O_CREAT, 0777)) == -1)
161 err(1, "open %s", fsfile);
164 if ((fsfd = open(fsfile, O_RDONLY, 0)) == -1)
165 err(1, "open %s", fsfile);
167 err(1, "fstat %s", fsfile);
169 errx(1, "fs image %s is too big", fsfile);
172 " (%u bytes)", fsfile, (intmax_t) fssb.st_size,
178 fprintf(stderr, "copying image %s %s %s (%zd bytes)\n", fsfile,
    [all...]
mdsetimage.c 79 const char *kfile, *fsfile; local in function:main
123 fsfile = argv[1];
160 if ((fsfd = open(fsfile, O_WRONLY|O_CREAT, 0777)) == -1)
161 err(1, "open %s", fsfile);
164 if ((fsfd = open(fsfile, O_RDONLY, 0)) == -1)
165 err(1, "open %s", fsfile);
167 err(1, "fstat %s", fsfile);
169 errx(1, "fs image %s is too big", fsfile);
172 " (%u bytes)", fsfile, (intmax_t) fssb.st_size,
178 fprintf(stderr, "copying image %s %s %s (%zd bytes)\n", fsfile,
    [all...]

Completed in 58 milliseconds