![]() ![]() The use of 512-byte units is historical practice and maintains compatibility with ls and other utilities. The Single Unix Specification (SUS) specifies by original space is reported in blocks of 512 bytes, and that at a minimum, the file system names and the amount of free space. GNU df includes -T as well, listing filesystem type information, but the GNU df shows the sizes in 1K blocks by default. 10 MB ), -i, which lists inode usage, and -l, restricting display to only local filesystems. The BSD and GNU coreutils versions include -h, which lists free space in human readable format displaying units with the appropriate SI prefix (e.g. Most implementations of df in Unix and Unix-like operating systems include extra options. file Write the amount of free space of the file system containing the specified file P Use a standard, portable, output format -h Display in more easily human readable units such as KB, MB, GB or TB. ![]() k Use 1024-byte units, instead of the default 512-byte units, when writing space figures. The Single UNIX Specification specifications for df are: The version of df bundled in GNU coreutils was written by Torbjorn Granlund, David MacKenzie, and Paul Eggert. It first appeared in Version 1 AT&T Unix. It was inherited into the first version of POSIX and the Single Unix Specification. Df for Unix-like systems is part of the X/Open Portability Guide since issue 2 of 1987. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |