https://github.com/stackoverflowexcept1on/tmpfs
User-friendly bash script to mount a RAM disk in /mnt/tmpfs on linux systems
https://github.com/stackoverflowexcept1on/tmpfs
bash-script linux ramdisk tmpfs
Last synced: 10 months ago
JSON representation
User-friendly bash script to mount a RAM disk in /mnt/tmpfs on linux systems
- Host: GitHub
- URL: https://github.com/stackoverflowexcept1on/tmpfs
- Owner: StackOverflowExcept1on
- Created: 2022-11-02T20:37:24.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-02T21:01:24.000Z (about 3 years ago)
- Last Synced: 2025-01-11T13:23:59.006Z (11 months ago)
- Topics: bash-script, linux, ramdisk, tmpfs
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### tmpfs
User-friendly bash script to mount a RAM disk in `/mnt/tmpfs` on linux systems
### Usage
```bash
# create ram disk
./tmpfs
Mounted file system at /mnt/tmpfs with size 2048M
# resize
./tmpfs resize 1024
Resized file system to 1024M
# unmount
./tmpfs unmount
Unmounted file system at /mnt/tmpfs
```