From owner-freebsd-arch  Mon Jul  3  6: 1:34 2000
Delivered-To: freebsd-arch@freebsd.org
Received: from po4.glue.umd.edu (po4.glue.umd.edu [128.8.10.124])
	by hub.freebsd.org (Postfix) with ESMTP id 29BC337B677
	for <arch@FreeBSD.ORG>; Mon,  3 Jul 2000 06:01:31 -0700 (PDT)
	(envelope-from howardjp@glue.umd.edu)
Received: from y.glue.umd.edu (root@y.glue.umd.edu [128.8.10.68])
	by po4.glue.umd.edu (8.10.1/8.10.1) with ESMTP id e63D1LP12863;
	Mon, 3 Jul 2000 09:01:23 -0400 (EDT)
Received: from y.glue.umd.edu (sendmail@localhost [127.0.0.1])
	by y.glue.umd.edu (8.9.3/8.9.3) with SMTP id JAA03844;
	Mon, 3 Jul 2000 09:01:21 -0400 (EDT)
Received: from localhost (howardjp@localhost)
	by y.glue.umd.edu (8.9.3/8.9.3) with ESMTP id JAA03840;
	Mon, 3 Jul 2000 09:01:21 -0400 (EDT)
X-Authentication-Warning: y.glue.umd.edu: howardjp owned process doing -bs
Date: Mon, 3 Jul 2000 09:01:20 -0400 (EDT)
From: James Howard <howardjp@glue.umd.edu>
To: Sheldon Hearn <sheldonh@uunet.co.za>
Cc: arch@FreeBSD.ORG
Subject: Re: truncate(1) implementation details
In-Reply-To: <904.962613305@axl.ops.uunet.co.za>
Message-ID: <Pine.GSO.4.21.0007030900160.3727-100000@y.glue.umd.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-freebsd-arch@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

On Mon, 3 Jul 2000, Sheldon Hearn wrote:

> below.  The issue I'd like feedback on is whether or not truncate(1)
> should create files given on the command-line when those files do not
> exist at the time of invocation.

It would make sense to have it follow the semantics of the system call and
then add a -c to create if nonexistent as Langer suggested.

J~



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