当前位置: 技术问答>linux和unix
嵌入式linux 文件系统加载的问题
来源: 互联网 发布时间:2016-05-26
本文导语: 以下是我的文件系统启动后的信息: Mounted devfs on /dev Freeing init memory: 112K Reading data from NAND FLASH without ECC is not recommended init started: BusyBox v1.9.2 (2009-01-22 09:35:41 CST) starting pid 16, tty '': '/etc/init.d/rcS'...
以下是我的文件系统启动后的信息:
Mounted devfs on /dev
Freeing init memory: 112K
Reading data from NAND FLASH without ECC is not recommended
init started: BusyBox v1.9.2 (2009-01-22 09:35:41 CST)
starting pid 16, tty '': '/etc/init.d/rcS'
------------------monut all
----------------starting mdev.......
/etc/init.d/rcS: line 6: cannot create /proc/sys/kernel/hotplug: nonexistent directory
**********************************
linux fs for bapl 2008 11 26
****************************8
starting pid 19, tty '': '/bin/login'
(none) login:
Login timed out a
process '-/bin/login' (pid 19) exited. Scheduling it for restart.
starting pid 21, tty '': '/bin/login'
(none) login: root
Password:
login[21]: root login on 'console'
Processing /etc/profile... Set search library path in /etc/profile
set user path in /etc/profile
set PS1 in /etc/profile
Done
[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]ping 192.168.0.100
Reading data from NAND FLASH without ECC is not recommended
PING 192.168.0.100 (192.168.0.100): 56 data bytes
ping: sendto: Network is unreachable
[05;32m[root@~]#[00;34m]ifconfig
[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]mkdir
BusyBox v1.9.2 (2009-01-22 09:35:41 CST) multi-call binary
Usage: mkdir [OPTION] DIRECTORY...
Create the DIRECTORY(ies) if they do not already exist
我想问一下,为什么加载后使用命令时看不到信息呢?例如ls,mkdir命令时没有任何信息,我的文件系统有问题吗??
Mounted devfs on /dev
Freeing init memory: 112K
Reading data from NAND FLASH without ECC is not recommended
init started: BusyBox v1.9.2 (2009-01-22 09:35:41 CST)
starting pid 16, tty '': '/etc/init.d/rcS'
------------------monut all
----------------starting mdev.......
/etc/init.d/rcS: line 6: cannot create /proc/sys/kernel/hotplug: nonexistent directory
**********************************
linux fs for bapl 2008 11 26
****************************8
starting pid 19, tty '': '/bin/login'
(none) login:
Login timed out a
process '-/bin/login' (pid 19) exited. Scheduling it for restart.
starting pid 21, tty '': '/bin/login'
(none) login: root
Password:
login[21]: root login on 'console'
Processing /etc/profile... Set search library path in /etc/profile
set user path in /etc/profile
set PS1 in /etc/profile
Done
[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]ping 192.168.0.100
Reading data from NAND FLASH without ECC is not recommended
PING 192.168.0.100 (192.168.0.100): 56 data bytes
ping: sendto: Network is unreachable
[05;32m[root@~]#[00;34m]ifconfig
[05;32m[root@~]#[00;34m]ls
[05;32m[root@~]#[00;34m]mkdir
BusyBox v1.9.2 (2009-01-22 09:35:41 CST) multi-call binary
Usage: mkdir [OPTION] DIRECTORY...
Create the DIRECTORY(ies) if they do not already exist
我想问一下,为什么加载后使用命令时看不到信息呢?例如ls,mkdir命令时没有任何信息,我的文件系统有问题吗??
|
ls -al
看看有文件名或者一个点
mkdir abc
没有提示就是正确的
ls abc
看看建立成功了没有
看看有文件名或者一个点
mkdir abc
没有提示就是正确的
ls abc
看看建立成功了没有
|
文件系统在nand flash上,可能坏了,重新烧下文件系统