I can move it but rmdir
and rm -rf
fail even as root (failed to remove '/home': Operation not permitted
). lsattr
is all ----------
.
Whenever I mv /home /home.bakN
I get directories that are also unremovable plus a recreated /home with the same restriction after I reboot ("single" mode). I can remove everything else, I can create new files and directories, not a read-only partition.
I used to use a /home partition but I disabled it (replaced /home with /media/home in /etc/fstab) and I can successfully use a /home directory. I just don't understand why I can't remove it (again: it's not busy and no application uses it and no /home user is logged in).
/home
exported via NFS? Is/home
an automount point forautofs
? (http://man7.org/linux/man-pages/man5/autofs.5.html) – Andrew Henle Nov 04 '15 at 12:05