feb6d6f0a3
with the -s flag, we should read 9P messages from standard *INPUT* (fd 0) and write responses to standard *OUTPUT* (fd 1). before these servers where reading from fd 1, assuming they where both the same files.
77 lines
982 B
Plaintext
77 lines
982 B
Plaintext
.TH HJFS 4
|
|
.SH NAME
|
|
hjfs \- file server
|
|
.SH SYNOPSIS
|
|
.B hjfs
|
|
[
|
|
.B -A
|
|
] [
|
|
.B -f
|
|
.I file
|
|
] [
|
|
.B -m
|
|
.I mem
|
|
] [
|
|
.B -n
|
|
.I name
|
|
] [
|
|
.B -a
|
|
.I announce-string
|
|
] ... [
|
|
-r
|
|
] [
|
|
.B -S
|
|
] [
|
|
.B -s
|
|
]
|
|
.SH DESCRIPTION
|
|
.I Hjfs
|
|
is an experimental file server with support for a cache and an archival dump on a single partition.
|
|
.PP
|
|
The options are:
|
|
.TF "n name"
|
|
.TP
|
|
.BI -A
|
|
Require auth.
|
|
.TP
|
|
.BI "-f " file
|
|
Use
|
|
.I file
|
|
as the disk.
|
|
.TP
|
|
.BI "-m " mem
|
|
Allocate
|
|
.I mem
|
|
megabytes to use for cache.
|
|
.TP
|
|
.BI "-n " name
|
|
Use
|
|
.I name
|
|
as the name of the service.
|
|
.TP
|
|
.BI "-a " announce-string
|
|
will announce and listen on the specified network address.
|
|
.TP
|
|
.B -r
|
|
Ream the file system, erasing all of the old data.
|
|
.TP
|
|
.B -S
|
|
Ignore permissions.
|
|
.TP
|
|
.B -s
|
|
Read and write protocol messages on standard file descriptors zero and one.
|
|
.PD
|
|
.SH SOURCE
|
|
.B /sys/src/cmd/hjfs
|
|
.SH "SEE ALSO"
|
|
.IR history (1),
|
|
.IR yesterday (1),
|
|
.IR cwfs (4),
|
|
.IR hjfs (8),
|
|
.IR prep (8),
|
|
.IR sd (3)
|
|
.SH BUGS
|
|
.LP
|
|
.I Hjfs
|
|
is a work in progress.
|