On Nov 8, 6:24 pm, Jason8 <[EMAIL PROTECTED]> wrote:
> Hi:
>
> Is it possible to set the disk options like capacity, used, free:
>
> [EMAIL PROTECTED] 0Bi 0Bi 0Bi
> 100% /Volumes/auxfs
>
> If they can not be set, do we know why?
We do know that you haven't looked at the documentation for this.
Based on an earlier post by you, it sounds like you are using the
Objective-C bindings to MacFUSE. If you read the documentation within
the GMUserFileSystem.h header, you will see:
// The following keys are currently supported (unknown keys are
ignored):
// NSFileSystemSize
// NSFileSystemFreeSize
// NSFileSystemNodes
// NSFileSystemFreeNodes
// kGMUserFileSystemVolumeSupportsExtendedDatesKey [NSNumber
boolean]
//
// BSD-equivalent: statvfs(3)
- (NSDictionary *)attributesOfFileSystemForPath:(NSString *)path
error:(NSError **)error;
...
By the way, these aren't "disk options". They are file system
statistics (or attributes). Not every file system has a "disk" behind
it.
Amit
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"MacFUSE" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/macfuse?hl=en
-~----------~----~----~----~------~----~------~--~---