Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstyp(3) — A/UX 3.0.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

statfs(2)

fstypent(3)

getmntent(3)

fs(4)

fstab(4)

fstypes(4)

mtab(4)




fstyp(3) fstyp(3)
NAME fstyp - determines the file-system type SYNOPSIS #include <sys/fstypent.h>
struct fstypent *fstyp(name)
char *name;
DESCRIPTION
fstyp determines the type of the file system associated with
the file name. The file-system types supported on A/UX are
listed in /etc/fstypes (see fstypes(4)).
If the file name is a block or character device and is
readable by the calling process, fstyp attempts to determine
the file-system type by executing (through exec(2)) the
file-system-dependent versions of the fstyp(1) command.
These commands read the file-sytem superblocks and perform
consistency checks on the file-system data. See fs(4).
Otherwise, fstyp uses the information returned by statfs(2).
STATUS MESSAGES AND VALUES
The return value is a pointer to a fstypent structure. If
the file-system type cannot be determined, a null pointer is
returned.
FILES
/etc/fstab
File containing file system table
/etc/fstypes
File containing file system types
/etc/mtab
File containing the mount table
/etc/fs/*/fstyp
File containing a file system type
NOTES
A/UX currently supports System V file systems (SVFS) and
Berkeley Fast File Systems (UFS) as local systems.
SEE ALSO
stat(2), statfs(2), fstypent(3), getmntent(3), fs(4),
fstab(4), fstypes(4), mtab(4)
January 1992 1

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026