IPB
>  Man Pages > Unix > Solaris 10 11/06 > Section 4 > dir man page

dir man page

Section 4 - Solaris 10 11/06 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!





File Formats                                           dir_ufs(4)



NAME
     dir_ufs, dir - format of ufs directories

SYNOPSIS
     #include <sys/param.h>

     #include <sys/types.h>

     #include <sys/fs/ufs_fsdir.h>

DESCRIPTION
     A directory consists of some number of blocks  of  DIRBLKSIZ
     bytes,  where   DIRBLKSIZ  is  chosen  such  that  it can be
     transferred to disk in a single atomic operation, for  exam-
     ple, 512 bytes on most machines.

     Each  DIRBLKSIZ-byte block contains some number of directory
     entry structures, which are of variable length.  Each direc-
     tory entry has a  struct direct at the front of it, contain-
     ing  its  inode  number,  the  length  of the entry, and the
     length of the name contained in the  entry.   These  entries
     are  followed  by  the name padded to a 4 byte boundary with
     null bytes.  All names are guaranteed  null-terminated.  The
     maximum length of a name in a directory is  MAXNAMLEN.

     #define DIRBLKSIZ                        DEV_BSIZE
     #define MAXNAMLEN                        256
     struct direct {
             ulong_t  d_ino;                  /* inode number of entry */
             ushort_t d_reclen;               /* length of this record */
             ushort_t d_namlen;               /* length of string in d_name */
             char     d_name[MAXNAMLEN + 1];  /* maximum name length */
     };


ATTRIBUTES
     See attributes(5) for a description of the following  attri-
     butes:

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Interface Stability         | Unstable                    |
    |_____________________________|_____________________________|


SEE ALSO
     attributes(5), ufs(7FS)







SunOS 5.10          Last change: 16 Apr 2003                    1





Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Wed Sep 12 21:37:25 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

sqlite3 man page (5334 hits)
(openSUSE 10.2)

svn man page (5208 hits)
(FreeBSD 6.2)

adv_cap_autoneg man page (4870 hits)
(Solaris 10 11_06)

CPAN man page (4607 hits)
(Suse Linux 10.1)

ssh man page (4342 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (2877 hits)
(Solaris 10 11_06)

netcat man page (2717 hits)
(Suse Linux 10.1)

pprosetup man page (2488 hits)
(Solaris 10 11_06)

startproc man page (2471 hits)
(Suse Linux 10.1)

signal man page (2408 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: Pyrenees Accomodation :: PIC Boot-loader Utility :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum