| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Use memset() to fill the structure with zeroes, avoiding the need
to set some members explicitly.
Saves 16 bytes.
|
|
|
|
|
|
|
|
| |
Place filesystem names in a single null-separated string and search
it using index_in_strings(). Use the result (offset by 1 to allow
for failure) to index an array of filesytem types.
Saves 112 bytes.
|
|
|
|
|
|
|
|
|
|
| |
Miscellaneous improvements:
- Enable '-a' option to display all filesystems in df(1).
- Detect the UDF CDROM filesystem and display it in 'stat -f'.
- Let getmntent(3) handle CDROM and floppy devices, ignoring those
that have no media.
- Set number of inodes and filesystem flags to 0 in statfs(2).
|
| |
|
|
|
|
|
|
| |
df now uses statvfs instead of statfs. Support this by pretending
that statfs *is* statvfs. Not really true but good enough for the
present purpose.
|
|
|
|
| |
The WIN32 calls should be passed the root directory of the filesystem.
|
| |
|
|
|