[comp.unix.aux] Accessing mac files under CommandShell

rprohask@orion.oac.uci.edu (Robert Prohaska) (04/15/91)

How does one get into the macintosh file system from an
aux commandshell window?  Commando seems to think that
"diskname:foldername:nextfoldername:......." is supposed to
work.  Unfortunatly, aux announces "........bad directory" and
I'm out of luck.

The reason for this question is that I want to do the 2.0.1 
upgrade, but I would like to hold inc.cpio.Z on a mac volume
(more free space).

Is there some special trick to using Commando?

thanks

bob prohaska

rmtodd@servalan.uucp (Richard Todd) (04/16/91)

rprohask@orion.oac.uci.edu (Robert Prohaska) writes:

>How does one get into the macintosh file system from an
>aux commandshell window?  Commando seems to think that

You can't access the MacOS partitions anyway except from the Finder and 
MacOS programs launched from the Finder.  Ordinary Unix processes can't
access files on the MacOS partitions. 

>"diskname:foldername:nextfoldername:......." is supposed to
>work.  Unfortunatly, aux announces "........bad directory" and
>I'm out of luck.

Commando is evidently confused.  At least on the current release, You Just
Can't Do That.  (It should be possible in principle to make MacOS volumes
appear as ordinary Unix partitions--it'd just an extra "vfs" virtual
filesystem module and a heck of a lot of coding--but so far nobody either
inside Apple or out has done the necessary coding.)

In short, you're outa luck.  

lantz@Apple.COM (Bob Lantz) (04/16/91)

rprohask@orion.oac.uci.edu (Robert Prohaska) writes:

>How does one get into the macintosh file system from an
>aux commandshell window?  Commando seems to think that
>"diskname:foldername:nextfoldername:......." is supposed to
>work.  Unfortunatly, aux announces "........bad directory" and
>I'm out of luck.

Yes, you are.

You are probably trying to use a Unix utility which does not
deal with HFS (as, indeed, almost all of them do not.)  Why, then,
does Commando allow you to select HFS volumes for Unix commands?
Well, probably it shouldn't [sorry] but the current Commando,
developed for MPW, doesn't support a mechanism to differentiate
between Unix and HFS volumes (indeed, the file manager does quite a
good job of hiding the differences.)  I will keep this in mind for
future revisions to Commando.

I will point out, though, that certain commands (e.g. rez, setfile)
*do* accept HFS as well as Unix pathnames.

>Is there some special trick to using Commando?

Sorry, no.

>thanks

>bob prohaska

Bob Lantz
A/UX Commando Team

barnett@grymoire.crd.ge.com (Bruce Barnett) (04/17/91)

rprohask@orion.oac.uci.edu (Robert Prohaska) writes:

>I'm out of luck.

lantz@Apple.COM (Bob Lantz) writes:
>Yes, you are.

rmtodd@servalan.uucp (Richard Todd) writes:
>In short, you're outa luck.  


Gee, with the great development environment the Mac has, I would think
*SOMEONE* could write a simple Unix shell program to copy a file from the Mac
file system to the Unix file system, and vice versa.

I guess this is too complicated a task for all you Mac gurus.

If someone wants to prove me wrong, why go right ahead! I won't mind
at all! :-)
--
Bruce G. Barnett	barnett@crdgw1.ge.com	uunet!crdgw1!barnett