porting UNIX file utilities to OS X? (HFS+ questions)

Ask a Question related to Mac Programming, Design and Development.

  1. #1

    Default porting UNIX file utilities to OS X? (HFS+ questions)

    Hi all,

    I'm interested in porting some file synchronization code from Linux
    (basically, entirely ANSI C/POSIX) to OS X. However, I want to enable
    my code to deal gracefully with multiple forks and any other
    idiosyncracies of HFS+. (That is, if I copy a file with resource
    forks to a Linux machine using my tools and then copy it back to OS X,
    I want the forks to be preserved by my tools.) Therefore, I have
    three questions: where's the best place to start looking for
    documentation to get up to speed on these issues and the relevant
    parts, I assume, of the Carbon API? Is there any good example code?
    What else do I need to know about HFS+?




    thanks,
    wb
    Will Benton Guest

  2. Similar Questions and Discussions

    1. Unix Questions
      Dear, As far as I know that Unix system is not supporting the both DLL and Active X control concepts are not work in UNIX system. Is there any...
    2. db admin utilities
      Hi, I'm wondering if there are any good php-mysql admin class(es) that is reusable? I'm trying to manage my family photos, and yet, at the same...
    3. New to mac, not to UNIX. Questions regarding x11 installation
      Hello folks, Please forgive the "newbieness" of my questions: I just bought my first mac tonight. I am a pretty seasoned linux user and I want...
    4. porting perl scripts from NT to UNIX
      "mani srinivas potnuru" <potnuru@students.uiuc.edu> wrote in message news:Pine.GSO.4.31.0307282029080.9550-100000@ux13.cso.uiuc.edu... You can't...
    5. Dos utilities in XP
      How do I find the dos files such as fdisk.com and format.com on the xp install disk? Thanks, Jack
  3. #2

    Default Re: porting UNIX file utilities to OS X? (HFS+ questions)

    Will Benton wrote:
    >I'm interested in porting some file synchronization code from Linux
    >(basically, entirely ANSI C/POSIX) to OS X. However, I want to enable
    >my code to deal gracefully with multiple forks and any other
    >idiosyncracies of HFS+.
    Aren't there PD utilities to deal with Mac files already?
    Maybe look at the implementation of Rez / DeRez and CpMac / MvMac
    (if they're available... darwin vs. os x, I guess, sorry)

    Mike Hall Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139