22 // This method will return nil if the input path is invalid. Otherwise, the returned NSDictionary may contain |
22 // This method will return nil if the input path is invalid. Otherwise, the returned NSDictionary may contain |
23 // the following keys: |
23 // the following keys: |
24 //- NSWorkspace_RBfstypename: will always be present.Shows the filesystem type (usually "hfs"), from statfs. |
24 //- NSWorkspace_RBfstypename: will always be present.Shows the filesystem type (usually "hfs"), from statfs. |
25 //- NSWorkspace_RBmntonname: will always be present. Shows the volume mount point. |
25 //- NSWorkspace_RBmntonname: will always be present. Shows the volume mount point. |
26 //- NSWorkspace_RBmntfromname: will always be present. Shows the BSD device path for local volumes; info for |
26 //- NSWorkspace_RBmntfromname: will always be present. Shows the BSD device path for local volumes; info for |
27 // remote volumes depends on the filesystem type. |
27 // remote volumes depends on the filesystem type. |
28 //- NSWorkspace_RBconnectiontype: should always be present for local volumes. Shows the connection type ("SATA", "USB", etc.). |
28 //- NSWorkspace_RBconnectiontype: should always be present for local volumes. Shows the connection type ("SATA", "USB", etc.). |
29 //- NSWorkspace_RBpartitionscheme: should always be present for local volumes. Shows the partition scheme. |
29 //- NSWorkspace_RBpartitionscheme: should always be present for local volumes. Shows the partition scheme. |
30 //- NSWorkspace_RBdeviceinfo: should always be present for local volumes. Shows some information about the |
30 //- NSWorkspace_RBdeviceinfo: should always be present for local volumes. Shows some information about the |
31 // physical device; varies widely. |
31 // physical device; varies widely. |
32 //- NSWorkspace_RBimagefilepath: should be present for disk images only. Shows the path of the disk image file. |
32 //- NSWorkspace_RBimagefilepath: should be present for disk images only. Shows the path of the disk image file. |
33 //- NSWorkspace_RBserverURL: should be present for remote volumes only. Shows the server URL. |
33 //- NSWorkspace_RBserverURL: should be present for remote volumes only. Shows the server URL. |
34 |
34 |
35 - (NSDictionary*)propertiesForPath:(NSString*)path; |
35 - (NSDictionary*)propertiesForPath:(NSString*)path; |
36 |
36 |