Getting DriveFormat from a UNC path

L

linearred

Hey folks,

Is there a way to get the file system format type from a UNC path? We have
an app that's using alternate data streams for storing thumbnails, and we'd
like to be able to check in advance for non-NTFS file systems (which don't
support ADS). "DriveInfo" has a "DriveFormat" property, but DriveInfo seems
to be limited to letter-mapped drives.

Thanks,
Bill
 
L

linearred

Well, on second look, getting the drive format may not matter. I mapped a
drive letter to a Samba file share UNC address on a Solaris box.
DriveInfo.DriveFormat on the mapped letter returned "NTFS", but it appears
that the volume still does not support alternate data streams. (In theory,
is an NTFS volume actually required to support ADS streams, or is that an
optional feature... or is this a Samba bug?)

Thanks.
 
L

linearred

Thanks for the tips, Pete.

FYI, alternate data streams do work on at least one other enterprise level
Windows network share I've tested in our network, so it doesn't seem to be a
Windows networking issue per se.
 
L

linearred

Just to distinguish it from a desktop share. I don't kow what the company's
Windows file server farms are actually running on, or what the underlying
network connection actually is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top