В сообщении от Thursday 24 July 2008 22:00:45 Brown, Daniel написал(а):
> Morning List,
>
> Another morning another question, what sort of facilities does SQLite
> provide for Loading from a read only storage location and then saving
> changes to a separate read/write storage unit?  I know I can open a
> database file with a read only flag but how would I go about managing
> the changes to that database and storing them to a separate storage
> device?  

unionfs?

$ aptitude show funionfs
" Funionfs is a filesystem which concatenate two or more directories. These 
directories are hierarchised by Funionfs. Typically, you could use a mounted
 filesystem wich is in read-only where you only read files and an upper 
filesystem (empty at the start of the system) where you write modifications.

 If you are looking for a kernel-space implementation rather than a 
user-space, you want to go with unionfs or aufs."

So, you can open database from read-only FS and succesfully write to it - 
unionfs module provided to save mobifications on separate directory on 
writeable FS.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to