bin/60380: find(1) can't find snapshots

"[email protected] via gnats" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
>Number:         60380
>Category:       bin
>Synopsis:       find(1) can't find snapshots
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 28 18:40:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        current, 11, 10, 9, ...
>Organization:
The NetBSnapD Findation, Inc.
>Environment:
>Description:

	find(1) apparently lacks any way to detect snapshot files:

	# find / -flags snap
	find: -flags: snap: illegal flags string
	# find / -flags snapshot
	find: -flags: snapshot: illegal flags string

	(Call the police, I did something illegal!)

>How-To-Repeat:

	as above

>Fix:

	Maybe teach libutil string_to_flags to accept `snap' just like
	flags_to_string yields it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.