<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx</link><description>In the old days of MS-DOS and Windows 95 you could identify any volume by its drive letter. Things were so easy. But not anymore after we shipped Windows 2000. In W2K you could also have mount points - volumes mounted under certain directories. This feature</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#408963</link><pubDate>Sun, 17 Apr 2005 13:17:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:408963</guid><dc:creator>oshah</dc:creator><description>On the subject of cyclic mount points,&lt;br&gt;you can also get the same thing if your program walks down shell links (shortcuts). One program I'm pointing the finger at is Winamp.&lt;br&gt;&lt;br&gt;&lt;br&gt;PS ConvertStringSecurityDescriptorToSecurityDescriptor() is longer!</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#408966</link><pubDate>Sun, 17 Apr 2005 14:01:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:408966</guid><dc:creator>Random Reader</dc:creator><description>Just checking whether a directory has the FILE_ATTRIBUTE_REPARSE_POINT attribute won't necessarily tell you if you're in a mount point though, right?  The reparse tag could belong to a Junction, Remote Storage, or a third-party filter.  You'd also want to check that dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT.</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#409001</link><pubDate>Sun, 17 Apr 2005 19:27:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409001</guid><dc:creator>Reuven</dc:creator><description>The requirement to doubly call GetVolumeNameForVolumeMountPoint twice before is one that few people know about, and causes subtle bugs.  Actually, this doesn't completely fix the problem.  The mount manager stores the list of volume names in the registry, and it chooses the alphabetically earliest one as its the canonical name.  If a new volume name shows up after you call GetVolumeNameForVolumeMountPoint twice, things still won't work!&lt;br&gt;&lt;br&gt;What to do about this?  Well you could ignore it.  Calling GetVolumeNameForVolumeMountPoint twice almost completely fixes the problem;  a new volume name showing up in that window is highly unlikely.  Another possibility is to call GetDosDevice on both volumes and compare the device names.  The device names will always match if the volume is the same, making this a safe comparison.</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#409040</link><pubDate>Mon, 18 Apr 2005 02:20:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409040</guid><dc:creator>AdiOltean</dc:creator><description>&amp;gt;&amp;gt;&amp;gt; Just checking whether a directory has the FILE_ATTRIBUTE_REPARSE_POINT attribute won't necessarily tell you if you're in a mount point though, right? The reparse tag could belong to a Junction, Remote Storage, or a third-party filter. You'd also want to check that dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT. &lt;br&gt;&lt;br&gt;You are absolutely right.</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#409240</link><pubDate>Mon, 18 Apr 2005 17:57:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409240</guid><dc:creator>Roland Kaufmann</dc:creator><description>While we're at the subject; it would be interesting to know what &amp;quot;magic&amp;quot; that must be performed first to allow to specify a native path under \Device\LanmanRedirector as a reparse target to DeviceIoControl().</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#409410</link><pubDate>Tue, 19 Apr 2005 00:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:409410</guid><dc:creator>AdiOltean</dc:creator><description>&amp;gt;&amp;gt;&amp;gt; While we're at the subject; it would be interesting to know what &amp;quot;magic&amp;quot; that must be performed first to allow to specify a native path under \Device\LanmanRedirector as a reparse target to DeviceIoControl(). &lt;br&gt;&lt;br&gt;What do you mean by &amp;quot;reparse target to DeviceIoControl&amp;quot;? DeviceIoControl is just a method to send IOCTLs/FSCTLs to any device in the system.</description></item><item><title>How to get the label from a volume on a hidden partition?</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#414723</link><pubDate>Wed, 04 May 2005 22:59:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:414723</guid><dc:creator>ms007</dc:creator><description>Does anyone know how to pull the volume information for a hidden, or &lt;br&gt;unidentified volume?  I'm mainly looking for the volume label, but &lt;br&gt;will &lt;br&gt;also need the disk extents to match them up. &lt;br&gt;&lt;br&gt;&lt;br&gt;Disk Management views this partition as a Healthy (Unknown Partition), &lt;br&gt;and also identifies the volume label.  I can't see that &lt;br&gt;GetVolumeInformation works on anything but a Drive Letter or Volume &lt;br&gt;GUID, or am I mistaken?  Any help figuring out how to read the volume &lt;br&gt;identifying information from a partition would be greatly appreciated!</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#414741</link><pubDate>Wed, 04 May 2005 23:44:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:414741</guid><dc:creator>AdiOltean</dc:creator><description>&amp;gt;&amp;gt;&amp;gt; Disk Management views this partition as a Healthy (Unknown Partition), and also identifies the volume label. I can't see that GetVolumeInformation works on anything but a Drive Letter or Volume GUID, or am I mistaken? Any help figuring out how to read the volume identifying information from a partition would be greatly appreciated! &lt;br&gt;&lt;br&gt;You might want to use the WMI API to enumerate all partitions on a disk, and get their properties. See the last sample code at &lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_tasks__disks_and_file_systems.asp"&gt;http://msdn.microsoft.com/library/en-us/wmisdk/wmi/wmi_tasks__disks_and_file_systems.asp&lt;/a&gt; for more details...</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#414789</link><pubDate>Thu, 05 May 2005 02:13:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:414789</guid><dc:creator>Mike Cooper</dc:creator><description>Any idea how to get a Volume Name (\\?\Vol{GUID}) or drive letter for a given disk XX + partition XX?  i.e. If I have a partition table for DiskDrive0 I need to find out what volume/drive letter is on DiskDrive0 Partition 1.  I can't seem to find any API's or registry data which gets me there.</description></item><item><title>re: NTFS Curiosities (part 2): Volumes, volume names and mount points</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#414808</link><pubDate>Thu, 05 May 2005 04:30:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:414808</guid><dc:creator>AdiOltean</dc:creator><description>&amp;gt;&amp;gt;&amp;gt; Any idea how to get a Volume Name (\\?\Vol{GUID}) or drive letter for a given disk XX + partition XX? i.e. If I have a partition table for DiskDrive0 I need to find out what volume/drive letter is on DiskDrive0 Partition 1. I can't seem to find any API's or registry data which gets me there. &lt;br&gt;&lt;br&gt;&lt;br&gt;I added the response here: &lt;br&gt;&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/adioltean/archive/2005/05/04/414806.aspx"&gt;http://blogs.msdn.com/adioltean/archive/2005/05/04/414806.aspx&lt;/a&gt;</description></item><item><title>Alcohol Drinks and Birthdays &amp;raquo; Antimail : NTFS Curiosities (part 2): Volumes volume names and mount &amp;#8230;</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#8354549</link><pubDate>Thu, 03 Apr 2008 21:12:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8354549</guid><dc:creator>Alcohol Drinks and Birthdays » Antimail : NTFS Curiosities (part 2): Volumes volume names and mount …</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://drinksandbirthdaysblog.info/antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount/"&gt;http://drinksandbirthdaysblog.info/antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Alcohol Drinks and Airport Delays &amp;raquo; Antimail : NTFS Curiosities (part 2): Volumes volume names and mount &amp;#8230;</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#8358328</link><pubDate>Sat, 05 Apr 2008 00:03:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8358328</guid><dc:creator>Alcohol Drinks and Airport Delays &amp;raquo; Antimail : NTFS Curiosities (part 2): Volumes volume names and mount &amp;#8230;</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://drinksairportsblog.info/antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount/"&gt;http://drinksairportsblog.info/antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>Broken and Ill-Documented API for Windows Mount-Points &amp;laquo; Brainrack Aborning - Developing a Search Engine</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#8556924</link><pubDate>Wed, 28 May 2008 23:25:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8556924</guid><dc:creator>Broken and Ill-Documented API for Windows Mount-Points &amp;laquo; Brainrack Aborning - Developing a Search Engine</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://brainrack.wordpress.com/2008/05/28/broken-and-ill-documented-api-for-windows-mount-points/"&gt;http://brainrack.wordpress.com/2008/05/28/broken-and-ill-documented-api-for-windows-mount-points/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>what is a volume label for ntfs</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#8668862</link><pubDate>Mon, 30 Jun 2008 02:04:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8668862</guid><dc:creator>what is a volume label for ntfs</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://ezra.sextalessite.com/whatisavolumelabelforntfs.html"&gt;http://ezra.sextalessite.com/whatisavolumelabelforntfs.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Antimail NTFS Curiosities part 2 Volumes volume names and mount | Indoor Grills</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#9675244</link><pubDate>Mon, 01 Jun 2009 10:45:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9675244</guid><dc:creator> Antimail NTFS Curiosities part 2 Volumes volume names and mount | Indoor Grills</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://indoorgrillsrecipes.info/story.php?id=3174"&gt;http://indoorgrillsrecipes.info/story.php?id=3174&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Antimail NTFS Curiosities part 2 Volumes volume names and mount | Cast Iron Cookware</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#9729147</link><pubDate>Fri, 12 Jun 2009 05:58:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9729147</guid><dc:creator> Antimail NTFS Curiosities part 2 Volumes volume names and mount | Cast Iron Cookware</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://castironbakeware.info/story.php?title=antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount"&gt;http://castironbakeware.info/story.php?title=antimail-ntfs-curiosities-part-2-volumes-volume-names-and-mount&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Antimail NTFS Curiosities part 2 Volumes volume names and mount | debt consolidator</title><link>http://blogs.msdn.com/adioltean/archive/2005/04/16/408947.aspx#9755212</link><pubDate>Mon, 15 Jun 2009 23:08:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9755212</guid><dc:creator> Antimail NTFS Curiosities part 2 Volumes volume names and mount | debt consolidator</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mydebtconsolidator.info/story.php?id=20182"&gt;http://mydebtconsolidator.info/story.php?id=20182&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>