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: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.5 |
Component: | Book | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description
Namely
http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19225.html
and
http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19224.html
See also the rest of the discussion regarding both.
Change History (4)
comment:1 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 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 , 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 , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Also add a 'rm -rf /run/*' to "Cleaning Up"