From owner-freebsd-hackers Sun Jun 27 10:51:52 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from math.psu.edu (leibniz.math.psu.edu [146.186.130.2]) by hub.freebsd.org (Postfix) with ESMTP id ACEB015040 for ; Sun, 27 Jun 1999 10:51:50 -0700 (PDT) (envelope-from viro@math.psu.edu) Received: from weyl.math.psu.edu (weyl.math.psu.edu [146.186.130.226]) by math.psu.edu (8.9.3/8.9.3) with ESMTP id NAA29411; Sun, 27 Jun 1999 13:51:48 -0400 (EDT) Received: from localhost (viro@localhost) by weyl.math.psu.edu (8.9.3/8.9.3) with ESMTP id NAA02792; Sun, 27 Jun 1999 13:51:47 -0400 (EDT) X-Authentication-Warning: weyl.math.psu.edu: viro owned process doing -bs Date: Sun, 27 Jun 1999 13:51:47 -0400 (EDT) From: Alexander Viro To: Jan-Simon Pendry Cc: Bill Sommerfeld , Francois-Rene Rideau , Linux Kernel , FreeBSD Hackers , NetBSD Kernel Subject: Re: Improving the Unix API In-Reply-To: <377661C6.89FB7F5@pendry.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 27 Jun 1999, Jan-Simon Pendry wrote: > Alexander Viro wrote: > > Proposed API on the Linux side being > > int chflags(name, level, oldp, newp); where level is FL_VFS for generic > > attirbutes (fs may map them on its own set) and FL_{UFS,EXT2,...} for raw > > flags - corresponding filesystem is free to interpret the thing as it > > likes and should set the generic attributes in the right way. > > if linux introduces a different API (ie not just an extension of > the existing bsd API) then please do *not* call it "chflags". ;-/ Yes, it makes sense. > it took years just to get over the bsd vs. svr4 gettimeofday() > fiasco. btw, what's the proposed API for getting the current > attribute set? oldp == NULL ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message