From owner-freebsd-fs  Sun Jul 22 20:26:32 2001
Delivered-To: freebsd-fs@freebsd.org
Received: from elm.phenome.org (elm.phenome.org [194.153.169.3])
	by hub.freebsd.org (Postfix) with ESMTP
	id 1C77037B401; Sun, 22 Jul 2001 20:26:27 -0700 (PDT)
	(envelope-from joshua@roughtrade.net)
Received: from localhost (joshua@localhost [127.0.0.1])
        by localhost (8.12.0.Beta7/8.12.0.Beta7/Debian 8.12.0.Beta7-1) with ESMTP id f6N3QKCC005292;
	Mon, 23 Jul 2001 04:26:20 +0100
Date: Mon, 23 Jul 2001 04:26:19 +0100 (BST)
From: Joshua Goodall <joshua@roughtrade.net>
X-X-Sender:  <joshua@elm.phenome.org>
To: Bakul Shah <bakul@bitblocks.com>
Cc: <tlambert2@mindspring.com>, Bruce Evans <bde@zeta.org.au>,
	<freebsd-fs@FreeBSD.ORG>, <freebsd-hackers@FreeBSD.ORG>
Subject: Re: flags on symlinks 
In-Reply-To: <200107230016.UAA17001@renown.cnchost.com>
Message-ID: <Pine.LNX.4.33.0107230418500.4671-100000@elm.phenome.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-fs@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-fs.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-fs>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-fs>
X-Loop: FreeBSD.org



On Sun, 22 Jul 2001, Bakul Shah wrote:

> Well, I won't mind if {,l}ch{mod,own,flags} etc become library
> routines.  Something like:

I'm not going to take that path, but if you wanted to change the syscall
interface, a more radical solution would be creation of a (get|set)attrs
call to replace the current [fl]?(chown|chmod|chflags|utimes|stat) set
and create libc wrappers.

However I am going down the road of a lchflags which is consistent with
existing l(chown|chmod|utimes) and also consistent with the NetBSD
implementation.

I doubt many systems programmers would thank me for radically changing
semantics along the way.

Regards

Joshua



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message