Example; Context-Dependent Path Names; Usage - Red Hat GFS 6.0 Administrator's Manual

Hide thumbs Also See for GFS 6.0:
Table of Contents

Advertisement

110
-y
The
flag causes all questions to be answered with
-y
does not prompt you for an answer before making changes.
BlockDevice
Specifies the block device where the GFS file system resides.

9.12.2. Example

In this example, the GFS file system residing on block device
queries to repair are automatically answered with
gfs_fsck -y /dev/pool/pool0

9.13. Context-Dependent Path Names

Context-Dependent Path Names (CDPNs) allow symbolic links to be created that point to variable
destination files or directories. The variables are resolved to real files or directories each time an
application follows the link. The resolved value of the link depends on the node or user following the
link.
CDPN variables can be used in any path name, not just with symbolic links. However, the CDPN
variable name cannot be combined with other characters to form an actual directory or file name. The
CDPN variable must be used alone as one segment of a complete path.

9.13.1. Usage

For a Normal Symbolic Link
ln
Target LinkName
-s
Target
Specifies an existing file or directory on a file system.
LinkName
Specifies a name to represent the real file or directory on the other end of the link.
For a Variable Symbolic Link
ln
Variable LinkName
-s
Variable
Specifies a special reserved name from a list of values (refer to Table 9-5) to represent one of
multiple existing files or directories. This string is not the name of an actual file or directory
itself. (The real files or directories must be created in a separate step using names that correlate
with the type of variable used.)
. With the
yes
/dev/pool/pool0
.
yes
Chapter 9. Managing GFS
specified, the
-y
gfs_fsck
is repaired. All

Advertisement

Table of Contents
loading

Table of Contents