Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

IsFileSystem

Returns whether a Dos handler is a filesystem

Declaration

Source position: amigados.pas line 2557

function IsFileSystem(

  const Name: PChar

):LongBool;

Arguments

Name

  

Name of device in question, with trailing ':'.

Function result

Flag to indicate if device is a file system

Description

Returns whether the device is a filesystem or not. A filesystem supports seperate files storing information. It may also support sub-directories, but is not required to. If the filesystem doesn't support this new packet, IsFileSystem() will use Lock(":",...) as an indicator.

DF0:, HD0:, ... are filesystems. CON:, PIPE:, AUX:, ... are not. In AmigaOS if devicename contains no ':' then result is always True. Also volume and assign names return True.

See also

Lock

  

Lock a directory or file


Documentation generated on: 2021-07-30