File System Recognizers

File System Recognizers

转自:http://dododododo.blog.sohu.com/

 

分类: Nt System 2006-06-22 11:36

File System Recognizers

First, a file system recognizer is a standard Windows NT kernel mode device driver which serves a single simple task—it looks at physical media devices and, if it recognizes the media format, it loads the full file system driver.

Why not just load the entire file system?  Since the full file system driver might never be required on the system, using a little driver can save several hundred kilobytes of precious system memory.  For example, on a system where the CD-ROM is never accessed, the CDFS file system need never be loaded—saving that memory for more important operations.

How does a file system recognizer determine that its file system is present on a disk? Typically, this is done by examining a signature on the disk. This signature might include information within the partition table, a unique value located at a particular byte offset from the beginning of the partition, and the serial number or whatever other clever mechanism the developer might have defined.

An FSR  analyzes the media to determine if it contains a recognized file system. However, instead of mounting the drive, the FSR loads the FSD. Once the FSD is loaded, the FSR can unload since its task is done.When the File System Driver (FSD) is loaded, it is responsible for analyzing the disk and determining if the media contains a recognized file system. If it does, the FSD will then mount the drive.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值