[Ports] How to find where a port is located?

Gilles gilles.ganault at free.fr
Fri Jun 13 10:05:57 UTC 2008


On Fri, 13 Jun 2008 11:39:10 +0200, Gilles <gilles.ganault at free.fr>
wrote:
>Thanks. That seems to be the fastest way:

Actually... no:

# whereis samba
samba: /usr/ports/japanese/samba

# whereis samba3
samba3: /usr/ports/japanese/samba3

# find /usr/ports/ -name "samba*"
[...]
/usr/ports/net/samba3

Why didn't "whereis" find samba3? Do I need to run a command to keep
it up-to-date with "csup ports-supfile?

Thank you.



More information about the freebsd-questions mailing list