Skip to content

tmpfs: support percentage size + update /proc/self/mounts to match Linux format#13048

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl907863282
Open

tmpfs: support percentage size + update /proc/self/mounts to match Linux format#13048
copybara-service[bot] wants to merge 1 commit into
masterfrom
test/cl907863282

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service Bot commented Apr 30, 2026

tmpfs: support percentage size + update /proc/self/mounts to match Linux format

Adds support for size=n% as a fraction of physical RAM in tmpfs.

Linux always prints size= in kilobytes in /proc/self/mounts, so I've also
refactored tmpfs's MountOptions() implementation to match (and print opts
in the right order).

@copybara-service copybara-service Bot added the exported Issue was exported automatically label Apr 30, 2026
@copybara-service copybara-service Bot force-pushed the test/cl907863282 branch 3 times, most recently from 3224b43 to ed69b81 Compare April 30, 2026 22:59
@copybara-service copybara-service Bot changed the title Internal change. tmpfs: support percentage size + update /proc/self/mounts to match Linux format Apr 30, 2026
@copybara-service copybara-service Bot force-pushed the test/cl907863282 branch 9 times, most recently from f440f11 to e6bd5ac Compare May 6, 2026 21:06
…nux format

Adds support for size=n% as a fraction of physical RAM in tmpfs.

Linux always prints size= in kilobytes in /proc/self/mounts, so I've also
refactored tmpfs's MountOptions() implementation to match (and print opts
in the right order).

PiperOrigin-RevId: 907863282
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant