Is Netatalk’s one-way functionality such a bad thing? Not really. The word is that someone has resumed development, but there’s nothing out there yet that’s safe to run. A package that formerly enabled Linux users to access Mac filesystems, afpfs, has been abandoned by its former developer and doesn’t work with recent Linux kernels. ![]() Netatalk enables Macintosh users to access shared directories and printers on the Linux server, but it doesn’t work the other way-Linux users can’t access directories or printers on the Mac systems. What’s more, Netatalk development is, at best, a sporadic process, the online documentation is out of date and downright misleading at times, and the licensing is sufficiently strange to keep Netatalk off of most Linux distribution disks. As you’ll learn in this Daily Drill Down, Netatalk isn’t as capable as Samba, a fact that’s partly attributable to the limitations of AppleTalk itself. Look before you leap department: Limitations of Netatalkīefore you leap into Netatalk, examine all of the drawbacks. Sometimes, admittedly, it doesn’t go well, which is why you should read this Daily Drill Down. If all goes well, this process can be quite easy-as easy, in fact, as installing the Netatalk+asun package and launching the server. In this Daily Drill Down, you’ll learn how to configure a Linux system so that it emulates the functions of an AppleTalk server (chiefly, making a user’s Linux directory available from a Macintosh and making Linux printers available to Macintosh users). # $Header: /homes/dpwe/public_html/resources/RCS/appledoubledates.html,v 1.The Mac Connection: Networking Linux and Macintosh systems with NetatalkĮver want to configure a Linux system so that it emulates the functions of an AppleTalk server? In this Daily Drill Down, Bryan Pfaffenberger shows you how to network Linux and Macintosh systems with Netatalk. # Read the appledouble extension and report the created/modified dates within For a more general solution, we need to parse the actual data in the AppleDouble file according to Update : This is just a hack that happens to work with the AppleDouble files written by this version of NetAtalk and my MacOS. You can get them formatted differently by giving it a format string as the first argument, but you'll have to look at the syntax of Tcl's "clock format" command to figure out how. It returns the creation and modification dates. You pass it the name of an AppleDouble file and It turns out that these dates are stored as number of seconds since GMT, much to my surprise - must be a MacOS 9 thing or something.Īnyway, here's the code. I wrote a little Tcl program to extract the dates and format them nicely. AppleDouble subdirectory that netatalk creates for all mac files. In fact, netatalk doesn't even try to make the last-modiication dates match, since it has to use a separate data structure anyway.Īfter a long while, I managed to reverse-engineer the netatalk files to locate the creation and modification dates, which are stored in the 'parallel file' under the. ![]() Consequently, the MacOS creation date was not reflected in the Unix directory structure. This means that I can both back up my mac, and access the jpeg images from my unix scripts.īut what about the dates? It turns out that although the MacOS stores the creation date and last modification date for each file, Unix instead stores the last modification date and the last access (read) date, but *not* the creation date. ![]() I copy these files onto my Unix system using netatalk to make the Unix box work as a Macintosh-style fileserver for my mac. My upload procedure stores this as the 'creation time' of the file on my Macintosh. I had a problem: I was writing scripts to convert my digital photos into web pages, and I wanted to include the exact date and time that the photo was taken as part of the annotation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |