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