8 Apr 2003 13:04
Advice on Compact Flash Operation required
Thomas P. Jones <Tom.Jones <at> oceanfree.net>
2003-04-08 11:04:10 GMT
2003-04-08 11:04:10 GMT
Hi folks, I'm currently setting up a linux unit to boot and operate from a compact flash disk (SanDisk). I'd like to use webmin to configure/monitor this unit. The main goal is to reduce any writes caused by webmin to the compact flash disk - since it has a limited life time regarding writes to it. So any temporary files created during the operation of webmin I'd like to reduce or eliminate. I'll be putting /tmp and /var to a RAM Filesystem so that will help there for any writes webmin makes to those dirs. The other main thing I can think of regarding webmin is the creation/deletion of lock files by the lock_file and unlock_file functions. My idea here is to modify these functions to create/delete this lock file from under the /tmp/.webmin dir (ie the pathname of the file with the .lock extension could be created with the root dir being /tmp/.webmin instead of /. eg /tmp/.webmin/etc/resolv.conf.lock instead of /etc/resolv.conf.lock) Is there any other element of webmin that I have overlooked that should need changing as well ? I'd be interested in any advice you may have on(Continue reading)
RSS Feed