[Voyage-linux] How does RO/RW Filesystem work?

Chris Morley (spam-protected)
Fri Mar 14 04:24:30 HKT 2008


Hi, to enable me to install packages and make symbolic links in the right places, would anyone be kind enough to clarify how the read only, read write file system works?
 
I have seen snippets in previous mailing list conversations: "The /ro directory is copied in the boot process to the /rw system which lives in a TMPFS structure, so, no power, no more bits."
 
However checking /ro/etc/ on my box:
route-hq:/etc# ls -ln /ro/etctotal 20-rw-r--r-- 1 0 0   44 Feb 17 00:22 adjtime-rw-r--r-- 1 0 0   28 Oct 28  2006 issue-rw-r--r-- 1 0 0   21 Oct 28  2006 issue.net-rw-r--r-- 1 0 0    0 Feb 29 14:49 mtab~drwxr-xr-x 3 0 0 4096 Feb 29 14:49 network-rw-r--r-- 1 0 0   53 Jul 28  2007 resolv.conf
 
and comparing with /etc/ i know /etc/ has a lot more files in it, so i don't understand or i cannot see how these files are getting copied from as they certainly don't seem to be coming from the /ro directory.
Also, looking at the scripts remountro and remountrw i see a binary called sync is called, is this a custom written application? Does it search the /rw file system for changes and write to /ro?
 
Many thanks,
 
Chris
_________________________________________________________________
Telly addicts unite!
http://www.searchgamesbox.com/tvtown.shtml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20080313/6054a2ce/attachment.html>


More information about the Voyage-linux mailing list