Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Managing File Systems
Chapter 6 657
the -o largefiles option. The fsck command repairs the file system,
which you are then able to mount. This scenario would preserve the large
file, if fsck did not find it corrupt in any other way.
In the second scenario, using noninteractive mode, fsck purges the large
file on a no-large-files file system. fsck assumes the superblock to be
accurate based on its accuracy checks since the probability of a
superblock being corrupt is insignificant when compared to the instance
of a large file manifesting in a no-large-files file system. Consequently,
fsck will remove the large file from a file system it believes should not
contain large files.
The mount Command and Large-Files File Systems
The mount command supports large-files file systems and provides you
with a method of ensuring that no large-files file systems are mounted on
the system.
The mount command uses the same two options as the mkfs, newfs, and
fsadm commands (largefiles and nolargefiles). mount will not
mount a large-files file system if the -o nolargefiles option is
specified. Conversely, the mount command will not mount a no-large-files
file system if the -o largefiles option is specified. If no option is
provided to mount, it will use the state of the file system itself to
determine if it is mounted as largefiles or nolargefiles.
For More Information on Large Files
Refer to:
• “Backing Up Large Files” on page 693
• “Large File Support and NFS Protocol Compatibility” on page 458
• HP-UX Large Files White Paper Version 1.4
Managing FTP
The /etc/ftpd/ftpaccess configuration file is the primary
configuration file for defining how the ftpd daemon operates. The
/etc/ftpd/ftpaccess file allows you to configure a wide variety of FTP
features, such as the number of FTP login tries permitted, FTP banner
displays, logging of incoming and outgoing file transfers, access
permissions, use of regular expressions, etc. (For complete details on this
file, see the ftpaccess (4) manpage.)