Need BASH script help

Joel Oliver joelol75 at verizon.net
Thu May 15 15:41:33 UTC 2008


Scott Bicknell wrote:
> On Thursday 15 May 2008 6:27:08 am Joel Oliver wrote:
>   
>>> Actually, why do you have to use symbolic links?  If you use
>>> a hard link then the file's data is accessible directly from
>>> the filename -- no link traversal required.
>>>
>>> Just a thought, albeit a good one.  :-)
>>>
>>> Brad.
>>>
>>>  
>>>       
>> I thought it was a big no-no to use hard links....   Kinda
>> like telnetting in as root, storing compressed reiserfs .img
>> files on a reiser partition, using special characters [/<> in
>> fileneames... I know all the above can be done but shouldn't
>> for some reason or another...  I think I heard something about
>> hard links are bad but ... I don't know why
>>     
>
> Hard links are just a little more limited. You cannot use them if 
> they point across file systems or if they point to a directory. 
> They can be somewhat easier to overlook in file listings, also, 
> but they are not bad. Otherwise, they would be more of a bug 
> than a feature.
>   
OK, I just read up on soft vs hard links and now I feel like a doof....  
Hard links would be the way to go.... doh! And I never have to worry 
about breaking them.... They would be ideal for what I wanted to do...  
Ohh well, another learning experience :)

Thanks for the help...






More information about the kubuntu-users mailing list