Getting a volume's free space...

What is the best (safest) method to determine the amount of free space on a
given volume? Can this be done without relying upon file system specifics
(i.e. ntfs vs. fat, etc…)?

tia. - jb


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

GetDiskFreeSpace(Ex)

-----Original Message-----
From: Jonathan Borden [mailto:xxxxx@earthlink.net]
Sent: Wednesday, March 21, 2001 7:08 AM
To: File Systems Developers
Subject: [ntfsd] Getting a volume’s free space…

What is the best (safest) method to determine the amount of free space
on a
given volume? Can this be done without relying upon file system
specifics
(i.e. ntfs vs. fat, etc…)?

tia. - jb


You are currently subscribed to ntfsd as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Sorry 'bout this, but I believe the GetDiskFreeSpace(Ex) is a Win32 call. I
should be more clear. I need to get the free space for a volume in
Kernel-land. Any ideas?

thanks! - jb

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Nathan Nesbit
Sent: Wednesday, March 21, 2001 12:36 PM
To: File Systems Developers
Subject: [ntfsd] RE: Getting a volume’s free space…

GetDiskFreeSpace(Ex)

-----Original Message-----
From: Jonathan Borden [mailto:xxxxx@earthlink.net]
Sent: Wednesday, March 21, 2001 7:08 AM
To: File Systems Developers
Subject: [ntfsd] Getting a volume’s free space…

What is the best (safest) method to determine the amount of free space
on a
given volume? Can this be done without relying upon file system
specifics
(i.e. ntfs vs. fat, etc…)?

tia. - jb


You are currently subscribed to ntfsd as: xxxxx@microsoft.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: xxxxx@earthlink.net
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

IoQueryVolumeInformation()

with a volume file object, class FileFsSizeInformation,
FILE_FS_SIZE_INFORMATION.

Bytes free on volume is
AvailableAllocationUnits*SectorsPerAllocationUnit*BytesPerSector.

John

----- Original Message -----
From: “Jonathan Borden”
To: “File Systems Developers”
Sent: Wednesday, March 21, 2001 11:43 AM
Subject: [ntfsd] RE: Getting a volume’s free space…

> Sorry 'bout this, but I believe the GetDiskFreeSpace(Ex) is a Win32 call.
I
> should be more clear. I need to get the free space for a volume in
> Kernel-land. Any ideas?
>
> thanks! - jb
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Nathan Nesbit
> Sent: Wednesday, March 21, 2001 12:36 PM
> To: File Systems Developers
> Subject: [ntfsd] RE: Getting a volume’s free space…
>
>
> GetDiskFreeSpace(Ex)
>
> -----Original Message-----
> From: Jonathan Borden [mailto:xxxxx@earthlink.net]
> Sent: Wednesday, March 21, 2001 7:08 AM
> To: File Systems Developers
> Subject: [ntfsd] Getting a volume’s free space…
>
>
> What is the best (safest) method to determine the amount of free space
> on a
> given volume? Can this be done without relying upon file system
> specifics
> (i.e. ntfs vs. fat, etc…)?
>
> tia. - jb
>
> —
> You are currently subscribed to ntfsd as: xxxxx@microsoft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
> —
> You are currently subscribed to ntfsd as: xxxxx@earthlink.net
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@paceap.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com