source: trunk/minix/man/man1/dosdir.1@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.2 KB
RevLine 
[9]1.TH DOSDIR 1
2.SH NAME
3dosdir \- list an MS-DOS directory [IBM]
4.SH SYNOPSIS
5\fBdosdir\fR [\fB\-lr\fR] \fIdrive\fR
6.br
7.de FL
8.TP
9\\fB\\$1\\fR
10\\$2
11..
12.de EX
13.TP 20
14\\fB\\$1\\fR
15# \\$2
16..
17.SH OPTIONS
18.FL "\-l" "Long listing"
19.FL "\-r" "Recursively descend and print subdirectories"
20.SH EXAMPLES
21.EX "dosdir \-l A" "List root directory on drive A"
22.EX "dosdir \-r C x/y" "Recursively list directory \fIx/y\fR"
23.EX "dosdir \-r fd1" "List device \fI/dev/fd1\fR"
24.SH DESCRIPTION
25.PP
26.I Dosdir
27reads standard IBM PC diskettes or hard disk partitions in
28\s-2MS-DOS\s+2 format and lists their contents on standard output.
29Directory names should contain slashes to separate components, even though
30\s-2MS-DOS\s+2 uses backslashes.
31The names
32.I dosdir ,
33.I dosread ,
34and
35.I doswrite
36are all links to the same program.
37The program sees which function to perform by seeing how it was called.
38A drive code of
39.I A
40causes the program to use \fI/dev/dosA\fR, for example,
41a link to \fI/dev/fd0\fR.
42Similarly, to have hard disk partition 1 be DOS drive C, \fI/dev/dosC\fR
43could be a link to \fI/dev/hd1\fR, and so on for other drive codes.
44A normal device name may also be used instead of a drive code.
Note: See TracBrowser for help on using the repository browser.