O
O
OKNOZA2015-03-12 03:47:47
ubuntu
OKNOZA, 2015-03-12 03:47:47

Ubuntu how to mount an image in ram?

Tell me how to edit to mount an image in fstab ? I want to write the /tmp
folder to RAM. /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=571592bd-985c-4089-b39c-371e0ec20de3 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=de00ad6b-bd31-42d9-8958-163409702fe0 none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
D', 2015-03-12
@Denormalization

tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0

The first link in Google for "ubuntu move tmp to ram"

V
Vlad Zhivotnev, 2015-03-12
@inkvizitor68sl

By the way, this should not be done on the desktop - the Xs are not a fact that they will rise, they will have to be repaired.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question