How to remove '/home' directory?
Solution 1:
Open the following files with read/write permissions:
/etc/auto_home
/etc/auto_master
These files are part of the autofs installation.
In the auto_home
file, add a # before the + on the following line:
+auto_home # Use directory service
In the auto_master
file, add a # before the /home on the following line:
/home auto_home -nobrowse,hidefromfinder
Save both files, and reboot your computer. /home
should be free to work with.
To reverse the changes, undo what you've done to both auto_master
and auto_home
.