0

I am working on an upper volume filter driver using diskperf as base. Can any one tell me how can I identify a system reserved partition at boot time?

  • http://stackoverflow.com/questions/15361617/retrieve-the-partition-number-of-bootmgr-on-windows-vista-and-later/15366989#15366989 – Xearinox Mar 28 '13 at 14:46
  • Hi, @Xearinox, Thanks for your reply, the link that you provided didn't helped. I want to find the "system reserved partition" when the system is booting, through code in 'C' as I am working on an upper volume filter driver. – user1878817 Mar 29 '13 at 10:01
  • I understand, but what is problem? – Xearinox Mar 29 '13 at 14:29
  • Read registry value from filter. – Xearinox Mar 29 '13 at 14:30
  • You first need to define what *exactly* you mean by "system reserved partition". The bootable partition created during Windows setup? The currently active partition? The partition whose *name* is "System Reserved"? Something else? – Harry Johnston Mar 31 '13 at 08:45
  • Hi @Harry Johnston, I want to identify the partition whose name is "System Reserved" which occupies around 100Mb. – user1878817 Apr 01 '13 at 06:30
  • I believe that sending a `IOCTL_DISK_GET_PARTITION_INFO_EX` request down the volume stack will give you information about the partition associated with that volume (or perhaps all partitions on the drive, the documentation is a bit unclear). Alternatively, `IOCTL_DISK_GET_DRIVE_LAYOUT_EX` should give you information about all the partitions on the drive, in addition to other information about the drive itself. – Harry Johnston Apr 02 '13 at 20:32

0 Answers0