[CentOS] hard link a directory

Andreas Rogge arogge at gmx.de
Thu Jan 11 22:08:48 UTC 2007


You can't.
Ken Thompson decided that this complicates things too much so this was
disabled back in the 70ies.
You can however do a
mount --bind /var/spool /home/recordings
this has a quite similar effect.

Regards,
Andreas Rogge

Am Freitag, den 12.01.2007, 05:50 +0800 schrieb Mark Quitoriano:
> Hi im trying to hard link a folder and i get this
> 
> # ln /var/spool /home/recordings
> ln: `/var/spool': hard link not allowed for directory
> 
> how do i hard link a directory?
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 




More information about the CentOS mailing list