[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'amigados' (#aros)

IsFileSystem

Returns whether a Dos handler is a filesystem

Declaration

Source position: amigados.pas line 2363

function IsFileSystem(

  const Name: STRPTR

):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: 2017-01-10