•  Back 
  •  MagiC's DFS-concept 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : TOS - The Operating System
Author      : 
Version     : tos.hyp (December 19, 2008)
Subject     : Programmieren/Atari
Nodes       : 3010
Index Size  : 93790
HCP-Version : 5
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Title
@help       : 
@options    : +g -i -s +x +zz -t4
@width      : 70
View Ref-File11.5.15.6  Installation of a DFS                                   TOS

A DFS is simply a program that installs the driver and then terminates 
itself as resident. The installation takes place with:
dosfunctions = Dcntl(DFS_INSTDFS, "U:\\", &myxfs);
the path "U:\\" is important, because the Dcntl call is performed not 
by the MagiC kernel, but by the DOS-XFS. The return value will be a 
pointer to important XFS functions, or an error-code.

The DOS_XFS functions can also be inquired for independent of the 
installation of a DFS by using:
dosfunctions = Dcntl(DFS_GETINFO, "U:\\", NULL);
with kernel = Dcntl (KER_GETINFO, NULL, NULL) one obtains the kernel 
functions.

The deinstallation of a DFS is not provided for.