From owner-freebsd-questions@FreeBSD.ORG Mon Mar 10 15:42:27 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 C2BBBE1E for ; Mon, 10 Mar 2014 15:42:27 +0000 (UTC) Received: from mail-ve0-x233.google.com (mail-ve0-x233.google.com [IPv6:2607:f8b0:400c:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8358E992 for ; Mon, 10 Mar 2014 15:42:27 +0000 (UTC) Received: by mail-ve0-f179.google.com with SMTP id db12so7341151veb.10 for ; Mon, 10 Mar 2014 08:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XdbK93RO1wDt+fqzWiZvcXJeNeDTgQu4ss4hVdJZyR8=; b=F6wMF2Lb5hhohKyBIuDeM4jMnRabR801R/PpXQWuwme9JaDqqFRN3/dFdAkT/esE2K /WoQmT6oWDJcII0dj+p7uCEYaS4nKWysIQKO0LZVg4tW2s3a1IEd1hOQ3ERd0l3FhGar we36nHweqClWBM90ACI9cLCThcyC3D8EZoxe+CIuvw7MGcIVfSAYz+Q9obV5bsqu7OSf vF+WowmiUSBtqTeh+bLJlOM1HM0aqfB0RD28alroQ41a9N9Csveb9IgpYxL4boCI3xdh RmhXZso/c25LhxtzWzp14B5rO2f6EgtUvvSlcqBrk+FCy/agfSxnAYuZyyl3gRVidJjN eI5A== X-Received: by 10.58.161.205 with SMTP id xu13mr23080849veb.4.1394466146624; Mon, 10 Mar 2014 08:42:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.91.74 with HTTP; Mon, 10 Mar 2014 08:42:06 -0700 (PDT) In-Reply-To: <42771.128.135.70.2.1394465732.squirrel@cosmo.uchicago.edu> References: <42771.128.135.70.2.1394465732.squirrel@cosmo.uchicago.edu> From: Anton Sayetsky Date: Mon, 10 Mar 2014 17:42:06 +0200 Message-ID: Subject: Re: FreeBSD 10.0: which packafe the file comes with? To: galtsev@kicp.uchicago.edu Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 15:42:27 -0000 2014-03-10 17:35 GMT+02:00 Valeri Galtsev : > 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? man pkg-which