Adding disk space to an FTP directory -- ideas?

Joshua Oreman oremanj at webserver.get-linux.org
Thu Jul 3 10:14:27 PDT 2003


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list