Is it recommended to move a directory to the filesystem root partition?

When I installed the OS, I gave the partition that would be used for the root filesystem more space than would be needed.

34/50 GB is currently free while my /home/{user_name} partition is almost full.

Anaconda3 takes up 7GB and I want to move it to the partition that hosts the root filesystem, but is it advised to move such directories to that partition?


The only thing in / that you add yourself should be mountpoints.

There is one directory in root that is defined as 3rd party software that you could mis-use for your system. Create a dir in /opt/, set it to your user and you can store your documents there. /opt/ will be part of /.

Consider adding a partition(/mountpoint) though since that is more in line with a regular setup.


Generally, my own preference is to avoid moving things around this way, but there is no iron rule which says that you must not.

If you move this directory, you must be aware of some pitfalls:

  • A full partition can become unbootable if the log messages cannot be flushed to disk.
  • Moving your Anaconda3 installation will affect your $PATH and possibly also your $PYTHONPATH

You may want to move the directory, and then create a symbolic link in the old location which targets the new location.