WRADFS(1)

NAME
wradfs - write adfs micro diskettes.

SYNOPSIS
wradfs [ -fiFaR ] [ -Dchar ] [ -ttitle ] [ -nname ] [ -bn ] [ -ddirectory ] [ -F ] [ files ]

DESCRIPTION
Wradfs writes a set of files to an adfs diskette.

By default the files are written to the root directory, and the diskette is assumed to be already formatted and initialised to an adfs file structure. Files of the same name are overwritten unless they are marked read-only, in which case confirmation is requested.

The argument -R causes UNIX directory names in the list of arguments to be recursively copied with their contents and subdirectories to the adfs file structure. Without this option directory names are assumed to be errors and cause diagnostics to be printed.

The argument -a causes the amount of free space left on the disc to be displayed after the files have been copied.

The argument -i causes the information already on the diskette to be discarded and a new adfs structure to be created.

The argument -f causes the diskette to be formatted before anything is written. This option implies the -i option. Confirmation is requested before proceeding.

The -F option suppresses confirmation messages and implies an affirmative answer in every case.

The argument -nname causes the disc name to be set to that specified. If this argument is not present a disc name is created from the time and day of initialisation (e.g. 20_54_Fri).

The argument -ttitle causes the title field in the root directory to be set to or replaced by the specified title. If no title is specified the title "Initialised by Unix" is used.

The argument -bnumber causes the boot option to be set or reset to the specified number.

The -d option specifies a directory other than the root directory which is created if necessary to which the files (and subdirectories created by the -R option) are written. The same notation as with adfsls is used to specify directories.

The -Tddd option, with up to 3 hexadecimal digits may be used to specify an ADFS file type other than the default of FFF.

Each file name may be preceded by -lnumber and/or by -enumber. These flags cause the following file and each subsequent file up to the next such flag to have the load or execution address set to the specified hexadecimal number. If no such flags are given the load and execution addresses are set from the modification date of each file and the ADFS file type. If only one of these flags is given, then the other one is taken to be zero.

Fullstops in file or directory names are replaced by minus signs, unless the -Dchar option is specified, which causes the fullstops to be replaced by the specified character instead.

The write bit is not set on files copied from read-only UNIX files.

Filenames longer than 10 characters are truncated.

FILES
/dev/rfdf1024

SEE ALSO
adfscat(1), adfsls(1), adfscp(1), adfsrm(1), msdoscat(1), msdosls(1), wrmsdos(1), msdosrm(1), msdoscp(1), fd(4).