首页 > 试题广场 >

The directory structure of a

[问答题]

The directory structure of a Linux operating system could comprise of files corresponding to different file systems,including the Linux /proc file system.What are the implications that arise from having to support different filesystem types on the structure of the Linux kernel?

推荐

Answer:There are many implications to having to support different filesystem types within the Linux kernel.For one thing,the filesystem interface should be independent of the data layouts and data structures used within the filesystem to store file data.For another thing,it might have to provide interfaces to filesystems where the filedata is not static data and is not even stored on the disk;instead,the filedata could be computed every time an operation is invoked to access it as is the case with the/proc filesystem.These call for a fairly general virtual interface to sit on top of the different filesystems.


发表于 2018-05-05 21:05:21 回复(0)