h6. [[Programmer's Reference Manuals]] h6(. » [[List of modules]] h6((. » FileSwitch h4. Overview FileSwitch is a module that is at the heart of all filing systems in RISC OS. It provides a common set of functions that is used by all filing systems. It only provides the parts of these services that are device-independent. Any services that are device-specific are not provided by FileSwitch, but by separate modules. h4. Purpose of FileSwitch Using a predefined interface, it notifies filing systems when they must do certain actions. It switches between currently active filing systems and keeps the state of each of them. When filing systems are initialised they inform FileSwitch of three important pieces of information. # Their name # Where to find the routines for controlling the hardware # Special actions that they can perform h4. Adding Filing Systems Filing systems can be added to the Operating System easily by adding the relevant module to the system. As FileSwitch provides much of the common functionality, the filing system modules must provide the remaining functionality. More detailed information on adding a filing system can be found in the [[Writing A Filing System]] section. h4. Data Format The data format of a filing system is not defined by the FileSwitch module. It only specifies what the user interface must look like. h4. Details * [[FileSwitch Technical Details|Technical Details]] * [[FileSwitch Service Calls|Service Calls]] * [[FileSwitch SWI Calls|SWI Calls]] * [[FileSwitch *Commands|*Commands]] h4. See also * [[Writing A Filing System]]