Files in /
pschmehl_lists at tx.rr.com
Tue Dec 4 18:28:20 UTC 2018
--On December 4, 2018 at 9:43:06 AM +0100 Michael Schuster
<michaelsprivate at gmail.com> wrote:
> first, you show 'df' output of "/", whereas later on you only work with
> "/root" - there's probably other stuff in "/" that's not in "/root" -
> /etc comes to mind, /sbin ...
That's helpful. When I run ls on / I get this:
ls / .cshrc COPYRIGHT cdrom dist home media rescue sys var .profile bin
compat entropy lib mnt root tmp .snap boot dev etc libexec proc sbin usr
Since I have separate partitions for /var, /tmp, and /usr, that would mean
everything not included under those would be part of the / partition?
I'm not sure I understand entropy. Using file, I can see that /home and
/compat are symlinks, but what is entropy? File says it's data.
If I use find to get the directories directly under root, it returns this:
# find / -type d -maxdepth 1
So, I can eliminate /tmp, /usr, and /var, and the rest is in the root
It seems the most disk consumption is in /boot/
# du -h /boot/
I can remove /boot/kernel.old, right? (I'm not sure I will. Just asking.)
Paul Schmehl, Retired
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell
More information about the freebsd-questions