Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
Ext2srv Version 0.2
2
----------------
3
 
4
Ext2srv is a file server that interprets EXT2 file systems. Ext2srv is identical
5
to dossrv in specification. 
6
 
7
I added just one option. By default ext2srv search for the first ext2 partition
8
on the device (typically a disk) given by the mount spec option (see bind(1)).
9
So, if you have different ext2 partitions on the same disk you can select one 
10
of them by adding the partition number at the end of the device in the mount
11
system call. For example 
12
 
13
	mount -c /srv/ext2 /n/linux /dev/hd1disk:3
14
 
15
forces the server to look for ext2 filesystem on the third partition of your second
16
hard drive.
17
 
18
 
19
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
20
 
21
	Ext2srv uses some cache. So you must unmount the directory where you 
22
	mount your ext2 partition. It's the only way to synchronise dirty buffers
23
	with the disk. 
24
 
25
	Don't reboot your terminal (^t^t r) without explicitly unmount.
26
 
27
	Using something like this script is recommended :
28
 
29
		#!/bin/rc
30
 
31
		unmount /n/linux >[2] /dev/null
32
		unmount /n/linux2 >[2] /dev/null
33
		disk/kfscmd halt
34
 
35
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING 
36
 
37
 
38
I provide this software `as is' and without any warranty. Feed back are welcome !!!
39
 
40
bl@mime.univ-paris8.fr
41
 
42
changes 5/17/2000 - threw away partition table
43
walking, fixed name_len (it's a uchar not a ushort).
44
 
45
-rsc
46
 
47
changes for 4th edition 13 May 2002 - miller@hamnavoe.demon.co.uk
48
 - adapted for 9P2000
49
 - added [-p passwd] [-g group] args as in tapefs(4)
50
 - create makes files with user and group of parent directory (not 100/200)
51
 - prevent writing to non-regular files
52
 - correct calculation of group descriptor block location when bsize!=1024
53