Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18673 - /proc mount command is incorrect
Summary: /proc mount command is incorrect
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Gentoo Linux x86 Installation Guide (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/gentoo-x...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-02 22:37 UTC by Joe Kallar (RETIRED)
Modified: 2003-04-03 11:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Kallar (RETIRED) gentoo-dev 2003-04-02 22:37:15 UTC
Code listing 8.3: Prepping and entering the chroot environment
# mount -t proc proc /mnt/gentoo/proc

should be:
# mount -0 bind proc proc /mnt/gentoo/proc

Reproducible: Always
Steps to Reproduce:
1. Attempt to mount /proc
2.
3.

Actual Results:  
Mount proc using codelisting results in mount error

Expected Results:  
Mount /proc correctly
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-04-02 22:41:05 UTC
mount -t proc proc /mnt/gentoo/proc is actually correct syntax. This has been discussed before... it used to be -o bind, however that was determined to be unnecessary as proc is going to be the same no matter where you mount it and bind is redundant.

Closing bug as invalid.
Comment 2 Joe Kallar (RETIRED) gentoo-dev 2003-04-03 09:47:26 UTC
My mistake.

I used this command on Sparc, and it gave me the error. I did not use the command on x86. Should the command work on Sparc?
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2003-04-03 11:29:34 UTC
I see no reason why not. What was the error?
Comment 4 Joe Kallar (RETIRED) gentoo-dev 2003-04-03 11:58:24 UTC
Must be a delayed April's fools thing. The command *exactly* followed works fine.