[PATCH] afc cleanup + full (sym)link support + special files
Reported by Nikias Bassen | July 4th, 2009 @ 09:25 AM | in 1.0 Release
Hi all,
I cleaned up afc a bit to make use of filehandle instead of
iphone_afc_file_*. And I removed the iphone_afc_get_file_attr, as
this has to go into ifuse.
And since OS 3.0, readlink is actually performed when
afc_get_file_info is called and returned in the info buffer. So now
we have full symlink support!
Attached two patches for libiphone and two for ifuse.
Comments and changes to this ticket
-
Nikias Bassen July 5th, 2009 @ 01:17 PM
- Title changed from [PATCH] afc cleanup + full (sym)link support to [PATCH] afc cleanup + full (sym)link support + special files
Here's an additional patch for iFuse that will report the correct file types for special files (char, block, socket, fifo). Even though - at least I think so - they cannot be used like they could be used directly on the device they will be reported as the correct file type. The permissions and ownership are of course not correct too, but this is an AFC limitation.
-
Nikias Bassen July 6th, 2009 @ 06:05 PM
- Tag set to afc, api, ifuse, patch
- State changed from new to open
-
Matt Colyer July 7th, 2009 @ 03:32 PM
- State changed from open to resolved
(from [e764222b0709cec5992f6120fd3a198d1c60b5e8]) support for listing special files
[#55 state:resolved]
Signed-off-by: Matt Colyer matt@colyer.name
http://github.com/MattColyer/ifuse/commit/e764222b0709cec5992f6120f...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org
People watching this ticket
Attachments
Referenced by
- 46 libiphone 1.0 API cleanup Here are two patches for AFC and NotificationProxy that m...
- 46 libiphone 1.0 API cleanup All patches attached have to be applied after applying th...
- 55 [PATCH] afc cleanup + full (sym)link support + special files [#55 state:resolved]