www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Limited Writes on CF?

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Embedded Devices
View previous topic :: View next topic  
Author Message
ptaylor



Joined: 07 Feb 2007
Posts: 50

PostPosted: Fri Mar 09, 2007 6:14 pm    Post subject: Limited Writes on CF? Reply with quote

Using CF has been a concern of mine because of the limited number of writes that a CF can perform before going bad. In systems like Monowall and pfSense, they are optimized so that things are written to the CF only on rare occasion. (Configuration changes in Monowall cause writes.. Same in pfSense, except they also write off historical performance data at reboot time to preserve it across reboots.)

Is Zeroshell optimized the same way? I've read here on the forums that syslogs are written to the database. Does this mean that every syslog entry causes a write to the CF? Or is the database held in memory and only written when config changes happen or on reboot?
Back to top
View user's profile Send private message
fulvio
Site Admin


Joined: 01 Nov 2006
Posts: 997

PostPosted: Fri Mar 09, 2007 8:46 pm    Post subject: Reply with quote

The compactflash image contains 3 partition:
- /dev/hda1 is the /boot that contains the kernel and the initrd images and therefore is mounted in readolny mode;
- /dev/hda2 contains the livecd iso image and therefore is readonly;
- the last partition contains the database for the configuration and it is a RW partition. I have been using this type of device for 2 years (the same compactflash) and I never had a problem. In any case you can store the database on a hard disk if you prefer.
Back to top
View user's profile Send private message Send e-mail
ana



Joined: 23 Aug 2007
Posts: 1

PostPosted: Thu Aug 23, 2007 2:29 pm    Post subject: Reply with quote

Useful info, Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Embedded Devices All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group