Talk:SSD

XDG cache on /run/user/${UID} instead?
Perhaps turn if [ ${USER} ]; then export XDG_CACHE_HOME="/tmp/${USER}/.cache" fi To export XDG_CACHE_HOME="/run/user/${UID}/.cache" Since UID is more reliable than username and /run/user/${UID} is reserved for each user.

--User:timkenhan:timkenhan (talk) 02:24, 27 May 2022 (UTC)

My rootfs is on LVM on LUKS. Should I trim all layers?
# lsblk NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT sda                      8:0    0 465,8G  0 disk ├─sda1                   8:1    0  94,1M  0 part └─sda2                   8:2    0 167,7G  0 part └─root (dm-0)        254:0    0 167,7G  0 crypt ├─vg2-swap (dm-1)  254:1    0     5G  0 lvm   [SWAP] ├─vg2-system (dm-2) 254:2   0    50G  0 lvm   / └─vg2-home (dm-3)  254:3    0   100G  0 lvm   /mnt/home}} --Wols (talk) 17:48, 14 March 2014 (UTC)
 * There is no reason not to, unless you care a lot about people not knowing where you have free space. The data itself is still encrypted, so it's not really an issue. It comes down to personal preference. If it's not about the wiki article, maybe the forums are a better place to discuss this?
 * Frostschutz (talk) 18:24, 14 March 2014 (UTC)

Confusion about mount options - noatime, nodiratime, relatime - for SSDs
I am always using a combination of "noatime" and "nodiratime".

Reference: SSD
 * 1) ) What would be the best mount option concerning those "atime" options?
 * 2) ) Is it wise to combine all three: noatime, nodiratime and relatime?

Keks24 (talk) 09:13, 24 November 2017 (UTC)


 * It is probably a question best asked on our forums or Gentoo user mailing lists. Since this is not a proposition to change documentation, we'll mark this discussion as completed. --Maffblaster (talk) 06:26, 23 February 2022 (UTC)

Mistakes in section 'XDG cache'
1) The first line of the file '/etc/profile.d/xdg_cache_home.sh' ('#!/bin/bash') should be removed. Files in '/etc/profile.d' are sourced - not executed. For that reason, a shebang line doesn't make sense. Even worse: '#!/bin/bash' may misguide a user that he can use bash syntax in this file, which is not true.

2) The section recommends to run 'env-update' after adding or modifying files in '/etc/profile.d'. That's not necessary. env-update is required after modification of a file in "/etc/env.d", but not in "/etc/profile.d".

Mike155 (talk) 01:19, 2 April 2018 (UTC)
 * The article has been updated following the avobe suggestions.
 * --Mimosinnet 16:11, 28 October 2018 (UTC)