2 |
- |
1 |
'emelie' is for any Plan 9 machine with supported hardware (excluding
|
|
|
2 |
the SONY jukebox), and will make an object '9emeliefs' and use a 16KB
|
|
|
3 |
block size and 32-bit file sizes. choline is similar, but with
|
|
|
4 |
conf.nfile cranked up.
|
|
|
5 |
|
|
|
6 |
fs uses a 4KB block size and 32-bit file sizes, rereads all blocks
|
|
|
7 |
written to the WORM, and is configured with more `large message'
|
|
|
8 |
buffers than is usual (for gigabit Ethernet). fs64 is similar but
|
|
|
9 |
uses an 8KB block size and 64-bit file sizes, offsets and block
|
|
|
10 |
numbers, and consequently can only serve 9P2000, not 9P1.
|
|
|
11 |
|
|
|
12 |
9netics32.16k is like fs, but uses a 16KB block size and does not
|
|
|
13 |
reread blocks written to the WORM. 9netics64.8k is like fs64, but
|
|
|
14 |
uses an 8KB block size and does not reread blocks written to the WORM.
|
|
|
15 |
|
|
|
16 |
To spin-off a new version to play with, say 'test':
|
|
|
17 |
|
|
|
18 |
cd /sys/src/cmd/cwfs
|
|
|
19 |
mkdir test
|
|
|
20 |
for (f in mkfile dat.h conf.c)
|
|
|
21 |
sed '1s/emelie/test/' emelie/$f >test/$f
|
|
|
22 |
|
|
|
23 |
and hack as appropriate. The primary choices are block size and 32-
|
|
|
24 |
or 64-bit sizes (in dat.h), and various configuration tweaks and
|
|
|
25 |
choice of 9P variants to serve (in conf.c).
|