From owner-freebsd-scsi Tue May 26 19:03:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA14739 for freebsd-scsi-outgoing; Tue, 26 May 1998 19:03:05 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA14494; Tue, 26 May 1998 19:02:13 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost [127.0.0.1]) by dingo.cdrom.com (8.8.8/8.8.5) with ESMTP id RAA02549; Tue, 26 May 1998 17:56:23 -0700 (PDT) Message-Id: <199805270056.RAA02549@dingo.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: shimon@simon-shapiro.org cc: Mike Smith , freebsd-scsi@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG, Tom Subject: cap-format databases (was Re: DPT install problem ) In-reply-to: Your message of "Tue, 26 May 1998 20:32:55 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 26 May 1998 17:56:23 -0700 From: Mike Smith Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > > >> BTW, what is foo@ in this file? > > > > from 'man 3 getcap' (whence you are referred from login.conf(5)) > > > > When a database is searched for a capability record, the first > > matching > > record in the search is returned. When a record is scanned for a > > capa- > > bility, the first matching capability is returned; the capability > > :nameT@: will hide any following definition of a value of type T for > > name; and the capability :name@: will prevent any following values > > of > > name from being seen. > > Sounds elaborate. An example will help (I am slower than usual today :-) Read the getcap(3) manpage. A simple example: foo: :bar#33:baz: fish: :zog#1:bar@:tc=foo: Retrieving the 'foo' entry gives the capabilities: bar = 33 baz = true Retrieving the 'fish' entry gives the capabilities: zog = 1 baz = true ie. the presence of the 'bar@' entry in 'fish' suppresses the 'bar' capibility when 'foo' is included. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message