Technology Questions

Go Back   Technology Questions > Manufacturer Questions > Manufacturers > Apple > Apple Macintosh Hardware

Apple Macintosh Hardware Discuss the Apple Macintosh Hardware

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 02-06-2007, 03:55 PM
Sean
Newsgroup Contributor
 
Posts: n/a
Resource Fork?

I had the chance to fool with a network of Macs running OSX today. It's a
pretty cool setup. There are a few areas where the GUI seems to be at war
with the underlying UNIX but it's just so cool to have sshd running on
every client in the place.

There are a few oddball things I'd like to ask about. The "resource fork"
thing...I guess these are just extended attributes, but how do you get
at them? There's this funny little program "ditto" that can copy the
attributes along with the file however it (of course) doesn't work over
scp. Is there any way to extract these things into a file and then to
reapply them to another file? Something like:

$ rfattr --extract foo -o foo.rf
$ scp foo foo.rf barney:/home/booboo/foo
$ ssh barney
$ cd ~booboo
$ rfattr --commit foo -i foo.rf

where foo.rf would be the file where the resource fork would be saved to
and foo is just some file.

Another thing I was wondering about I ran into in my brief (and I hope
misguided) quest to transfer resource forks over the network. I attempted
to get a local loopback file system to transfer the resource fork to a-la
ditto and found hdiutil. I made a local image filesystem, mounted it,
dittoed over the files I wanted to copy, unmounted it, transfered it over
the network and upon attempting to remount got an error. I
tried a few things but error continued.

Eventually I went over to the terminal I was trying to mount on and found
that there was no one there. I logged in and the file mounted fine. I
unmounted it and went back to my system and found that it would mount from
the other end. I guess to mount image files the GUI has to be running for
some strange reason?

A network of these systems with a few unix servers would be a joy to work
on. I was never big on Macs before today but I think I could be if I had
some time to learn them properly.

Sean
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 02-06-2007, 03:55 PM
  #2 (permalink)  
Old 02-06-2007, 03:55 PM
Sean
Newsgroup Contributor
 
Posts: n/a
Re: Resource Fork?

On Tue, 11 Nov 2003 04:47:30 +0000, Sean wrote:

>
> There are a few oddball things I'd like to ask about. The "resource fork"
> thing...I guess these are just extended attributes, but how do you get
> at them? There's this funny little program "ditto" that can copy the
>


....

> Eventually I went over to the terminal I was trying to mount on and found
> that there was no one there. I logged in and the file mounted fine. I
> unmounted it and went back to my system and found that it would mount from
> the other end. I guess to mount image files the GUI has to be running for
> some strange reason?
>


I was talking with some people on IRC and they said that the OS X version
of tar will store and restore resource attributes automatically.

Also they said that the problem with mounting/attach attaching images on a
machine that hasn't been logged into through the console (locally) can be
fixed as so:

% disktool -c 501
% hdiutil mount newprogram.dmg

http://www.macosxhints.com/article.p...&query=hdiutil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource Coordinator TPC Tablet PC Jobs 0 09-08-2008 08:50 AM
Stick a fork in it Nonny Windows Vista 7 07-24-2008 05:30 PM
RE: Looking for a resource. Elizabeth Windows Vista 0 12-07-2007 07:50 PM
Re: Looking for a resource. Andre Da Costa [ActiveWin] Windows Vista 0 12-07-2007 12:40 PM
Know who map a resource in my pc AlejandroArias Windows XP 0 03-16-2007 12:45 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 04:08 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0