From owner-freebsd-questions Wed Oct 3 11:44:37 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by hub.freebsd.org (Postfix) with ESMTP id 5BE3F37B406 for ; Wed, 3 Oct 2001 11:44:28 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.11.3/8.9.3) with ESMTP id f93Igft27314; Wed, 3 Oct 2001 15:42:43 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Wed, 3 Oct 2001 15:42:41 -0300 (ART) From: Fernando Gleiser To: Tim Singletary Cc: Subject: Re: hard link and schg flag ? In-Reply-To: <15291.22966.892426.726912@macaw.hq.vetinsite.com> Message-ID: <20011003153816.C20900-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 3 Oct 2001, Tim Singletary wrote: > On a 4.4-RELEASE system, I'm trying to understand > > It appears that I can't hard link a file whose schg flag is set. > I've checked `man 1 ln', man 2 link', `man 1 chflags', and `man 2 > chflags' but can't find any good clues about what's happening. #ifdef WILDGUESS if the inmutable flags afects the inode rather than the contents of the file this is a feature, since creating a new hardlink increases the link count *in the inode* and you cant modify the inode contens. #endif Hope this helps. Fer > > Is this a bug or a feature? > > Thanks, > > tim > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message