Messages in this thread | | | Date | Thu, 6 Nov 2003 17:00:28 +0100 | From | David Gómez <> | Subject | Re: Using proc in chroot environments |
| |
Hi ;),
> I'm using a chroot environment on my main disk as a 'crash test > dummy', and I need to access the proc filesystem inside it. Since > hard links are not allowed for directories, the only solution I can > think of is to mount proc inside the chroot environment just after > chrooting. This works, I've tested, but I have two problems:
Have you tried the --bind mount option? It's great to solve this kind of problem, accesing to a directory within a chrooted enviroment. I've used it successly with a ftp server ;).
-- David Gómez
"The question of whether computers can think is just like the question of whether submarines can swim." -- Edsger W. Dijkstra - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |