Yes it would but... I believe the whole point of the RO model using CF disks is for the protection of the CF as the older ones used to ware out due to limited writes, however I have heard good reports on the Soekris broads of them lasting a very long time these days and in fact I have just installed a RW openBSD system on one.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 01 February 2008 15:33 To: [EMAIL PROTECTED] Subject: RE: [Voyage-linux] RW/RO File System Hi Wayne, Thanks for the suggestion, Using a USB type stick isn't really an option unfortunately, however, how about I create a small separate partition on the disk? Could that work? Rob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] yage .hk] On Behalf Of Wayne Lee Sent: 01 February 2008 15:15 To: [EMAIL PROTECTED] Subject: RE: [Voyage-linux] RW/RO File System Yes I would use the inbuilt scripts remountrw remountro Perhaps you could call remountrw at the beginning of the script and call remountro at the end. How often is the application used? The alternative is to use a USB stick for the RW media and then keep the OS in RO mode (I would do this). Wayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 01 February 2008 15:08 To: [EMAIL PROTECTED] Subject: RE: [Voyage-linux] RW/RO File System Hi Wayne, Thanks for your reply, I think I'm starting to understand now. So the idea is that I would have my applications write their information over to the RW partition, then have a bash script in CRON which mounts the FS into RW, copies the files into RO and then remounts the FS back into RO mode, is that right? The only problem I can see with this is that is one of my dynamic files is updated by my application and the box is then rebooted before CRON has chance to run then my data is lost, which isn't really ideal. Have I got that principle right? Thanks for explaining this, Rob -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] yage .hk] On Behalf Of Wayne Lee Sent: 01 February 2008 14:55 To: [EMAIL PROTECTED] Subject: RE: [Voyage-linux] RW/RO File System Hello The RW directory is built from the RO directory at boot, if you want to keep files they should be written into RO, you will probably need a sync script to run in cron if you need to keep log files or other dynamic files across reboots. Wayne -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Rawlins - Think Blue Sent: 01 February 2008 14:34 To: 'voyage-linux' Subject: RE: [Voyage-linux] RW/RO File System Hi Punky, Thanks for getting back to me mate, I appreciate it. I've taken a look into my /ect/fstab file and it looks as follows: #/dev/hda1 / ext2 defaults,noatime,rw 0 0 proc /proc proc defaults 0 0 tmpfs /rw tmpfs defaults,size=8M 0 0 Now to me this would indicate that I have 8Mb of file storage mounted we RW in my /rw/ directory, however, when I place files in here and reboot the system, they disappear, is that what's meant to happen? I need to keep these files even once a reboot has occurred. Thanks, Rob -----Original Message----- From: Kim-man 'Punky' Tse [mailto:[EMAIL PROTECTED] Sent: 01 February 2008 14:20 To: Robert Rawlins - Think Blue Cc: 'voyage-linux' Subject: Re: [Voyage-linux] RW/RO File System Rob, Read /etc/fstab and you should be able to figure it out. Regards, Punky Robert Rawlins - Think Blue wrote: > > Hello Guys, > > I'm still trying to get my head around the RW/RO file system with > Voyage as it's not the sort of things I've ever worked with before. > Until now I've been removing this feature and using it like a standard > FS but feel it's about time I grew up and started using it properly J > > Nearly all my files on the system are Read-Only and I have a log file > and a couple of XML files which need to be written to on a fairly > regular basis, and remain on the FS even in the event of a reboot. > > Now, my current understanding is that the entire FS is mounted as RO > and a small little piece about 8Mb is size is left as RW for me to be > able to write my logs and XML files too, is that correct? If so, then > where is that space? And in addition, am I able to expand that space > to a little larger than 8Mb, maybe 25mb? > > Thanks guys, I would really appreciate some help as I couldn't find > anything in the Wiki on it. > > Cheers, apologies for the noobish question. > > Rob > > ------------------------------------------------------------------------ > > _______________________________________________ > Voyage-linux mailing list > [email protected] > http://list.voyage.hk/mailman/listinfo/voyage-linux > _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux _______________________________________________ Voyage-linux mailing list [email protected] http://list.voyage.hk/mailman/listinfo/voyage-linux
