官术网_书友最值得收藏!

The filesystem

The filesystem is where data is stored directly to the physical disk drive. These filesystems manage how files and directories are stored in the disk. Various disk filesystems have their own variation of efficiently reading and writing data. 

There are different disk filesystems such as FAT, NTFS, ex2, ex3, XFS, and APFS. Common filesystems used by Windows are FAT32 and NTFS. Stored in the filesystem is information about the directory paths and files. It includes the filename, size of the file, date stamps, and permissions.

The following screenshot shows the information stored in the filesystem about bfsvc.exe:

In previous MacOS X versions, file information and data are stored in resource forks. Resource forks are actually deprecated but backward compatibility still exists on recent versions of MacOS. A file has two forks stored in the filesystem, the data fork and the resource fork. The data fork contains unstructured data, while the resource fork contains structured data. The resource fork contains information such as the executable machine code, icons, shape of an alert box, string used in the file, and so forth. For instance, if you wanted to back up a Mac application by simply moving it to a Windows hard drive then moving it back, the Mac application will no longer open. While transferring, only the file gets transferred but the resource fork gets stripped out in the process. Simple copy tools don't respect the forks. Instead, Mac developers developed tools to synchronize files to and from external disks.

主站蜘蛛池模板: 资阳市| 天峻县| 舒城县| 新泰市| 武汉市| 萍乡市| 龙岩市| 万年县| 喀喇| 商丘市| 吉安县| 澎湖县| 墨玉县| 乌拉特前旗| 新郑市| 宾川县| 新平| 胶州市| 齐河县| 舞阳县| 通城县| 徐闻县| 浦城县| 乌什县| 凤庆县| 鄂托克旗| 池州市| 宜君县| 来凤县| 阿巴嘎旗| 石棉县| 海兴县| 来凤县| 且末县| 河北区| 奉贤区| 松阳县| 平塘县| 阿巴嘎旗| 洛扎县| 固原市|