> I am attempting to set up an AFS FTP server utilising Solaris 2.5.1 as a
> base operating system. Unfortunately, it seems that I cannot create the
> necessary device files using mknod (/dev/zero /dev/tcp /dev/udp
> /dev/ticotsord) in AFS for this to work properly. I want to create an
> ftp area where all of my users can add files for download and anonymous
> users can upload files, and AFS space would be the ideal.
It can be done somewhat easily. What you need to do is create the dev
entries on a local UFS filesystem and then use a loopback mount to mount
it over AFS. Solaris wants everything in the "devices" directory and
things in "dev" are just symlinks to "devices". Create the anonymous
ftp userid as usual with the exception of the "devices" directory. For
the devices directory, create something like /var/ftp/devices with the
proper device entries and then use an entry such as:
/var/ftp/devices - /u/ftp/devices lofs - no -
in the /etc/vfstab to mount it in your anonymous ftp home directory. You
should replace "/u/ftp" with the path that points to ftp's home directory
in AFS. Mount the devices directory (or reboot) and anonymous ftp
should work just fine. Now getting ftp to acquire tokens, that's a bit more
complicated...
-mark