Possible Duplicate:Access to original contents of mount point I have a directory d containing some file f and I mount a drive on directory d. Is there a way of accessing file f without unmounting?
accessing files hidden by mounted drive
mount
Yes, bind the original fs to a different position, and you can access it:mount --bind $(df -P d | awk '/\/dev/ {print $1}') /tmp/oldrootAnd files would be accessible through /tmp/oldroot/XX/f