On Apr 8, 2014, at 7:19 AM, Nick Rogers <roger...@mac.com> wrote:

> I just need to know, if a file is fragmented or not. I don’t need the frags 
> details etc.
> Its for showing extended info about the selected file, like whether it is 
> fragmented or not.

That’s a weird idea IMHO — it seems like a much lower-level detail than what 
the file system’s APIs would expose, or what a user would care about. And what 
does “fragmented” mean exactly? Is a file fragmented if even one of its sectors 
is not exactly contiguous with the others? Does this even matter on SSDs, where 
seek time is a non-issue?

I’ve never heard of any API for this and I’d be very surprised if there were 
one, since this info really only matters to the filesystem itself and perhaps 
some specialized filesystem tools like fsck.

In any case, this is way outside scope for Cocoa-dev. I suggest you check 
whether there’s an Apple list that’s focused on filesystems.

—Jens
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to