Charles Steinkuehler wrote: > > > I studied why Charles coded this the way it is and decided that this > > simple rc script is probably the best way. Since the current mechanism > > bases the backup destination on whence the package last came -- this is > > a good thing -- I don't see an easy fix. Without some manual > > configuration, how will the system know -- at startup -- where you > > prefer to backup packages? > > > > Of course, it is possible that the post-startup backup process can test > > backup destinations for write-ability. Is this complication really > > warranted? > <snip> > > I wonder what Charles has up his sleeve? > > You pegged why the existing system currently works the way it does. > > The best I've come up with for changing it is a slight modification of your > recommendation, above. The initrd script would look at where the package > was last loaded from (ie the existing default backup path). If that > location was *NOT* writable, the package path would be traversed to find the > first writable location, which would be used as the default backup path.
Since I have already written code to do this for the diskfree routine -- if only I can complete registration to leaf/sourceforge and publish it! -- I can certainly do this, as well. Actually, I thought of that; but, stopped short, not knowing where you thought to go and not daring assume that simple sort -- regardless of incoming order -- of writeable devices was sufficient . . . -- Best Regards, mds mds resource 888.250.3987 Dare to fix things before they break . . . Our capacity for understanding is inversely proportional to how much we think we know. The more I know, the more I know I don't know . . . _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel