ClassicFilesystem

From WebOS Internals
Revision as of 18:19, 15 October 2009 by Tgaillar (talk | contribs) (Explained file suffix naming, with credit to pruss and his famous NVBackup software for the (now outdated) PalmOS5 devices... ;-))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Classic appears to store PRCs/PDBs in: <source lang="text">/var/lib/palmos/datamgr/PALM_DM</source> You should be able to copy files from this location to /media/internal or elsewhere to maintain a backup should you decide to either do a Hard Reset of Classic, or a Hard Reset of the Pre. When either backing up or restoring in this directory, you must close Classic first. Failure to do so could yield unexpected results.

A directory listing of of a clean (just after reset) /var/lib/palmos/datamgr/PALM_DM: <source lang="text">root@castle:/var/lib/palmos/datamgr/PALM_DM# ls -al drwxr-xr-x 2 root root 4096 Aug 10 13:52 . drwxr-xr-x 3 root root 4096 Aug 10 13:52 .. -rwxr-xr-x 1 root root 2048 Aug 10 13:52 AddressDB_81800000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 CalendarDB%2DPDat_80D80000 -rwxr-xr-x 1 root root 2560 Aug 10 13:52 Camcorder%5FLoader%2DCoLo_80205000 -rwxr-xr-x 1 root root 2560 Aug 10 13:52 Camera%5FLoader%2DCmLo_81028000 -rwxr-xr-x 1 root root 148992 Aug 10 13:52 CarrierProfiles2_81000000 -rwxr-xr-x 1 root root 17920 Aug 10 13:52 ContactsANIndex%2DPAdd_80E0C000 -rwxr-xr-x 1 root root 17920 Aug 10 13:52 ContactsBDIndex%2DPAdd_80E0C000 -rwxr-xr-x 1 root root 4096 Aug 10 13:52 ContactsDB%2DPAdd_80D80000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 DatebookDB_80C00000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 Graffiti%20ShortCuts_80420000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 HSTraceDatabaseHead_E1010000 -rwxr-xr-x 1 root root 2560 Aug 10 13:52 HSTraceDatabase_E1000000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 HsSysResource68K_A4010000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 MemoDB_8C000000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 MemosDB%2DPMem_86C00000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 NVInfo%2Dpsys_E0000000 -rwxr-xr-x 1 root root 2560 Aug 10 13:52 NetworkDB_81800000 -rwxr-xr-x 1 root root 260096 Aug 10 13:52 NetworkProfiles2_81000000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 PIMsSupportStatus%2DpdmE_E8100400 -rwxr-xr-x 1 root root 3584 Aug 10 13:52 Queries_80000000 -rwxr-xr-x 1 root root 262144 Aug 10 13:52 ReserveFile -rwxr-xr-x 1 root root 3584 Aug 10 13:52 Saved%20Preferences_82000000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 System%20DB%20Chain%20Head_81A08000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 TasksDB%2DPTod_86C00000 -rwxr-xr-x 1 root root 2048 Aug 10 13:52 ToDoDB_AC000000 -rwxr-xr-x 1 root root 3072 Aug 10 13:52 Txn%20Log%2050416464_88000000 -rwxr-xr-x 1 root root 3584 Aug 10 13:52 Unsaved%20Preferences_80800000 -rwxr-xr-x 1 root root 2560 Aug 10 13:52 dfltCapRes%2DpoCL_09060000 -rwxr-xr-x 1 root root 88064 Aug 10 13:52 psysLaunchDB_08300000 </source>
The file suffix is a binary bitmap showing which letters in the file name are capitals, a technique formerly used (created?) by NVBackup[1], a powerful backup utility for NVFS-based PalmOS devices like the Centro, Treo 600+, Palm T5, TX, TE2 and LifeDrive created by pruss[2] (see his explanation in 1SRC forum[3]).