How to mount network OS9 volumes via Terminal?

ThesQuid

Registered
Hmm, here is one that is stumping me. I am accessing my OSX machine remotely and want to mount the hard drive of one of the macs on the local network there, so I can access that macs contents through my terminal connection. This is something I do routinely when sitting in front of my machine, but that is using the go...->servers.. menu command in the finder. Any ideas?
 
When I do that, I get:

[baloneyandcheese:/] root# mount -t afp afp://Webhead/Joule2090 /mnt
11 0 0xa73a000 0x9000 0x8000 asp_tcp (0.1a)
12 0 0xa743000 0x33000 0x32000 afpfs_fs (0.1a)

What the...? Ok, I guess those are the two partitions availible to mount? Hmmm.

 
Sure, you get cryptic messages, but the share _is_ mounted. At least it was
in my case (I have guest access for the share I tried to mount; I\'m not
sure of the syntax for an afp url which includes a username and password).

After you do the mount, it should show up in df. This is gonna look screwey
because it really needs a fixed-width font:

[macosx:/Users/rivie] root# df -k
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/disk0s6 12691000 6526148 6164852 51% /
devfs 28 28 0 100% /dev
fdesc 1 1 0 100% /dev
<volfs> 512 512 0 100% /.vol
automount -fstab [200] 0 0 0 100% /Network/Servers
[macosx:/Users/rivie] root# mount -t afp afp://server/RIvie /mnt
14 0 0x9536000 0x9000 0x8000 asp_tcp (105)
15 0 0x953f000 0x43000 0x42000 afpfs_fs (134)
5195 ?? Ss 0:00.00 check_afp
[macosx:/Users/rivie] root# df -k
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/disk0s6 12691000 6526148 6164852 51% /
devfs 28 28 0 100% /dev
fdesc 1 1 0 100% /dev
<volfs> 512 512 0 100% /.vol
automount -fstab [200] 0 0 0 100% /Network/Servers
afp_0bmviH0bmviH0bmviH0bmviH-0 41092788 31587204 9505583 76% /mnt
[macosx:/Users/rivie] root#

but you can see from this that I now have an afp share mounted under /mnt.
 
Back
Top