Skip site navigation (1)Skip section navigation (2)
Date:      10 Dec 2001 09:21:11 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        Nils Holland <nils@tisys.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Understaning the files in /stand (a little long, sorry)
Message-ID:  <h7bsh7f0u0.sh7@localhost.localdomain>
In-Reply-To: <20011210174815.B1975@tisys.org>
References:  <20011210165503.A290@tisys.org> <Pine.OSF.4.21.0112101659010.29367-100000@downy.etek.chalmers.se> <20011210174815.B1975@tisys.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nils Holland <nils@tisys.org> writes:

> I guess I could leave one file in
> /stand around and hard link the others to it manually. If this works, is it
> of any importance which file I keep around? Or can I simply delete
> everything but one random file in /stand and then re-link the others to the
> one remaining file?

No. Yes.

Something like this?

for file in *; do
    if diff sysinstall $file; then
        ln sysinstall $file
    fi
done

ls -ild *

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?h7bsh7f0u0.sh7>