• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
      • From: Jim Luther <email@hidden>
  • Prev by Date: RE: APFS - Public snapshot posix API
  • Next by Date: New Disk Utility apparently not using rdisk when saving / restoring partitions
  • Previous by thread: RE: APFS - Public snapshot posix API
  • Next by thread: Re: NSURL getResourceValue: for NSURLVolumeMaximumFileSizeKey returns nil
  • Index(es):
    • Date
    • Thread