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

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.

主站蜘蛛池模板: 松滋市| 宁南县| 平陆县| 崇文区| 治多县| 那坡县| 家居| 天等县| 辉南县| 伊宁市| 兴安县| 江源县| 商南县| 石台县| 南开区| 新乡县| 普陀区| 东源县| 赤水市| 太白县| 哈巴河县| 搜索| 安新县| 西乌珠穆沁旗| 云浮市| 铜川市| 凉山| 尖扎县| 会宁县| 宣化县| 台中市| 崇义县| 淳安县| 克什克腾旗| 博罗县| 应城市| 抚州市| 乐清市| 建昌县| 额尔古纳市| 托里县|