Zenten (zenten) wrote,
Zenten
zenten

*NIX question: Removing files "under" a mounted directory

So, lets say you have a bunch of files in /home, in the root partition. Lets also say you have mounted another partition onto /home. Is there a way to get rid of all the files in /home on the root partition without having to unmount the other partition from /home?

Edit: The way to do it is to mount the root partition again on another mount point. Also, doing what I just did and doing rm -rf * on the / of that partition instead of /home/ is probably not advised.
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments