Opened 10 years ago
Closed 10 years ago
#971 closed task (fixed)
Mounting file systems for chroot
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | BOOK | Version: | |
Keywords: | Cc: | berzerkula@…, jonathan@…, chris@… |
Description
I think we can just mount all file systems before entering chroot, similar to what LFS does. I don't see any real advantage in doing a "fake mount" on the host and then remounting inside the chroot environment. This would simplify the chroot section a bit by removing a page.
Also, I think we should mount a tmpfs on /run, and possibly /tmp as well.
Any other thoughts on this?
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
This would be good, as /etc/mtab should be a link to /proc/self/mounts while in chroot, so any testsuites that would require /etc/mtab for reading/writing would be fine. I may missing another reason why we possibly may have did fake mount, and then mounted in chroot, but those issues probably are not around anymore. I don't know if I'll be able to find the rationale behind it when CLFS started.