Lines Matching defs:device

148 static char	device[MAXPATHLEN];
196 * the device size and block size, we don't know
318 /* The raw-special-device itself. If not, print usage message. */
340 fatal(gettext("%s: not a raw disk device"), name);
342 (void) snprintf(device, sizeof (device), "/dev/rdsk/%s", name);
343 if ((special = getfullrawname(device)) == NULL) {
350 (void) snprintf(device, sizeof (device), "/dev/%s",
352 if ((special = getfullrawname(device)) == NULL) {
359 "%s: not a raw disk device"), name);
365 * device on which the file system will be built. In the case
384 * getdiskbydev() returns the actual size of the device, in
395 * determined as the actual size of the device, see if the
398 * the vtoc and EFI interfaces we use to determine device
406 "device reported by the driver (%lld sectors).\n"
407 "However, a read of the device at the requested size\n"
438 "Warning: ntracks is obsolete for this device and will be ignored.\n"));
441 "Warning: cylinders/group is obsolete for this device and will be ignored.\n"));
444 "Warning: rpm is obsolete for this device and will be ignored.\n"));
447 "Warning: rotational delay is obsolete for this device and"
451 "Warning: number of rotational positions is obsolete for this device and\n"
456 "device and will be ignored.\n"));
727 * device, and also the disk's attributes, such as geometry.
796 * Adjust maxcontig by the device's maxtransfer. If maxtransfer
852 * determining the device's size: see how far out we can
853 * perform reads on the device.
896 * Determine the size of the device by seeing how far we can
900 * the device is greater than a terabyte.
912 * First, see if we can read the device at all, just to
914 * device's size.
947 * We now know that the size of the device is less than
973 * Return 1 if the device appears to be at least "size" sectors long.
998 * read_sb(char * rawdev) - Attempt to read the superblock from a raw device
1030 * to read from a raw device (which we were probably passed).
1065 * Read the UFS file system on the raw device SPECIAL. If it does not
1125 "usage: newfs [ -v ] [ mkfs-options ] raw-special-device\n"));