Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
POSIX
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===512- vs 1024-byte blocks=== {{Primary sources|section|date=April 2025}} POSIX mandates 512-byte default [[Block (computer memory)|block]] sizes for the [[Df (Unix)|df]] and [[Du (Unix)|du]] utilities, reflecting the typical size of blocks on disks. When [[Richard M. Stallman|Richard Stallman]] and the [[GNU]] team were implementing POSIX for the [[GNU operating system]], they objected to this on the grounds that most people think in terms of 1024 byte (or 1 [[Kibibyte|KiB]]) blocks. The environment variable {{tt|POSIX_ME_HARDER}} was introduced to allow the user to force the standards-compliant behaviour.<ref>{{Cite newsgroup|last=Stallman|first=Richard|title=Democracy Triumphs in Disk Units|date=28 August 1991|newsgroup=gnu.announce|message-id=9108281809.AA03552@mole.gnu.ai.mit.edu|via=Google Groups |url=http://groups.google.com/group/gnu.announce/msg/6c6e20b57ddb1a82?pli=1}}</ref> The variable name was later changed to {{tt|POSIXLY_CORRECT}}.<ref>{{cite web|publisher=GNU|url=https://www.gnu.org/prep/standards/standards.html#Non_002dGNU-Standards|title=GNU Coding Standards}}</ref> This variable is now also used for a number of other behaviour quirks.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)