2
0
mirror of https://github.com/chubin/cheat.sheets synced 2024-11-17 09:25:32 +00:00
cheat.sheets/sheets/mount

8 lines
301 B
Plaintext
Raw Normal View History

2020-11-21 01:38:03 +00:00
# mount
# Mount a filesystem
# Mount a temporary filesystem (TMPFS) of 4GB to '/mnt'. The contents will
# vanish when you reboot, but this can be very useful when working with things
# like bootstrap tarballs or temporary storages for sensitive data.
mount -t tmpfs -o mode=755,size=4096M tmpfs /mnt