summaryrefslogtreecommitdiffstats
path: root/mtab.c
Commit message (Collapse)AuthorAgeFilesLines
* mtab: Use BFS_STAT_NOSYNCTavian Barnes2019-08-291-69/+41
| | | | | And factor out the stat() call into bfs_mtab_add(). One step toward improving #50, at least on Linux.
* stat: Unify the flags argumentsTavian Barnes2019-05-041-3/+3
|
* trie: Make trie_remove() take a leaf instead of a keyTavian Barnes2019-04-201-2/+2
|
* Release 1.41.4Tavian Barnes2019-04-151-1/+1
|
* trie: Store void* values rather than const void*Tavian Barnes2019-03-271-1/+1
| | | | Fewer casts needed this way.
* bftw: Work around d_type being wrong for bind mounts on LinuxTavian Barnes2019-03-061-5/+23
| | | | | | C.f. https://savannah.gnu.org/bugs/?54913 C.f. https://lkml.org/lkml/2019/2/11/2027 Fixes https://github.com/tavianator/bfs/issues/37
* mtab: Fix implementation for all platformsTavian Barnes2019-03-061-14/+7
|
* mtab: Replace the linked list of file system types with a trieTavian Barnes2019-03-061-44/+24
|
* Check for <sys/param.h> before including itTavian Barnes2018-11-081-2/+5
| | | | Fixes #38.
* util: Wrap __has_include()Tavian Barnes2018-11-011-5/+1
|
* Update copyright datesTavian Barnes2018-09-241-1/+1
|
* mtab: Fall back on /proc/mounts if /etc/mtab isn't availableTavian Barnes2018-03-041-0/+4
|
* stat: New wrapper around the stat() familyTavian Barnes2018-01-081-11/+13
| | | | | This lets bfs transparently support the new statx() system call on Linux, giving it access to file birth times.
* mtab: Add support for SolarisTavian Barnes2017-09-091-0/+43
|
* mtab: Use __has_include() to check for <mntent.h>Tavian Barnes2017-09-021-4/+15
| | | | | This fixes the build against musl, as long as you have a new enough compiler for __has_include.
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
|
* mtab: Check __GLIBC__ instead of __linux__ for getmntent()Tavian Barnes2017-04-301-2/+2
|
* mtab: Don't hardcode /etc/mtabTavian Barnes2017-04-291-1/+1
|
* Implement -fstypeTavian Barnes2017-04-231-0/+174
Fixes #6!