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

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.

主站蜘蛛池模板: 常州市| 德钦县| 建始县| 灵宝市| 布拖县| 博湖县| 赣州市| 新化县| 昌黎县| 石家庄市| 湖南省| 乌兰察布市| 白山市| 井冈山市| 佛坪县| 汝南县| 江阴市| 福安市| 中西区| 宁南县| 白水县| 肥西县| 孝义市| 金华市| 潍坊市| 织金县| 巴中市| 固原市| 临潭县| 吴忠市| 额济纳旗| 泰宁县| 太和县| 仙居县| 遂昌县| 宁国市| 台北市| 武汉市| 黔东| 通城县| 武夷山市|