May-26-2025, 09:06 PM
I’m still playing around with nested dictionaries trying to store an ancient and arcane file system in memory to implement a PC <> Alpha file transfer utility. I can work with the nested directories to get what I want. But my question is this structure good programming practice, or even though I can get it to work, it’s goofed up? I don’t want build on a shaky foundation!
What’s is in the file system, and what’s being saved in case it matters to anyone.
‘ dsk0’ is the combined file-system storage-device’s logical (virtual) name (‘dsk’) and number (‘0’), hung off the device name/number are the user-account names ('1,2'), hung off the user-account names is the user-account attributes LNK (link) and PW (password), hung off the user-account attributes is the user-account files (‘AMOS .BAK’) and hung off that are that file’s attributes, ‘BLK’ (file blocks), ‘ACT’ (active bytes in last block), ‘LNK’ (link to first block in file)
curbie
What’s is in the file system, and what’s being saved in case it matters to anyone.
‘ dsk0’ is the combined file-system storage-device’s logical (virtual) name (‘dsk’) and number (‘0’), hung off the device name/number are the user-account names ('1,2'), hung off the user-account names is the user-account attributes LNK (link) and PW (password), hung off the user-account attributes is the user-account files (‘AMOS .BAK’) and hung off that are that file’s attributes, ‘BLK’ (file blocks), ‘ACT’ (active bytes in last block), ‘LNK’ (link to first block in file)
Output:{'dsk0': {'1,2': {'LNK': 126, 'PW': ' ', '(AMOS .BAK)': {'BLK': 108, 'ACT': 407, 'LNK': 18}, '(APDDIR.DBD)'...Full output attached.curbie
Attached Files
