Re: iDisk access in Cocoa
Re: iDisk access in Cocoa
- Subject: Re: iDisk access in Cocoa
- From: M Ramachandra Acharya <email@hidden>
- Date: Tue, 19 Feb 2002 15:29:12 +0530
Hi Vince
>
> But when I use finder and check the properties of the volume by selecting
>
> it
>
> and pressing 'Command + I', the info widow says that the 'Format' is
>
> 'WebDAV'. I thought of using this as the unique key, but alas! could not
>
> find any function to get this info.
>
>
>
What you can do is use the fstat function
>
>
ib the structure it returns is the file sysyem type.
>
I just tried this. I use the function 'fstat' defined in 'stat.h'.
It fills in a structure which has lot many fields defined (struct stat).
To me it appeared that I can use the "st_ino" field of this structure. It is
the inode's number for the file. After doing some tests, I found that for
iDisk, it remains 3 and for any other volumes (local, network, CD ROM,
volumes mounted from my laptop in FireWire mode) it remains 2.
Is this how I should be doing it or do you think I should treat the
structure in a different way. Actually I am not sure about this field. Can
you pl. point me to some documents which might explain these fields in
detail?
TIA
With regards
Ram
--------------------------------------------------------------
Robosoft Technologies, Mangalore, India
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.