Opened 11 years ago

Closed 11 years ago

#3463 closed task (fixed)

Add a resolution on two "Preparing Virtual File Systems" threads brought up on lfs-dev

Reported by: Armin Owned by: bdubbs@…
Priority: normal Milestone: 7.5
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

Change History (4)

comment:1 by bdubbs@…, 11 years ago

Owner: changed from lfs-book@… to bdubbs@…
Status: newassigned

Also add a 'rm -rf /run/*' to "Cleaning Up"

comment:2 by Armin, 11 years ago

May I also suggest to add the same for /tmp? systemd mounts a tmpfs on /tmp by default and it will complain if it's not empty (although it's just a message, it will still work correctly).

Just for the consistence.

comment:3 by bdubbs@…, 11 years ago

Good idea. My test build has 327M in /tmp. That needs to be removed. I wasn't that concerned about the 32K in /run, but upon reflection, both need to be cleaned up.

comment:4 by bdubbs@…, 11 years ago

Resolution: fixed
Status: assignedclosed

After research, the --bind option does not recursively mount sub-mounts. That is, doing a bind-mount on /dev does not mount /dev/pts (you need --rbind for that). I'm not going to change that part of the ticket, but will clean up /tmp and /run at the end of Chapter 6.

Although /dev/console and /dev/null are not needed in a lot of cases during boot, they are needed in some cases. We'll leave that alone too.

Fixed at revision 10440.

Note: See TracTickets for help on using tickets.