diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-01-05 19:26:27 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2010-01-05 19:26:27 +0000 |
commit | aa3a597d626088d3981afe63fc8ce3fa018ab386 (patch) | |
tree | e94de357decc40fbd55b1d3fe8fec77bf1b03fa5 | |
parent | 7cbd21092e80f26bf3f17bb80ee3f90e57158e7b (diff) |
- replace the mkfs example with a working newfs one, and kill the mkfs Xr
- remove text concerning unsupported character device stuff
- remove text concerning unsupported RXIOC* ioctls
all of this stuff is from miod
-rw-r--r-- | share/man/man4/man4.vax/rx.4 | 73 |
1 files changed, 6 insertions, 67 deletions
diff --git a/share/man/man4/man4.vax/rx.4 b/share/man/man4/man4.vax/rx.4 index d1b69dce46a..86d5c2aeefa 100644 --- a/share/man/man4/man4.vax/rx.4 +++ b/share/man/man4/man4.vax/rx.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rx.4,v 1.12 2010/01/03 18:13:05 schwarze Exp $ +.\" $OpenBSD: rx.4,v 1.13 2010/01/05 19:26:26 jmc Exp $ .\" $NetBSD: rx.4,v 1.3 1996/03/03 17:14:03 thorpej Exp $ .\" .\" Copyright (c) 1983, 1991 Regents of the University of California. @@ -30,7 +30,7 @@ .\" .\" from: @(#)rx.4 6.2 (Berkeley) 3/27/91 .\" -.Dd $Mdocdate: January 3 2010 $ +.Dd $Mdocdate: January 5 2010 $ .Dt RX 4 vax .Os .Sh NAME @@ -108,80 +108,22 @@ When the device is opened, the density of the disk currently in the drive is automatically determined. If there is no floppy in the device, open will fail. .Pp -The interleaving parameters are represented in raw device -names by the letters -.Ql a -through -.Ql d . -Thus, unit 0, drive 0 is -called by one of the following names: -.Bl -column interleavedxx "Device namexx" "Starting Track" -offset indent -.It Sy Mapping Device name Starting track -.It interleaved /dev/rrx0a 0 -.It direct /dev/rrx0b 0 -.It interleaved /dev/rrx0c 1 -.It direct /dev/rrx0d 1 -.El -.Pp -The mapping used on the -.Ql c -device is compatible with the -.Tn DEC -operating system -.Tn RT-11 . -The -.Ql b -device accesses the -sectors of the disk in strictly sequential order. -The -.Ql a -device is the most efficient for disk-to-disk copying. -This mapping is always used by the block device. -.Pp -.Tn I/O -requests must start on a sector boundary, involve an integral -number of complete sectors, and not go off the end of the disk. -.Sh NOTES Even though the storage capacity on a floppy disk is quite small, it is possible to make filesystems on double density disks. -For example, the command +For example, the following command +makes a file system on the double density disk in rx0 with +436 kbytes available for file storage: .Bd -literal -offset indent -% mkfs /dev/rx0 1001 13 1 4096 512 32 0 4 +# newfs /dev/rrx0c -s 1001 -b 4096 -f 512 -c 32 -m 0 .Ed .Pp -makes a file system on the double density disk in rx0 with -436 kbytes available for file storage. Using .Xr tar 1 gives a more efficient utilization of the available space for file storage. Single density diskettes do not provide sufficient storage capacity to hold file systems. -.Pp -A number of -.Xr ioctl 2 -calls apply to the rx devices: -.Bl -tag -width RXIOC_GETDENS -.It Dv RXIOC_FORMAT -Format the diskette. -The density to use is specified by the -.Ar arg -argument, zero gives single density while non-zero -gives double density. -.It Dv RXIOC_GETDENS -Return the density of the diskette (zero or non-zero as above). -.It Dv RXIOC_WDDMK -On the next write, include a -.Em deleted data address mark -in -the header of the first sector. -.It Dv RXIOC_RDDMK -Return non-zero if the last sector read contained a -.Em deleted data address mark -in its header, otherwise -return 0. -.El .Sh FILES .Bl -tag -width /dev/rx?xx -compact .It Pa /dev/rx? @@ -225,10 +167,7 @@ the device .Sh SEE ALSO .Xr intro 4 , .Xr mscpbus 4 , -.\" .Xr arff 8 , -.Xr mkfs 8 , .Xr newfs 8 -.\" .Xr rxformat 8 .Sh HISTORY The .Nm |