how to get at the files "under" a mount point?
Marius Gedminas
marius at pov.lt
Wed Jun 3 18:12:07 UTC 2009
On Tue, Jun 02, 2009 at 02:24:06PM -0000, Bob F Nord wrote:
> 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?
Yes. Use bind mounts, e.g.
mkdir /mnt/root
mount -o bind / /mnt/root
ls /mnt/root/tmp
When you're done,
umount /mnt/root
> Or do I have to change fstab, reboot, poke around in there,
> change fstab back, and reboot, in order to do this?
No.
Marius Gedminas
--
Writing like a l33t script kiddie hax0r is the absolute kiss of death and
guarantees you will receive nothing but stony silence (or, at best, a heaping
helping of scorn and sarcasm) in return.
-- ESR (http://www.tuxedo.org/~esr/faqs/smart-questions.html)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090603/4bf83d02/attachment.sig>
More information about the ubuntu-users
mailing list