Getting DriveFormat from a UNC path

  • Thread starter Thread starter linearred
  • Start date Start date
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
 
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.
 
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.
 
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.
 
Back
Top