Skip to content

-type wrong for bind mounts #37

@tavianator

Description

@tavianator
$ touch ./null
$ sudo mount --bind /dev/null ./null
$ ./bfs -type c -name null
$ ./bfs -type f -name null
./null

Linux returns d_type from the underlying filesystem, ignoring mounts.

C.f. https://savannah.gnu.org/bugs/?54913

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions