linux:gentoo-spezifisch:tmpfs
tmpfs
Allgemeine Verwendung in Gentoo
tmpfs bei OpenRC aktivieren
- /etc/fstab
# allgemein
tmpfs /tmp tmpfs rw,nosuid,noatime,nodev,size=4G,mode=1777 0 0
resizing im Betrieb
# mount -o remount,size=N /var/tmp/portage
Portage
tmpfs aktivieren
- /etc/fstab
# portage:
tmpfs /var/tmp/portage tmpfs size=4G,uid=portage,gid=portage,mode=775,noatime 0 0
per-package-handling
- /etc/portage/env/notmpfs.conf
PORTAGE_TMPDIR="/var/tmp/notmpfs"
# mkdir /var/tmp/notmpfs
# chown portage:portage /var/tmp/notmpfs
# chmod 775 /var/tmp/notmpfs
- /etc/portage/package.env
app-office/libreoffice notmpfs.conf
mail-client/thunderbird notmpfs.conf
sys-devel/gcc notmpfs.conf
linux/gentoo-spezifisch/tmpfs.txt · Zuletzt geändert: 13.11.2019 18:37 von marc