[CentOS] hard link a directory

Peter Serwe peter at infostreet.com
Fri Jan 12 02:13:03 UTC 2007


I just usually add the '-s' flag to my ln's, and it seems to work. 

Sometimes I add '-snf' just because it's more fun to type.

Peter
Andreas Rogge wrote:
> 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
>>
>>     
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>   


-- 
Peter Serwe <peter at infostreet dot com>
http://www.infostreet.com

"The only true sports are bullfighting, mountain climbing and auto racing." -Earnest Hemingway

"Because everything else requires only one ball." -Unknown




More information about the CentOS mailing list