I have the default /etc/conf.d/bootmisc settings:
Code: Select all
# List of /tmp directories we should clean up
clean_tmp_dirs="/tmp"
# Should we wipe the tmp paths completely or just selectively remove known
# locks / files / etc... ?
wipe_tmp="YES"
# Write the initial dmesg log into /var/log/dmesg after boot
# This may be useful if you need the kernel boot log afterwards
log_dmesg="YES"
# Save the previous dmesg log to dmesg.old
# This may be useful if you need to compare the current boot to the
# previous one.
#previous_dmesg=noCode: Select all
Runlevel: boot
hwclock [ started ]
modules [ started ]
fsck [ started ]
root [ started ]
mtab [ started ]
swap [ started ]
localmount [ started ]
sysctl [ started ]
bootmisc [ started ]
elogind [ started ]
termencoding [ started ]
save-termencoding [ started ]
procfs [ started ]
hostname [ started ]
loopback [ started ]
keymaps [ started ]
save-keymaps [ started ]
binfmt [ started ]
seedrng [ started ]
systemd-tmpfiles-setup [ started ]- I use a notebook with an SSD in it's only slot
- I like to reduce SSD wear, so I also have a HDD, as an USB drive
- sometimes the external HDD does not get recognized on boot, so i set up a mechanism in fstab, where I mount az 1MB tmpfs as the heavy-write directories so I don't accidentally cause unnecessary wear to the SSD
Code: Select all
#ssd
#/dev/sda1 - bootloader
PARTLABEL=boot /boot vfat defaults,noatime 0 2
PARTLABEL=rootfs / ext4 defaults,noatime,discard 0 1
PARTLABEL=home /home ext4 defaults,noatime,discard 0 2
#tmpfs /tmp tmpfs nodev,nosuid,size=1G 0 0
#workarnoud: do not write to disk
tmpfs /tmp tmpfs nodev,nosuid,size=2G 0 0
tmpfs /var/tmp tmpfs noatime,size=1M 0 0
tmpfs /usr/portage tmpfs noatime,size=1M 0 0
tmpfs /usr/src tmpfs noatime,size=1M 0 0
#hdd - support
PARTLABEL=swap none swap sw 0 0
PARTLABEL=support /mnt/support ext4 defaults,noatime,discard 0 2
/mnt/support/tmp /tmp none defaults,bind 0 0
/mnt/support/var_tmp /var/tmp none defaults,bind 0 0
/mnt/support/usr_portage /usr/portage none defaults,bind 0 0
/mnt/support/usr_src /usr/src none defaults,bind 0 0
