Creating files in root file system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating files in root file system

1,422 Views
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 Kudos
Reply
2 Replies

1,229 Views
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 Kudos
Reply

1,229 Views
Nich
Contributor III

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

0 Kudos
Reply