LINUXOPOLIS ( 2019-08-12 ) ~ Ramdisk

RAMDISK

A short summary of building a personal Linux environment.
Published with SteemPeak

ScreenshotScreenshot by Willi Glenz

SUMMARY

01 temporary-tmpfs .................................................. v1 2019-08 new
02 permanent-tmpfs .................................................. v1 2019-08 new
03 sources .......................................................... v1 2019-08 new



#03

03 SOURCES
Ubuntuwiki (de) : wiki.ubuntuusers.de/RAM-Disk_erstellen/
Manpages        $ man mount umount mkdir vim df free


02 PERMANENT-TMPFS
$ df -hT    : active tmpfs
$ free -h   : free ram for a new tmpfs

# mkdir -p /media/ramdisk
# vim /etc/fstab
    ramdisk /media/ramdisk tmpfs nodev,nosuid,noexec,nodiratime,size=1024M 0 0
# mount -a
$ mount | column -t
# umount ramdisk
$ mount | column -t


01 TEMORARY-TMPFS 
$ df -hT    : active tmpfs
$ free -h   : free ram for a new tmpfs

# mkdir -p /media/ramdisk 
$ mount | column -t
# mount -t tmpfs -o size=1024M ramdisk /media/ramdisk
# mount -a
$ mount | column -t
# umount ramdisk
$ mount | column -t

home

H2
H3
H4
Upload from PC
Video gallery
3 columns
2 columns
1 column
1 Comment