Summary: | order of mounting /mnt/gentoo/proc and untar'ing stage* needs to be swopped to avoid the untar'ing error for the /mnt/gentoo/proc/.keep | ||
---|---|---|---|
Product: | [OLD] Docs-user | Reporter: | ghost |
Component: | Handbook | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | trivial | CC: | docs-team |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
ghost
2004-09-12 16:29:16 UTC
reassigning to the docs team This has been fixed some weeks ago. No, it hasn't been fixed, or the fix has been lost, whatever. Handbook says Mount partitions, """ We will also have to mount the proc filesystem (a virtual interface with the kernel) on /proc. But first we will need to place our files on the partitions. """ Get stage file and untar, Mount /mnt/gentoo/proc Chroot. Is there any reason not to mount /proc at the same time as we mount the partitions (4.e) ? Why is there a /proc/.keep file in the stage files ? "Why is there a /proc/.keep file in the stage files ?" Because it is created by baselayout as part of the base system layout... I really do not know why there is a /proc/.keep file, at all. That would need to be taken up with the base-system people. I see no reason for keeping it, as no ebuild should be writing anything into /proc and the .keep files are only around to keep portage from removing what would otherwise be empty directories, correct? It's created by baselayout, but portage would remove /proc during an update of baselayout, if /proc is not mounted. Should almost never happen, but from my side the .keep file has it's sense. I still can't see a valid docs issue within this bug. The "stage-untaring-then-mounting-proc" way the reporter requests is what we are still stating in our handbook. re-assigning to base-system@g.o s/still/already Indeed. That should teach me to think twice before posting. The current doc is right. Having /proc mounted before untarring would give a tar error. Maybe the reporter was using an old version of the handbook. The /proc/.keep question was just out of curiosity, I don't think there is any issue with that. Thanks for everyone's feedback. |