GMUserFileSystem


Discussion

Contains the class and delegate methods used to create a user space file system. Typical use would be to instantiate a GMUserFileSystem instance, providing a delegate that implements the core methods of the file system. The GMUserFileSystem object can then be mounted at a specified path and will pass on file system operations to its delegate until it is unmounted.



Classes

GMUserFileSystem

Categories

NSObject(GMUserFileSystemLifecycle)
NSObject(GMUserFileSystemOperations)
NSObject(GMUserFileSystemResourceForks)


Constants


kGMUserFileSystemErrorDomain


Error domain for GMUserFileSystem specific errors

extern NSString* const kGMUserFileSystemErrorDomain;  


kGMUserFileSystemMountPathKey


Key in notification dictionary for mount path

extern NSString* const kGMUserFileSystemMountPathKey;  
Discussion

The value will be an NSString that is the mount path.


kGMUserFileSystemErrorKey


Key in notification dictionary for an error

extern NSString* const kGMUserFileSystemErrorKey;  


kGMUserFileSystemMountFailed


Notification sent when the mountAtPath operation fails.

extern NSString* const kGMUserFileSystemMountFailed;  
Discussion

The userInfo will contain an kGMUserFileSystemErrorKey with an NSError* that describes the error.


kGMUserFileSystemDidMount


Notification sent after the filesystem is successfully mounted.

extern NSString* const kGMUserFileSystemDidMount;  


kGMUserFileSystemDidUnmount


Notification sent after the filesystem is successfully unmounted.

extern NSString* const kGMUserFileSystemDidUnmount;  


kGMUserFileSystemFileFlagsKey


File flags.

extern NSString* const kGMUserFileSystemFileFlagsKey;  
Discussion

The value should be an NSNumber* with uint32 value that is the file st_flags (man 2 stat).


kGMUserFileSystemFileAccessDateKey


File access date.

extern NSString* const kGMUserFileSystemFileAccessDateKey;  
Discussion

The value should be an NSDate that is the last file access time. See st_atimespec (man 2 stat).


kGMUserFileSystemFileChangeDateKey


File status change date.

extern NSString* const kGMUserFileSystemFileChangeDateKey;  
Discussion

The value should be an NSDate that is the last file status change time. See st_ctimespec (man 2 stat).


kGMUserFileSystemFileBackupDateKey


For file backup date.

extern NSString* const kGMUserFileSystemFileBackupDateKey;  
Discussion

The value should be an NSDate that is the backup date.


kGMUserFileSystemVolumeSupportsExtendedDatesKey


Specifies support for extended dates.

extern NSString* const kGMUserFileSystemVolumeSupportsExtendedDatesKey;  
Discussion

The value should be a boolean NSNumber that indicates whether or not the file system supports extended dates such as creation and backup dates.


kGMUserFileSystemFinderFlagsKey


FinderInfo flags.

extern NSString* const kGMUserFileSystemFinderFlagsKey;  
Discussion

The value should contain an NSNumber created by OR'ing together Finder flags (e.g. kHasCustomIcon). See CarbonCore/Finder.h.


kGMUserFileSystemFinderExtendedFlagsKey


FinderInfo extended flags.

extern NSString* const kGMUserFileSystemFinderExtendedFlagsKey;  
Discussion

The value should contain an NSNumber created by OR'ing together extended Finder flags. See CarbonCore/Finder.h.


kGMUserFileSystemCustomIconDataKey


ResourceFork custom icon.

extern NSString* const kGMUserFileSystemCustomIconDataKey;  
Discussion

The value should be NSData for a raw .icns file.


kGMUserFileSystemWeblocURLKey


ResourceFork webloc.

extern NSString* const kGMUserFileSystemWeblocURLKey;  
Discussion

The value should be an NSURL that is the webloc.

Last Updated: Monday, November 17, 2008