Ask HN: What is literal /root directory on Linux
So sorry I'm oblivion the exuistence of this "/root"
so what actually is "/root" directory on (my Arch) Linux all about ?
so what actually is "/root" directory on (my Arch) Linux all about ?
The reason given for why it is in / instead of /home/ is so the root user has a home directory even when /home/ is a separate (but unmounted) partition or a NFS mount.
then we'd remove /root
The reason it is on / is so it is always available when / is mounted, and also available when / is the only disk mounted (such as single user mode).