site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com You could use pathconf(2) and the _PC_NAME_MAX selector: standard HFS returns 31 HFS Plus returns 255 -Don On May 26, 2006, at 2:38 PM, Stephane Sudre wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/brady%40apple.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Alternatively you could use getattrlist(2) and ask for the ATTR_VOL_SIGNATURE attribute: standard HFS returns 0x4244 ('BD') HFS Plus returns 0x482B ('H+') With the statfs API you can know the kind of File System a file (or path) lives on. The problem is that this API returns "hfs" for an HFS+ (journalized should I add) volume. Is there a quick way to know this is actually a HFS+ File System (typical block size?). This email sent to brady@apple.com This email sent to site_archiver@lists.apple.com