Subject: Locating Mac Volumes in the Unix Filesystem...
To: None <port-mac68k@NetBSD.ORG>
From: Peter M. Pundy <peterp@strider.andyne.on.ca>
List: port-mac68k
Date: 09/06/1995 08:10:07
I'm in search of a few opinions. I've just about completed a version of
'rcp' which will run on a macintosh. For now, I faked out an inetd and
rshd and combined it with rcp code to allow the mac to be the 'server' of a
Unix issued rcp command. (Most of the transferring is working -- only
recursive to the mac is broken)
Anyway, this has caused me to write a conversion routines to translate
pathes and filenames between Mac and Unix grammar/syntax. Everything is
peachy until I try to answer the following two questions:
1) Where in the unix file-system do I find Mac Volumes? Ideally, we need one
standard place for this.
Possible answers:
"Volume1:" --> "/dev/Volume1"
- or - "Volume1:" --> "/Mac/Volume1"
2) To what Macintosh path does the unix path "/" map?
Possible answers:
"/" --> "{BootDisk}:"
- or - ???
What are your opinions?
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Peter M. Pundy Andyne Computing Ltd.
552 Princess Street
peterp@andyne.on.ca Kingston, Ontario, Canada
(613) 548-4355 K7L 1C7
(613) 548-7801 fax