Re: <no subject>


Subject: Re:
From: andrew morgan (morgan@orst.edu)
Date: Sun Jun 18 2000 - 10:04:39 EDT


On Sat, 17 Jun 2000, John Arends wrote:

> If I put a ~ in my AppleVolumes.default file, it will allow users to mount
> their home directory after logging into the server. Doing this uses the
> user's name for the name of the volume.
>
> If I like, I can change the name by specifying one, however it is then the
> same for all users. This would be something along the lines of:
>
> ~ "My Files"
>
> I would really like to use the user's name along with some other data so
> that they can easily tell which server they are on, yet it also includes
> their name to prevent confusing.
>
> The name of the volume would then be something like "myserver.myname" or
> "myname's files"
>
> Anyone have any idea how to do this if it is possible?

This should be easy with the latest pre-releases of netatalk (asun2.1.4).
Here is the relevant documentation from the AppleVolumes.default file:

# variable substitutions:
# you can use variables for both <path> and <name> now. here are the
# rules:
# 1) if you specify an unknown variable, it will not get converted.
# 2) if you specify a known variable, but that variable doesn't have
# a value, it will get ignored.
#
# the variables:
# $c -> client's ip or appletalk address
# $f -> full name (whatever's in the gecos field)
# $g -> group
# $h -> hostname
# $s -> server name (can be the hostname)
# $u -> username (if guest, it's whatever user guest is running as)
# $v -> volume name (either ADEID_NAME or basename of path)
# $z -> zone (may not exist)
# $$ -> $

        Andy



This archive was generated by hypermail 2b28 : Wed Jan 17 2001 - 14:31:16 EST