1

I ran a mount command that mounted the rootfs into my home directory I've hence lost all my data in the home directory. Is there a way to get the data back?

Kusalananda
  • 333,661
brian
  • 11

1 Answers1

0

With umount -R /home you will unmount the rootfs from your home folder. Your data isn't lost, it is just temporary unavailable, because you mounted another drive/file system to where /home is.

Grigorios
  • 163