summaryrefslogtreecommitdiff
path: root/man/4/dossrv
blob: 5fd2cc3a0200d24b75c4a0d9420915641777b519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
.TH DOSSRV 4
.SH NAME
dossrv, 9660srv \- DOS/Windows and ISO 9660 file systems
.SH SYNOPSIS
.B dossrv
.RB [ \-v ]
.RB [ \-s ]
.RB [ \-F ]
.RB [ \-c ]
[
.BI -f " devicefile"
]
[
.BI -m " mountpoint"
]
[
.BI -S " sectors/track"
]
.PP
.B 9660srv
.RB [ \-rab ]
.I cdfile
.I dir
.SH DESCRIPTION
.I Dossrv
makes the contents of a DOS/Windows file system visible in the Inferno name space.
The options are:
.TP
.B -v
print a debugging trace, including Styx messages, on standard error
.TP
.B -F
display FAT information
.TP
.B -c
display cluster data and I/O activity
.TP
.B -s
standard ouput is connected to a client; serve that
.TP
.BI -f " devicefile"
the DOS/Windows file system image; defaults to
.BR /dev/hd0disk .
.TP
.BI -m " mountpoint"
The directory where the contents of the file system should appear; defaults to
.BR /n/dos .
.TP
.BI -S  " sectors/track"
The number of sectors per track. The default is 9.
.PP
.I 9660srv
performs a similar function for files (notably CDROMs) in ISO9660 format,
including the Rock Ridge extension and its Plan 9 variant.
It makes the contents of
.I cdfile
visible in the name space at
.IR dir .
The options are those of
.IR bind (1):
.BR \-r ,
to replace the contents of
.IR dir ;
.BR \-a ,
to make a union directory with the CD contents after the contents of
.IR dir ;
.BR \-b ,
to make a union directory with the CD contents before the contents of
.IR dir .
.SH SOURCE
.B /appl/cmd/dossrv.b
.br
.B /appl/cmd/9660srv.b
.SH BUGS
.I Dossrv
cannot handle all the FAT32 extensions.