Re: silent semantic changes with reiser4

Miquel van Smoorenburg
2004-08-26T22:49:26Z

In article <57730000.1093554054@flay>,
Martin J. Bligh <mbligh@aracnet.com> wrote:
>> On Thu, 26 Aug 2004, Martin J. Bligh wrote:
>>>
>>> What would "test -d" and "test -f" return on these magic beasties? I can't
>>> think of any combinations that wouldn't confuse the crap out of userspace.
>>
>I think what you're saying is that they'd both return positive, right?

test -f file -> true
test -f file/ -> false
test -d file -> false
test -d file/ -> true

Mike.
--
"In times of universal deceit, telling the truth becomes
a revolutionary act." -- George Orwell.