Opened 16 years ago
Closed 16 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 , 16 years ago
Owner: | set to |
---|---|
Status: | new → accepted |
comment:2 by , 16 years ago
OK, to be precise, fstat() won't solve this at all. What we specifically need in this case is stat().
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.