LINUXOPOLIS ( 2019-08-12 ) ~ RamdisksteemCreated with Sketch.

in #linux5 years ago (edited)

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

Sort:  

Congratulations @wglenz! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You published a post every day of the week

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

You can upvote this notification to help all Steem users. Learn how here!

Coin Marketplace

STEEM 0.25
TRX 0.11
JST 0.032
BTC 61830.08
ETH 2986.99
USDT 1.00
SBD 3.73