Monday, March 09, 2009

Want to mount directories in Linux/Unix?

The links does not work in Vsftpd or ProFtpd servers. You must *mount* the shared directories.

In Redhat 5, use
mount --bind src_dir target_dir
and in Solaris, use
mount -F lofs src_dir target_dir
to mount local directories at other points.

This is crucial for construction of a FTP file server.

No comments: