![]() |
| Home |
|
|
Physical Device FilesPhysical device files are similar to logical drive files. However, device files span a complete hard disk, not just a single logical drive of that disk. Since device files would be identical to logical drive files on floppy disks, they are not required here. The file name of a device file is \\.\PHYSICALDRIVEx where x is a digit representing the xth hard disk. Thus, file name \\.\PHYSICALDRIVE0 would open the first hard disk, \\.\PHYSICALDRIVE1 the second, etc. Hard disks are numbered starting with 0 for each RTF_DEVICE_FDISK entry in RTFiles-32's device list which are mounted successfully. For obvious reasons, using logical drive files and physical device files with read/write access is dangerous. Writing incorrect data to critical areas of a device such as the partition table, a boot record, the FAT or directory can completely destroy a file system.
|