Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 10:17:30 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Greg Brooks <gregb@west-third.com>
Cc:        questions@freebsd.org
Subject:   Re: Adding disk space to an FTP directory -- ideas?
Message-ID:  <20030703171730.GG86503@webserver.get-linux.org>
In-Reply-To: <003101c34179$6708e3f0$6e01a8c0@CITYMOUSE>
References:  <003101c34179$6708e3f0$6e01a8c0@CITYMOUSE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 03, 2003 at 10:40:14AM -0500 or thereabouts, Greg Brooks wrote:
> I currently use most of /var for a depository of files that move in and
> out via FTP. /var runs on a secondary hard drive in the system, along
> with a partition called /storage that's currently empty.
> 
> Only one user ("ftpuser") has login rights to the ftp system, although
> it's not jailed with its own /bin directory, etc.
> 
> The question: How do I take the available space in /storage and make it
> available to the ftpuser? Adding a symlink to /storage within the FTP
> area doesn't seem to work.

# umount /storage
# rmdir /storage
# mkdir /var/path/to/the/location/where/you/want/storage
# mount /dev/storage_device /var/path/to/the/location/where/you/want/storage

Substitute the obvious.

-- Josh

> 
> Any help much appreciated.
> G.
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703171730.GG86503>