Opened 9 years ago

Closed 9 years ago

#971 closed task (fixed)

Mounting file systems for chroot

Reported by: chris@… Owned by: chris@…
Priority: major Milestone:
Component: BOOK Version:
Keywords: Cc: berzerkula@…, jonathan@…, chris@…


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 Changed 9 years ago by William Harrington

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.

comment:2 Changed 9 years ago by chris@…

Owner: changed from clfs-commits@… to chris@…
Status: newassigned

comment:3 Changed 9 years ago by chris@…

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.