设备卸载(PDRIVER_NLOAD)的是在你的驱动中的一个清理函数。
DriverUnload (PDRIVER_ UNLOAD) points to a cleanup function in your driver.
而使用 dnotify,文件描述符就固定了目录,妨碍备用设备卸载,这是可移动媒体的一个典型问题。
With dnotify, the file descriptor pins the directory, preventing the backing device to be unmounted, a particular problem with removable media.
卸载一个已有文件系统时,指出挂载点或者设备名其中一个就足够了,没有必要都指出。
When remounting an already mounted filesystem, it suffices to specify either the mount point or the device name. It is not necessary to specify both.
应用推荐