No more than "rm -f <link>" will; but I will never try "rm -rf .*" like I did on
SunOS years ago...

Hint: it followed ".."  :^P

Pierre

pesarif wrote:
> 
> Sorry for posting two messages to the list at the same time but...:)
> 
> I was just wondering whether or not:
> 
> su
> md afolder
> cd afolder
> ln -s / root
> cd ..
> rm -rf afolder
> 
> would erase my entire filesystem?
> As you may have guessed, I am not in a position to try this :)
> 
> I ask this because cp -r follows links, unless -d is used.
> However, there isn't an equivalent option for rm.
> 
> So does rm follow links?
> 
> Thanks again,
> pesarif
> 
>   --------------------------------------------------------------------------------
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to