You are not logged in.
Pages: 1
How to remove .cache folder in / ? I do not know what software creates this directory. It is always empty.
Offline
Do you have such a directory in the root drive? I found entries only in /var/log/fontconfig.log
/.cache/fontconfig: not cleaning non-existent cache directory
But it probably has nothing to do.
I checked the settings fontconfig
<!-- Font cache directory list -->
<cachedir>/var/cache/fontconfig</cachedir>
<cachedir prefix="xdg">fontconfig</cachedir>
<!-- the following element will be removed in the future -->
<cachedir>~/.fontconfig</cachedir>
Offline
How to remove .cache folder in / ? I do not know what software creates this directory. It is always empty.
Hi Danista,
Well even if you delete it (with rm -rf), programs that require cache to run will create a new .cache folder so it is pointless to remove it. be careful now with that command, you don't want to brick your system. :-)
Virtue et Silencio.
Offline
Thanks for the answer, backwater. I tried to create a file with the name ".cache" as a result, this does not affect the operation of the my system.
In my previous version Debian this folder was not available. I think this is due to the pulse. I did not installing the pulse, but the folder is created in ~ /.config/pulse
Offline
It gets created when you run a root application on the user's desktop. My /root/.cache has subdirectories named after the apps I've run as root.
Offline
I don't mean /root/.cache but /.cache
├── bin
├── boot
├── .cache
├── dev
├── etc
├── home
├── lib
├── media
├── mnt
├── opt
├── proc
├── root
├── run
├── sbin
├── srv
├── sys
├── tmp
├── usr
└── var
a folder is created at boot time
Offline
I don't mean /root/.cache but /.cache
a folder is created at boot time
Oh! I checked two asciis, one jessie and a beowulf. I don't have one, and I don't recall ever seeing that.
Offline
I see "/.cache"...
...not on devuan1/amd64.
...not on devuan1/i386.
...on devuan2/amd64.
...on devuan2/i386.
...on devuan3/amd64.
...on devuan3/i386.
...not on devuan3/armel(pi1).
...not on devuan3/armhf(pi2).
...not on devuan3/arm64(pi3).
...on devuan3/armhf(cubie3).
...on devuan-ceres/amd64.
...on devuan-ceres/i386.
...on debian10/amd64.
...not on raspbian10/armhf.
The beowulf systems may have inherited by being upgraded from ascii and my debian10 was upgraded from debian9, so "/.cache" may be a relict too. My Cubies started their existence as debian9 and were "transgraded" to ascii and later upgraded to beowulf. Maybe the devuan-PIs simpy don't have it because X11 never was installed? I think my raspbian10-PIs haven't seen X11 too. The devuan1-systems run XFCE like most other systems and don't have "it".
Currently I don't see a pattern...
Last edited by yeti (2019-09-20 10:30:57)
*𝚛𝚒𝚋𝚋𝚒𝚝!*
Offline
Where is root's home directory? head -1 /etc/passwd should show you.
If that's / then root's files such as .cache would end up there.
Chris
Offline
# head -1 /etc/passwd
root:x:0:0:root:/root:/bin/bash
Offline
...on debian10/amd64.
I thought that this bug is only in Devuan.. Thx
Offline
# head -1 /etc/passwd root:x:0:0:root:/root:/bin/bash
OK, that's one possible cause ruled out.
Chris
Offline
Pages: 1