Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Couldn't understand your scheme' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Couldn't understand your scheme
Authored by: Phoenix1701 on Mar 10, '03 05:41:45AM

Well, as for the question about CDs, the idea was that if the current folder is on a read-only volume, the Finder will look for a .DS_Store file in that directory first before referring to the global one in your home directory. Therefore, to make a CD look the same on all machines, just include a .DS_Store file on it. (Of course, you'd have to do this with some program other than the Finder... Disk Copy perhaps?)

In regards to the UFS/HFS+ issue, the reason I draw a distinction is because -- to my knowledge -- UFS does not support filesystem IDs for files. (If that's wrong, and Apple has just been using hard-coded paths for things for no reason whatsoever, someone on the Finder team needs to be throttled.) Therefore, the entire scheme I suggested would break on a UFS volume. :(



[ Reply to This | # ]
DS_Store files do have file names
Authored by: noworryz on Mar 10, '03 10:25:01AM

The .DS_Store files do have file names in them -- that's so they can work on UFS volumes. Furthermore, the characteristics of folders move with their names. You can prove this by renaming a folder in the terminal, creating a new one with the old name, and relaunching the terminal. The new folder you created will have the old folder's characteristics (background, etc.). The .DS_Store mechanism apparently does not use HFS+ file IDs at all.

The .DS_Store files do not have full paths names in them. There is no need, for the file names always refer to the files and folders in the same directory.

All this is easily verified using HexEdit and some simple experiments.

[ Reply to This | # ]