Filing system numbers

From BeebWiki
Revision as of 19:12, 8 March 2015 by WikiSysop (talk | contribs) (1 revision)
Jump to: navigation, search


Each filing system has a unique number that identifies it and allows it to be selected. The following is a list of currently defined filing system numbers.

   0 No current filing system        30 Fax:
   1 1200 baud cassette              31 Z88:
   2 300 baud cassette               32 SCSIDeskFS:
   3 ROM filing system               33 NFS: (UNIX Network FS)
   4 Disk filing system              34 Serial2:
   5 NetFS, (CoProFS)                35 DFSDeskFS:
   6 Telesoftware                    36 DayIBMFS:
   7 IEEE filing system              37 CDFS:
   8 Acorn ADFS                      38 ChipFS:, CFS:, RISCardFS:
   9 Host filing system              39 pcfs:
  
  10 Videodisk filing system         40 BBScanFS:
  11 CoProFS, Acorn WDFS             41 BroadcastLoaderUtils
  12 Acacia RamFS, NetPrint:         42 ChunkFS
  13 Null:                           43 DOSFS:, MSDOSFS:
  14 Printer:                        44 NoRiscFS:
  15 Serial:                         45 Nexus filing system
  16 Harston ADFS                    46 ResourceFS:
  17 Vdu:                            47 PipeFS:
  18 RawVdu:                         48 NexusFilerFS
  19 Kbd:                            49 IDEFS:
  
  20 RawKbd:                         50 CCPrintFS
  21 DeskFS:                         51 VideoDigitiserFS
  22 Computer Concepts RomFS:        52 SoundDigitiserFS
  23 RamFS:                          53 DeviceFS:
  24 RISCiXFS:, UnixFS:              54 Parallel:
  25 Streamer, DigiTape              55 VCMNetFS
  26 SCSIFS:                         56 ArcFS:
  27 Digitiser, TVFS:                57 NexusPrintFS
  28 Scanner, ScanFS:                58 PIA
  29 MultiFS:, Petrov DOSFS          59 RSDosFS
  
  60 dbFS                           118 CacheFS
  66 SparkFS:                       121 MenonFS
  71 BeebItFS:                      123 IZipFS
  86 FontFS:                        128 SPSTFS
  91 Memphis                        134 FastSpool
  96 AddressDevice                  141 BDFS
  99 ShareFS                        142 raFS:
  92 LFS: (65Link)                  145 lprFS
 101 Computer Concepts PrintQueueFS 148 CDRFS
 102 LanMan                         152 ParaFS
 104 OmniPrint                      156 LanMan98
 105 AppleFS                        158 CDROMFS
 111 IOmega ZipFS:, iZipFS:         170 ZIDEFS:
 115 ATAFS:                         205 AudioFS

Reading filing system numbers

The current filing system number is returned by OSARGS 0,0. A filing system can be selected by its number using Service call 18. A filing system number can be converted to its name on ARM systems, using

       SYS "OS_FSControl",33,fsnumber%,buffer,buflen

which returns a null-terminated string in buffer, or "" if not known.

Notes

The filing system number on 8-bit systems must be less than &80, as bit 7 being set is used to indicate that no temporary filing system is available.

CoProFS can be set to any number between 1 and 15 with *OPT 7,num. It defaults to 5 (which clashes with NetFS). It is recommended to make CoProFS use 11 with *OPT 7,11.

HADFS can be set to any number between 5 and 16 with *OPT 2,num. It defaults to 16.

WDFS (filing system 11) appears to be a preliminary allocation by Acorn for the Winchester Disk Filing System before ADFS was designed with hard drive support.

Some documentation lists Acacia RamFS as having filing system number 16. This is incorrect, it is actually 12.

When a DOS disk or partition is opened as an image file, the returned filing system number is 0.

Jgharston 22:13, 1 September 2007 (BST)