diff options
| author | Paul Saab <ps@FreeBSD.org> | 2000-07-01 11:33:43 +0000 |
|---|---|---|
| committer | Paul Saab <ps@FreeBSD.org> | 2000-07-01 11:33:43 +0000 |
| commit | dd4dddae84da39a8655a6276e2e759c54c0887db (patch) | |
| tree | 5bbcdea9f7fd2d6928f5b4b267b5bda4797fb193 /sbin | |
| parent | 8fae36cc6f62dd0aa9e1a0e683b57d6b7ca6311f (diff) | |
Notes
Diffstat (limited to 'sbin')
| -rw-r--r-- | sbin/newfs/newfs.c | 6 | ||||
| -rw-r--r-- | sbin/newfs_msdos/newfs_msdos.8 | 6 | ||||
| -rw-r--r-- | sbin/pc98/fdisk/fdisk.c | 2 |
3 files changed, 6 insertions, 8 deletions
diff --git a/sbin/newfs/newfs.c b/sbin/newfs/newfs.c index 81dd7a14c67e..cc86950a2500 100644 --- a/sbin/newfs/newfs.c +++ b/sbin/newfs/newfs.c @@ -406,11 +406,9 @@ main(argc, argv) cp = strrchr(special, '/'); if (cp == 0) { /* - * No path prefix; try /dev/r%s then /dev/%s. + * No path prefix; try /dev/%s. */ - (void)sprintf(device, "%sr%s", _PATH_DEV, special); - if (stat(device, &st) == -1) - (void)sprintf(device, "%s%s", _PATH_DEV, special); + (void)sprintf(device, "%s%s", _PATH_DEV, special); special = device; } if (Nflag) { diff --git a/sbin/newfs_msdos/newfs_msdos.8 b/sbin/newfs_msdos/newfs_msdos.8 index 52a157baf189..36182269d163 100644 --- a/sbin/newfs_msdos/newfs_msdos.8 +++ b/sbin/newfs_msdos/newfs_msdos.8 @@ -155,14 +155,14 @@ struct bsxbpb { .Ed .Sh EXAMPLES - newfs_msdos /dev/rwd0s1 + newfs_msdos /dev/ad0s1 -Create a file system, using default parameters, on /dev/rwd0s1. +Create a file system, using default parameters, on /dev/ad0s1. newfs_msdos -f 1440 -L foo fd0 Create a standard 1.44M file system, with volume label "foo", on -/dev/rfd0. +/dev/fd0. .Sh SEE ALSO .Xr disktab 5 , .Xr disklabel 8 , diff --git a/sbin/pc98/fdisk/fdisk.c b/sbin/pc98/fdisk/fdisk.c index 787121d49305..39faadd9cd21 100644 --- a/sbin/pc98/fdisk/fdisk.c +++ b/sbin/pc98/fdisk/fdisk.c @@ -67,7 +67,7 @@ int secsize = 0; /* the sensed sector size */ const char *disk; const char *disks[] = { - "/dev/rad0", "/dev/rwd0", "/dev/rda0", "/dev/rod0", 0 + "/dev/ad0", "/dev/wd0", "/dev/da0", "/dev/od0", 0 }; struct disklabel disklabel; /* disk parameters */ |
