On Sunday, July 16, 2000, Jolly Roger <[EMAIL PROTECTED]> wrote:
>All of a sudden, when I view the server in the Network Browser or the
>Chooser, it shows one single volume being shared, with NO NAME, just an icon
>(or in the Chooser, a blank item in an otherwise-empty list of
>volumes).
According to the man pages for afpd:
FILES
/usr/local/atalk/etc/AppleVolumes.default
list of default volumes to mount
/usr/local/atalk/etc/AppleVolumes.system
list of volumes to offer all users
$HOME/AppleVolumes user's list of volumes to mount
In addition, I have found that ".AppleVolumes" in the user's home directory works as
well (and has the beneficial side-effect of being invisible to the user from the mac;
all "dot" files/directories are invisible from the Mac). Further this .AppleVolume
file can be a symlink to another file (called whatever you want and can reside
anywhere on the filesystem) which allows you some creativity in terms of making
certain "classes" of users have certain shares available to them.
The syntax for these [text] files is:
# lines starting with # are treated as comments
<mountpoint><whitespace><sharename>\n
e.g. .....
---- sample file: /usr/local/atalk/etc/AppleVolumes.default ----
~
# above tilde on a line all by itself will allow
# the user to mount home directory with the name
# showing up as the user's login
/AppleShare/Disk1 Disk1
# this line shares the mountpoint /AppleShare/Disk1.
# It shows up as "Disk1" on the users desktop. Finally....]
/AppleShare/Disk2 "Shared Storage Disk"
# the above line is a mild elaboration of the previous entry
# the share name is in quotes because it contains space
# characters
---------- end of sample file ---------------------
I believe there is a preference order for these files, but I'm not sure what that
order is. I'm also not absolutely sure if they are cumulative, i.e. getting the "sum
total" of these files, or instead the one with the later read priority.
My recommendation would be to go to your home directory and enter the command:
echo "~" >> .AppleVolumes
and then try logging into the afpd server through the Chooser.
Hope this helps.
--
Peter Gutowski / [EMAIL PROTECTED]
"Millions long for immortality who don't know what to do on a rainy day." -- Susan
Ertz (c. 1894-1985), American Writer