Hello,
until now I used a temporary setup where I mounted all my harddisks at /data/everyone/[somedir] with "/data/everyone" being the Proftp "root" when logged in..
This setup worked, but since Games, Series and Albumz were stored in "Stuff" (e.g. mount /dev/hdc1 /data/everyone/Stuff), it was'n very clear what was inside the "stuff" directory.
So I desided to use softlinks:
I divided the various files over various disks:
hdb1 = games + applications
hdc1 = movies
hdd1 = Series + albumz
Wrote me a little script:
--------------------------------------------------------------------------------
#! /bin/bash
#
mount /dev/hdb1 /tmp/hdb1
mount /dev/hdc1 /tmp/hdc1
mount /dev/hdd1 /tmp/hdd1
#softlinks (FTP => /data/everyone)
ln -s /tmp/hdb1/Series /data/everyone/Series
ln -s /tmp/hdb1/Albumz /data/everyone/Albumz
ln -s /tmp/hdb1/Mp3 /data/everyone/Mp3
ln -s /tmp/hdc1/Movies /data/everyone/Movies
ln -s /tmp/hdd1/Games /data/everyone/Games
ln -s /tmp/hdd1/Applications /data/everyone/Applications
--------------------------------------------------------------------------------
I tested on the server with cd if I could get to see the files,and I could.
Now I logged in to the FTP, saw the list of (what appears to be) directories and tried to enter 1 of the dirs:
550: "no such file or directory"
Tried several kinds of softlinks, but it never worked.. Is it possible that I cannot use softlinks when FTPing? (When cd'ing through sshd, it works..)
Thanks!
PS: SlackWare 9.1 BTW