Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Post I've mounted /var/tmp/portage - into RAM /10Gb

    How to check ?

    localhost xi # mount
    rootfs on / type rootfs (rw)
    /dev/root on / type ext2 (rw,noatime,errors=continue)
    devtmpfs on /dev type devtmpfs (rw,relatime,size=8174212k,nr_inodes=2043553,mode=755)
    proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    rc-svcdir on /lib64/rc/init.d type tmpfs (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
    sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
    debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
    cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
    cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
    devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    none on /tmp type tmpfs (rw,noatime,mode=1777)
    /dev/sda1		/boot			ext2		noauto,noatime	1 2
    /dev/sda2		/			ext3		noatime		0 1
    /dev/sda3		none			swap		sw		0 0
    proc			/proc			none		defaults	0 0
    none			/var/tmp/portage	tmpfs	noauto,nr_inodes=1M,size=10000M 0 0
    none			/tmp			tmpfs	defaults,noatime,mode=1777 	0 0
    It isn't working - command free outputs 14G

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    It is working exactly as you told it to
    a) You used the "noauto" option for /var/tmp/portage
    So you need to mount it manually or remove that option

    b) Afaik, this is a dynamic ramdisk.
    As long as the space isnt used, it is also not claimed.
    You must always face the curtain with a bow.

  3. #3

    Mb it's too much for 16G ram to have 10g /var/tmp/portage
    How much do I need (the worst case, as I know is Openoffice emerge).

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts