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