• 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
Re: iDisk access in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: iDisk access in Cocoa
      • From: Vince DeMarco <email@hidden>
    • Re: iDisk access in Cocoa
      • From: Andrew Mortensen <email@hidden>
  • Prev by Date: Re: Frameworks/Classes to plot data on a graph.
  • Next by Date: correct way to find if 32bits is an object pointer?
  • Previous by thread: Re: iDisk access in Cocoa
  • Next by thread: Re: iDisk access in Cocoa
  • Index(es):
    • Date
    • Thread