Summary: | [patch] du(1) support for inode count | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | sat | ||||
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> | ||||
Status: | Open --- | ||||||
Severity: | Affects Only Me | Keywords: | patch | ||||
Priority: | Normal | ||||||
Version: | 8.0-CURRENT | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
sat
2008-04-11 08:30:01 UTC
Correct me if I'm mistaken, but doesn't this get the wrong answer when a file has multiple hard links? Well, du doesn't count size multiple times in case of hard links, so why should the same loop count inodes the wrong way? I just tested, and it acts as expected: neither "df -i" nor "du -i" counters increase when a new hard link is created. For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> |