Ticket #971 (closed task: fixed)

Opened 4 years ago

Last modified 4 years ago

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

comment:1 Changed 4 years ago by kb0iic

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 4 years ago by chris@…

  • Status changed from new to assigned
  • Owner changed from clfs-commits@… to chris@…

comment:3 Changed 4 years ago by chris@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.