Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2024 10:23:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@FreeBSD.org
Subject:   =?UTF-8?B?W0J1ZyAyNzYyMzVdIGBtYWtlIGluc3RhbGx3b3JsZOKAmSBzaG91?= =?UTF-8?B?bGQgY2hlY2sgZm9yIHN0YWxlIHN5bWxpbmtz?=
Message-ID:  <bug-276235-32464-mmaFS2Z7wA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276235-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276235-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276235

Wolfram Schneider <wosch@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |In Progress

--- Comment #1 from Wolfram Schneider <wosch@FreeBSD.org> ---
Here is an example without perl, just the base tools:

find /bin /boot /etc /lib /libexec /sbin /usr/bin /usr/include /usr/lib
/usr/lib32 /usr/libdata/ /usr/libexec/ /usr/sbin /usr/share/ -type l -print=
0 |
xargs -n1 -0 -P$(sysctl -n hw.ncpu) ./stale-symlink.sh


cat stale-symlink.sh=20
#!/bin/sh

file=3D"$1"

if [ ! -e "$file" ]; then
  echo "stale symlink detected: $(ls -ld $file)" >&2
  exit 1
else
  exit 0
fi

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276235-32464-mmaFS2Z7wA>