On Tue, 2005-09-06 at 19:40, Manuel BERTRAND wrote: > > > >>2) Change the format of lastlog so it doesn't use a sparse file. This > >>isn't trivial, but I think it's probably the best solution in the long > >>run (unless #1 happens). > >> > >> > > > >This is painful for most ways of backing up and cloning systems too. > >How about gdbm format as something that would work with miminal > >changes? > > > > > > > I dont get it. lastlog is in dbm format and if it is converted to gdbm > it wont't be a sparse file anymore ? Gdbm files aren't sparse but it provides a backwards compatible api for old dbm and ndbm so it should work with minimal program changes. Of course the file format is incompatible and everything that uses it would have to be changed at once. -- Les Mikesell lesmikesell at gmail.com