Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > F

fs_wrapper(5)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

fs_wrapper — configuration and binary files used by file system administration commands

SYNOPSIS

ff [-F FStype] ...

fsck [-F FStype] ...

fsdb [-F FStype] ...

labelit [-F FStype] ...

mkfs [-F FStype] ...

mount [-F FStype] ...

ncheck [-F FStype] ...

newfs [-F FStype] ...

quot [-F FStype] ...

quotacheck [-F FStype] ...

volcopy [-F FStype] ...

DESCRIPTION

The commands listed in the SYNOPSIS can operate on different types of file systems. Each command (except for mount) reads file system specific configuration files that control the command's behavior, and invokes a file system specific binary file to do the actual work. FStype is the file system type as optionally specified on the command line. If FStype is not given, then the file system type is determined from /etc/fstab by matching an entry in this file with a device special provided with the command (see individual commands for details of usage).

Administrators may also define a default file system type for the above commands via the file /etc/default/fs. If this file exists, and contains the line:

LOCAL=FStype

(e.g., LOCAL=hfs), then the above commands will assume the FStype given in /etc/default/fs, unless an FStype is provided on the command line or is in /etc/fstab. The default file system specification is provided to maintain compatibility with pre-10.0 invocations of the commands.

See the FILES section for a list of the files used.

WARNINGS

The configuration files /sbin/lib/mfsconfig.d/FStype are supplied by HP or by other file system vendors. They are not meant to be edited by System Administrators. Corruption or removal of these files may lead to strange behavior, including the inability to boot.

The format of the configuration file is subject to change.

The file system specific binary files are not normally executed directly. However, if the configuration files become unusable, direct execution of these binary files may be a useful step in repairing and running the system again. The binary files accept the same arguments as the commands by which they are executed.

The mount command is a special case. This command currently does not read a configuration file, and does not execute a file system specific binary file if FStype is cdfs, hfs, nfs, or lofs. The binary that handles these FStypes also processes other FStypes and calls the file system specific command if appropriate.

For historical reasons, the hfs binary files also handle nfs and cdfs, so there are no separate binary files for the latter two file systems.

The commands (except mount) will not work if they are renamed, because they are symbolically linked to a single executable (/sbin/fs_wrapper).

FILES

FStype is the file system type as optionally specified on the command line. command is the name of the command.

/sbin/fs/FStype/command

File system specific binary files for the fsck, fsdb, mkfs, mount, and newfs commands. There may be additional file system specific binary files in this directory that are not associated with fs_wrapper.

/usr/lbin/fs/FStype/command

File system specific binary files for the remaining commands. There may also be other file system specific binary files in this directory that are not associated with fs_wrapper.

/sbin/lib/mfsconfig.d/FStype

Configuration files for each file system type.

/etc/default/fs

File in which the default file system type can be defined. If this file does not exist, there is no default file system type.

/etc/fstab

Static information about the file systems

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.