4 ms·
How do other OSes handle the same functionality without placing machine files in the users filesystem?
by sydthrowaway 5y ago
How do other OSes handle the same functionality without placing machine files in the users filesystem?
- paulgb 5y agoI was curious as well. Apparently in Windows, they're stored in the registry: https://superuser.com/questions/625854/where-does-windows-store-icon-positions https://superuser.com/questions/625854/where-does-windows-st...
- burnte 5y agoBy using features of the file system for storing metadata. Alternate file streams, journals, Master File Table, etc.
- jeroenhd 5y agoOn filesystems that support the features: in the file system itself. On filesystems that don't support the features: somewhere on the system itself (like in the registry on Windows) or not at all (for example, when trying to set permissions on FAT32). Other operating systems generally don't create hidden files for this reason. They do, however, create their own versions of the recycle bin/trash folder. If you use a flash drive on macOS, Windows and some Linux environments, you'll end up with three different recycle bin/trash folders. A bit annoying, but those folders are usually empty anyway. Windows warns about the inability to copy permissions to FAT32 (in some cases, at least) and some command line tools on Linux do as well, but it depends on the tool.
- bombcar 5y agoIt would be nice if Linux at least could see the Recycle or Trash folder and use what’s already there. Even better if both macos and Windows started doing the same.
- cozzyd 5y agoMy reflex of rsync -avh -P /foo /mnt/exfat-partition will fail in a confusing way until you figure out how to copy everything but permissions.
- user5994461 5y agoWindows has the desktop.ini file to support some similar functionalities.