softlink

Creatin a hard and soft links under Unix/Linux

For creation hard link use

mount --bind /media/sda3/src-dir /home/ftp/dest-dir # for directory
mount -o bind source_dir destination_dir # for directory example 2
ln src.txt dest.txt

For creating soft link use
ln -s src dst

For example vsftpd following only hard links and not follow for soft links.

Syndicate content