简体   繁体   English

无法进入Gentoo Linux的文件系统目录

[英]Cannot cd into the filesystems directory in Gentoo Linux

I am attempting to cd into the filesystems directory as the title suggests. 我试图按照标题建议进入文件系统目录。 I was attempting to post an image but I do not yet have the reputation to do so. 我试图发布图像,但我还没有这样做的声誉。 Am I missing a certain command? 我错过了某个命令吗? I am guessing you just cd into it but maybe I am wrong. 我猜你只是插入它但也许我错了。 I made a mistake when installing my Gentoo linux and am now attempting to chroot into the filesystem directory to add a password to my su. 我在安装Gentoo linux时犯了一个错误,现在正试图chroot到文件系统目录中为我的su添加密码。 The commands I have entered where "cd /" and afterwards "cd proc" I used the "ls" command and can see filesystems in white. 我输入的命令是“cd /”,之后是“cd proc”我使用了“ls”命令,可以看到白色的文件系统。 But when I try to cd into it, all that happens is it says the directory does not exist. 但是当我尝试进入它时,发生的一切都是它说目录不存在。

The "/proc" folder is a symbolic link to caches made by your CPU. “/ proc”文件夹是指向CPU生成的缓存的符号链接。 The only user, regardless of su, or sudo executions, that can access the going ons in that folder or any of the like, is the root user. root用户是唯一可以访问该文件夹或任何类似文件的用户,无论是su还是sudo执行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM