[PATCH] tests/stat: use find -follow for busybox compatibility

Denys Vlasenko dvlasenk at redhat.com
Tue May 14 15:21:30 UTC 2013


On 05/08/2013 05:48 PM, Mike Frysinger wrote:
> On Wednesday 08 May 2013 05:00:31 James Hogan wrote:
>> Use the -follow argument to find instead of -L for compatibility with
>> busybox which doesn't have the -L option.
> 
> so fix busybox.

Fixed in busybox git:

$ busybox find --help
BusyBox v1.22.0.git (2013-03-28 13:17:16 CET) multi-call binary.

Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]

Search for files and perform actions on them.
First failed action stops processing of current file.
Defaults: PATH is current directory, action is '-print'

	-L,-follow	Follow symlinks
	-H		...on command line only
	-xdev		Don't descend directories on other filesystems





More information about the Strace-devel mailing list