Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

/tmp is now tmpfs

Focus mode
/tmp is now tmpfs - Amazon Linux 2023

Amazon Linux 2023 introduces changes to how /tmp behaves when compared to Amazon Linux 2. The default configuration for AL2 was that both /tmp and /var/tmp were on the root file system. Amazon Linux 2023 defaults to using tmpfs for /tmp with a limit of 50% of RAM and a maximum of one million inodes. These changes bring Amazon Linux in line with the behavior of other Linux distributions.

For full details of the file system layout of AL2023, see /tmp and /var/tmp in the Filesystem Layout section.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.