p The options are as follows: l -tag -width Ds t Fl H Symbolic links on the command line are followed. (Symbolic links encountered in the tree traversal are not followed.) t Fl L All symbolic links are followed. t Fl P No symbolic links are followed. t Fl a Display an entry for each file in the file hierarchy. t Fl c Display the grand total after all the arguments have been processed. t Fl d Display an entry files and directories .Ar depth directories deep. t Fl g If the .Fl g flag is specified, the number displayed is the number of gigabyte (1024*1024*1024 bytes) blocks. t Fl h If the .Fl h flag is specified, the numbers will be displayed in "human-readable" format. Use unit suffixes: B (Byte), K (Kilobyte), M (Megabyte), G (Gigabyte), T (Terabyte) and P (Petabyte). t Fl i Output inode usage instead of blocks. All "human-readable" options are ignored. t Fl k By default, .Nm displays the number of blocks as returned by the .Xr stat 2 system call, i.e. 512-byte blocks. If the .Fl k flag is specified, the number displayed is the number of kilobyte (1024 bytes) blocks. Partial numbers of blocks are rounded up. t Fl m If the .Fl m flag is specified, the number displayed is the number of megabyte (1024*1024 bytes) blocks. t Fl n Ignore files and directories with user .Qq nodump flag
q Dv UF_NODUMP set. t Fl r Generate warning messages about directories that cannot be read. This is the default behaviour. t Fl s Display only the grand total for the specified files. t Fl x Filesystem mount points are not traversed. .El
p .Nm counts the storage used by symbolic links and not the files they reference unless the .Fl H or .Fl L option is specified. If either the .Fl H or .Fl L options are specified, storage used by any symbolic links which are followed is not counted or displayed. The .Fl H , .Fl L and .Fl P options override each other and the command's actions are determined by the last one specified.
p Files having multiple hard links are counted (and displayed) a single time per .Nm execution. .Sh ENVIRONMENT l -tag -width BLOCKSIZE t Ev BLOCKSIZE If the environment variable .Ev BLOCKSIZE is set, and the .Fl g , .Fl h , .Fl k , and .Fl m options are not specified, the block counts will be displayed in units of that size block. .El .Sh EXIT STATUS .Ex -std .Sh SEE ALSO .Xr df 1 , .Xr chflags 2 , .Xr fts 3 , .Xr getbsize 3 , .Xr symlink 7 , .Xr quot 8 .Sh HISTORY A .Nm command appeared in .At v1 .