DragonFly BSD
DragonFly kernel List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: rm/unlink and `how to find out who i am'


From: Rahul Siddharthan <rsidd@xxxxxxxxx>
Date: 02 Apr 2005 18:42:06 GMT
Keywords:
Summary:

>> Why should that `not happen here'? Neither unlink nor rm should
>> be called as unlink////. Perhaps I'm misunderstanding.
>
>That's exactly the reason why. It doesn't matter if they are called
>/tmp/unlink////, because some stupid caller didn't include the final
>rm (/tmp/unlink////rm).

I thought a slash (/) is the one character that cannot be part of a
filename?  So unlink//// cannot possibly be the name by which rm is
being called, surely?

Rahul



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