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

IsFileSystem

Returns whether a Dos handler is a filesystem

Declaration

Source position: amigados.pas line 1666

function IsFileSystem(

  const name: pCHAR

):LongBool;

function IsFileSystem(

  const name: string

):Boolean;

Arguments

name

  

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

Function result

Flag to indicate if device is a file system

Arguments

name

  

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

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