On Wednesday 16 April 2008 01:14:50 Chad Perrin wrote:

> Assume you have a FreeBSD system installed that has been running for at
> least a year, with a bunch of graphical desktop and productivity software
> installed, and have both installed and uninstalled a lot of software over
> that time.  Now imagine that you want to know whether a given utility was
> something that came with the base system or was installed by some port or
> package later on.  What's the easiest way to do that (preferably without
> installing the FreeBSD base system on a computer and checking whether the
> utility is present)?


If you didn't change LOCALBASE/PREFIX during installation, anything 
below /usr/local belongs to ports. Only exception would be kernel modules 
that need to be loaded before /usr is mounted (like graphic card drivers).

See hier(7).

Also, grep -v '^@' /var/db/pkg/*/+CONTENTS lists all files installed by ports.

-- 
Mel

Problem with today's modular software: they start with the modules
    and never get to the software part.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to