file system

Gives the file system of a path.

file system NAME

Description

Gives a list of the kind of the file system and its name. In ztcl it is native root for each path.

Arguments

ArgumentTypeDefaultDescription
NAMEpathrequiredThe path.

Returns

A list of two words.

Examples

% file system n.txt
native root

Errors

Each path gives native root. ztcl does not check the count of arguments of this subcommand (issue 688).

Differences from Tcl

Facts

Capability
file. A new interpreter does not have it until the host turns it on.
Tcl release
Tcl 9.1 and 8.6.
Since
ztcl 1.0.0-beta.1

See also