Fork us on GitHub Follow us on Facebook Follow us on Twitter

Opened 10 years ago

Closed 10 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 Changed 10 years ago by Martin Decky

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 Changed 10 years ago by Martin Decky

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

comment:3 Changed 10 years ago by Jakub Jermář

Resolution: fixed
Status: acceptedclosed

Fixed in revisino 4587.

Note: See TracTickets for help on using tickets.