From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 15:35:40 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 095D0BAF for ; Mon, 10 Mar 2014 15:35:40 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id D7ECE8B4 for ; Mon, 10 Mar 2014 15:35:39 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id B7D62CB8C94; Mon, 10 Mar 2014 10:35:32 -0500 (CDT) Received: from 128.135.70.2 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Mon, 10 Mar 2014 10:35:32 -0500 (CDT) Message-ID: <42771.128.135.70.2.1394465732.squirrel@cosmo.uchicago.edu> Date: Mon, 10 Mar 2014 10:35:32 -0500 (CDT) Subject: FreeBSD 10.0: which packafe the file comes with? From: "Valeri Galtsev" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: galtsev@kicp.uchicago.edu List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 15:35:40 -0000 Dear All, With introduction in FreeBSD new pkg utility I can not figure out one thing (maybe more that one thing...): how to find out which package some particular file came with. In other words, an equivalent of the following command we used on FreBSD 9 and earlier: pkg_info -W /usr/local/libexec/cups/backend/lpd - which would give the name of the package the file /usr/local/libexec/cups/backend/lpd came with. How do we do the same on FreeBSD 10? Thanks. Valeri ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++