sh in linux_base cannot write to /dev/null
stephen at math.missouri.edu
Mon Dec 20 12:58:48 PST 2004
Kris Kennaway wrote:
> On Mon, Dec 20, 2004 at 12:18:30PM -0600, Stephen Montgomery-Smith wrote:
>>I installed linux_base from the ports. If I then run
>>and then type
>>cat > /dev/null
>>I get an error message:
>>sh: /dev/null: Permission denied
>>Incidently this error doesn't happen with linux_base-8.
>>I am running FreeBSD-5.3-STABLE and ls -l /dev/null gives
>>crw-rw-rw- 1 root wheel 2, 2 Dec 20 12:11 /dev/null
> It's actually /compat/linux/dev/null that's being written to. What's
> there on your machine?
There is nothing there. Presumably some kind of makedev instruction
would fix it, but I don't know what that instruction would be.
(With linux_base-8 there isn't even a /compat/linux/dev - was this a
More information about the freebsd-ports