[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ln and -F



yes, i have just been doing some reading on that, and one should still be able
to use -F for symlinks, correct? so why not enable a logic rule that makes it 
where you have to have -s in conjunction with it, or else it will not work?

I just think that if something is supported, it should be documented if,
binding it to -s will make it useful and safe? If one wants to hardlink to a directory
then have them hack the code to get it to work, but if it is safe to soft link
to a directory, why not enable it and bind -F to -s as a logic rule?

of course, i am not an expert on all the gnomes that can come to life on this.
i am still reading. your thoughts?

-chris

Todd C. Miller writes:
 > In message <15674.10094.952834.250341@metalico.drauku.net>
 > 	so spake drauku (drauku):
 > 
 > > why is -F flag of ln deliberately undocumented?
 > 
 > Because you should not use it unless you really know what you are
 > doing and have read the relevant code.  Hard links to directories
 > will confuse fsck.
 > 
 >  - todd