NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
- Subject: NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
- From: Scott Talbert <email@hidden>
- Date: Fri, 31 Mar 2017 17:33:29 -0400 (EDT)
Hello,
Can anyone tell me why calling NSURL -getResourceValue:forKey:error: with
key NSURLVolumeMaximumFileSizeKey would return a nil resource value for a
given volume? The function returns YES and error is nil also.
I can see from running dtruss that it in turn calls getattrlist(). If I
call getattrlist() myself on the same volume, I can see the bits I would
think it is looking at are set correctly - VOL_CAP_FMT_2TB_FILESIZE.
Thanks,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden