> interesting that rm -rf /  will not work but I think
> that rm -rf /* will.

Unfortunately, that makes sense.  "/" will get passed to rm directly, and can 
be read from argv.  "/*" will get expanded by the shell into "/bin /etc" [etc], 
and then get passed to rm, so argv will include "/bin", "/etc", etc, and there 
won't actually be just a "/" anywhere.  The OS can only save you from youself 
so much; if you insist on taking off your trigger lock, loading a bullet, 
pointing it at your foot, and pulling the trigger, you're foot will get a hole 
in it.

-spp
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to