Unit 'AmigaDOS' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

Format

Initialise a filesystem for use by the system.

Declaration

Source position: amigados.pas line 2110

function Format(

  filesystem: PChar;

  volumename: PChar;

  dostype: Cardinal

):LongBool;

Arguments

filesystem

  

Name of the device to format.

volumename

  

The name you wish the volume to be called.

dostype

  

The DOS type you wish on the disk.

Function result

<> 0 if the format was successful, 0 otherwise.

Description

This instructs a filesystem to write out the data that it uses to describe the device. The device should already have been formatted.


Documentation generated on: 2021-07-30