Opened 13 years ago
Closed 13 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 13 years ago by
Owner: | set to Martin Decky |
---|---|
Status: | new → accepted |
comment:2 Changed 13 years ago by
OK, to be precise, fstat() won't solve this at all. What we specifically need in this case is stat().
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Fixed in revisino 4587.
Note: See
TracTickets for help on using
tickets.
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.