PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

How to dismount all volumes on a physical drive?

 
 
stanmuffin@hotmail.com
Guest
Posts: n/a
 
      3rd Feb 2006
I'm working on a utility that will restore a disk image to a physical
drive. How can I dismount all volumes on the drive beforehand to
prevent old cache information from corrupting the drive?
FSCTL_DISMOUNT_VOLUME will dismount a volume, but how can I get a list
of the volumes on the physical drive?
IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS looks cumbersome but usable--but
it requires Windows XP and I need to run on Windows 2000 as well.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: Logical drive becomes inaccessible after dismount Andrew E. Windows XP General 0 29th Jul 2009 10:26 AM
How to dismount drive before reboot? crsmith11@cox.net Windows XP Help 2 25th Sep 2006 11:56 AM
Not able to format or dismount a drive =?Utf-8?B?c2hhbmthdHI=?= Windows XP General 1 2nd Oct 2005 11:37 PM
force dismount an usb drive? Christoph Mueller Windows XP Hardware 0 21st Aug 2004 04:30 PM
Dismount drive Mitch smith Windows XP Hardware 3 29th Sep 2003 02:39 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:02 PM.