Subject: Re: portal filesystem
To: Simon Burge <simonb@NetBSD.ORG>
From: Andrew Brown <>
List: current-users
Date: 05/22/2000 08:56:44
>> why does this work as expected:
>>    # cat /p/netbsd/basesrc/etc/rc.d/LOGIN | diff - /etc/rc.d/LOGIN
>> while this does not?
>>    # diff /p/netbsd/basesrc/etc/rc.d/LOGIN /etc/rc.d/LOGIN
>At a guess, I'd say it's because diff is trying to lseek() on the portal
>"file" and the lseek fails...  If the portal "file" appears as a regular
>file, I'd expect something like
>when run as "foo /p/netbsd/basesrc/etc/rc.d/LOGIN" to return an error.

lseek: Illegal seek

okay, thanks.

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."