IBM AS/400e Security Camera User Manual


 
Appendix B. Understanding the /etc Files
A directory named /etc exists within the integrated file system namespace. This
directory contains important system files that users should never write to or change
unless they are experienced NFS administrators. NFS uses these files to perform
specific system functions. The following files are located in the /etc directory:
v /etc/exports
v /etc/netgroup
v /etc/rpcbtab
v /stc/statd
Whenever you use the export command, the command searches for the
/etc/exports and /etc/netgroup files. If they do not exist, the system creates these
files by using characters from the ASCII default code page of the system. When the
system creates these files, they will contain introductory help information. If you
update these files at any time, you must use the export command (with the ’-A’
option) to make your exports current.
Editing files within the /etc directory
The files stored within the /etcdirectory are stream files. You can edit them in the
following ways:
1. Edit using the Edit File (EDTF) command
2. Edit using a PC based editor
3. Edit using a UNIX editor via NFS
Editing stream files by using the Edit File (EDTF) command
The Edit File (EDTF) command allows you to edit stream files or database files. By
default, this command is not part of the base operating system. A Program
Temporary Fix (PTF) provides the command. The PTF in V3R7 is SF38832. Refer
to the cover letter of the PTF for instructions on how to install the commands it
contains. Once you have installed the PTF, you can edit the desired file by
specifying the absolute or relative path name.
The difference between the absolute and the relative path name is the / at the
beginning of the path name. The / as the first character signifies an absolute path
name. Absolute path names start from the root directory every time. Relative path
names start from the current directory. For example:
Absolute Path Name
EDTF STMF('/etc/exports')
This command edits the stream file exports within the directory /etc.
EDTF FILE(PGMLIB/ACCOUNT) MBR(ACC1)
This command edits the file member ACC1 within the physical file PGMLIB/ACCOUNT.
Relative Path Name
EDTF STMF('exports')
This command edits the file exports within the current directory.
© Copyright IBM Corp. 1997, 1999 93
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|