xref: /netbsd-src/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/native/Howto (revision 70f7362772ba52b749c976fb5e86e39a8b2c9afc)
1Running unixfs
2--------------
3
4NOTE: This version allows writes only to files/dirs with
5world write permission.
6
7This directory contains all the files for unixfs.
8
9unixfs_res	unixfs module
10Killunixfs	kills the unixfs module
11OpenRoot	opens a filer window on the mounted filesystem
12Howto		this file.
13mountufs	utility to mount partition
14
15There are also several obey files containing commands to mount various
16FFS partitions e.g.
17
18wd0a	- first IDE disc partition A (typically /)
19wd0e	- first IDE disc partition E (typically /usr)
20
21These obey files use the mountufs utility. Depending on what controller
22your IDE discs are attached to you may need to edit these files.
23
24Once a partition has been mounted the obey file OpenRoot can be
25use to open a filer window on the mounted partition.
26
27To remove unixfs run the Killunixfs obey file.
28
29The mountufs utility
30--------------------
31
32The mountufs utility simplifies the mounting of a harddisc partition
33via unixfs. mountufs takes two arguments, the RISCOS filesystem and
34the device e.g.
35
36mountufs ADFS wd0a
37
38The mountufs command will lookup the SWI base for the specified
39filesystem and will use the unit number and partition from the
40device to formulate the correct combined SWI for the unixfs_mount
41command.
42
43The unixfs_mount command
44------------------------
45
46A partition is mounted using the command unixfs_mount xxxxx where
47xxxxx is the combined SWI, drive and partition number in hex
48This number can be calculated as follows
49
50SWI base + (drive * 8) + partition
51
52For example partition e on the first IDE disc on the internal IDE
53controller (ADFS::4) would be
54
5540240 + (4 * 8) + 4 = 40264
56
57
58SWI bases
59
6040240	ADFS (Acorn)
6141FC0	IDEFS (ICS)
6240980	SCSIFS (Various)
634BBC0	ATAFS (Yellowstone)
64