Creating files in root file system

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Creating files in root file system

1,548 次查看
Nich
Contributor III

Hi all,

 

I have a question regarding file system produced by BSP for MPC8308 evaluation board.

I start Linux with "run flashramboot" command in U-Boot. Then in Linux I can successfully create some files in file system. But after restart all files disappear. I tried to create files in different folders: "/", "/home/user", may be somewhere else... and everywhere they disappear after reboot.

I checked in LTIB configuration that "read-only filesystem" option is not enabled... So at the moment I don't understand such behavior...

File system type is ext2.gz

 

Does somebody have some explanation?

0 项奖励
回复
2 回复数

1,355 次查看
TomE
Specialist II

Google for "ext.gz". ".gz" usually means "compressed with gzip". I'd say it is certainly a compressed read-only file system.

 

Type "mount" and see if there are any other partitions mounted that aren't compressed. Otherwise you'll need to add some.

 

Maybe you're meant to plug in an SD card or a USB Memory stick and use that as the read-write file system?

 

Tom

 

0 项奖励
回复

1,355 次查看
Nich
Contributor III

Yes, I have already realized that. Thanks for your response anyway.

0 项奖励
回复