hpux man page for dir

Query: dir

OS: hpux

Section: 4

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

dir(4)							     Kernel Interfaces Manual							    dir(4)

NAME
dir - format of directories on short-name HFS file systems
SYNOPSIS
Remarks This entry describes the System V-compatible directory format for the HFS file system. It is provided strictly for backward compatibility and compatibility with applications expecting a System V file system environment. It is not compatible with the similar but more general HFS directory format in which describes a format identical to that used in an HFS file system supporting long file names up to 255 bytes in length. The structure defined in should be used in conjunction with the directory(3C) routines for portability to other industry UNIX implementa- tions.
DESCRIPTION
A directory behaves exactly like an ordinary file, except that no user can write into a directory. The structure of a directory entry as given in the header file is: By convention, the first two entries in each directory are for and (``dot'' and ``dot dot''). The first is an entry for the directory itself. The second is for the parent directory. The meaning of is modified for the root directory of the master file system; there is no parent, so and have the same meaning.
AUTHOR
was developed by AT&T and HP.
SEE ALSO
directory(3C). dir(4)
Related Man Pages
dir(5) - freebsd
convertfs_hfs(1m) - hpux
dir(5) - ultrix
mount_hfs(8) - osx
hfs(1) - suse
Similar Topics in the Unix Linux Community
Replacing characters in a directory structure
Getting the index of the last entry in a directory
How to look for the last file and rename it (sequencially, increment by one)
cd to parent directory
Finding latest dir based on it's name (yyyymmdd)