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