Michael Knill wrote: > The group > > To enable phone configuration file management, I want to create an > extension to MAC map. I am using Aastra 5i phones which have excellent > XML features. One of these features is an action URI which performs an > XML get for a particular action, one being on phone registration. As the > phone inserts the MAC address in the HTTP header and the extension > number can be inserted as a parameter, it would be possible to > dynamically create an extension to MAC map for use by a phone > configuration GUI. > > The ASTDB could be used for this purpose however I am concerned that > this will increase the number of writes to the flash, reducing its life. > As such, I want to write the registration details to the RAM disk as it > is dynamic and I need to be able to perform simultaneous writes to it. > > Not knowing a gread deal about Linux and the ASTLinux file system, can > anyone tell me how I could do this? > > Thanks > Mike
Mike, That's an interesting idea. I'm not familiar with the Aastra phones. I would not be concerned about excessive writes from astdb. Most good cf cards use wear leveling to spread the writes out over the device. Look at the specifics for the flash device you're using, but I don't think it will be an issue. If you really want this to be in ram and not on the key disk, you simply can remove the astdb file from the key disk, reboot and astdb will be /tmp/astdb instead of a symlink to the file on the key disk. Darrick -- Darrick Hartman DJH Solutions, LLC http://www.djhsolutions.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to [EMAIL PROTECTED]