[Mono-list] Registry, text or binary?

Miguel de Icaza miguel@ximian.com
18 Sep 2002 11:23:32 -0400


Hello,

> I start a implementation of Registry Classes on Linux.
> For emulate a WinRegistry classes on Linux I think to save public data 
> in the file /etc/system.reg and a private data on /home/user/.user.reg
> My problem is to decide which format to use to save data.
> Text file or binary file? If binary, What type of algoritimo to use?

I suggest you use a database like SleepyCat's db for the file format as
it supports transactions and logging.

Miguel.