Home | History | Annotate | Download | only in newfs_ext2fs

Lines Matching defs:special

23  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
129 char *s1, *s2, *special;
225 special = argv[0];
244 fsi = open(special, fl, 0777);
246 err(EXIT_FAILURE, "can't open file %s", special);
248 err(EXIT_FAILURE, "can't fstat opened %s", special);
252 fsi = opendisk(special, O_RDONLY, device, sizeof(device), 0);
253 special = device;
255 err(EXIT_FAILURE, "%s: open for read", special);
258 fso = open(special, O_WRONLY, 0);
261 "%s: open for write", special);
263 /* Bail if target special is mounted */
266 err(EXIT_FAILURE, "%s: getmntinfo", special);
269 s1 = special;
283 special, mp->f_mntonname);
288 if (getdiskinfo(special, fsi, disktype, &geo, &dkw) == -1)
289 errx(EXIT_FAILURE, lmsg, special);
300 "%s partition is unavailable", special);
307 special, "Linux Ext2");
328 fssize, special, dkw.dkw_size);
333 err(1, "can't ftruncate %s to %" PRId64, special, fssize);
342 warn("can't fstatvfs `%s'", special);
354 special, bufrem, bufsize);
393 mke2fs(special, fsi, fso);
480 "usage: %s [ fsoptions ] special-device\n", getprogname());