Opened 15 years ago

Closed 15 years ago

#82 closed defect (fixed)

ls: skipping bogus node null

Reported by: Jakub Jermář Owned by: Martin Decky
Priority: major Milestone: 0.4.1
Component: helenos/unspecified Version: mainline
Keywords: fs devfs Cc:
Blocker for: Depends on:
See also:

Description

When listing the /dev directory, bdsh will report:

ls: skipping bogus node null

Change History (3)

comment:1 by Martin Decky, 15 years ago

Owner: set to Martin Decky
Status: newaccepted

The reason for this is that the shell is trying to get the file size by opening it and seeking to the end (opening /dev/null is actually not supported, it is not a unix-like /dev/null, it stands for a NULL device).

This should be solved by implementing the fstat() operation in VFS.

comment:2 by Martin Decky, 15 years ago

OK, to be precise, fstat() won't solve this at all. What we specifically need in this case is stat().

comment:3 by Jakub Jermář, 15 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in revisino 4587.

Note: See TracTickets for help on using tickets.