how to get at the files "under" a mount point?

Brian McKee brian.mckee at gmail.com
Thu Jun 4 18:32:24 UTC 2009


2009/6/2 Bob F Nord <bob at example.com>:
> Is there any way to see what's in the /tmp directory (for
> example) on the / filesystem while another filesystem (tmpfs in
> this case) is mounted on /tmp?

Haven't tried it - but what happens if you remount the /dev/ entry for
/ somewhere else?

>From the man page:
 Since Linux 2.4.0 it is possible to remount part of the file
hierarchy somewhere else. The call is
              mount --bind olddir newdir
 After this call the same contents is accessible in two places.

Let me know if it works :-)

Brian




More information about the ubuntu-users mailing list