From owner-freebsd-arch Mon Jul 3 9:10:44 2000 Delivered-To: freebsd-arch@freebsd.org Received: from po3.glue.umd.edu (po3.glue.umd.edu [128.8.10.123]) by hub.freebsd.org (Postfix) with ESMTP id 0EE8237B90A for ; Mon, 3 Jul 2000 09:10:41 -0700 (PDT) (envelope-from howardjp@glue.umd.edu) Received: from y.glue.umd.edu (root@y.glue.umd.edu [128.8.10.68]) by po3.glue.umd.edu (8.10.1/8.10.1) with ESMTP id e63GAPb05418; Mon, 3 Jul 2000 12:10:27 -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 MAA13955; Mon, 3 Jul 2000 12:10:25 -0400 (EDT) Received: from localhost (howardjp@localhost) by y.glue.umd.edu (8.9.3/8.9.3) with ESMTP id MAA13951; Mon, 3 Jul 2000 12:10:25 -0400 (EDT) X-Authentication-Warning: y.glue.umd.edu: howardjp owned process doing -bs Date: Mon, 3 Jul 2000 12:10:25 -0400 (EDT) From: James Howard To: Sheldon Hearn Cc: Ben Smithurst , arch@FreeBSD.ORG Subject: Re: truncate(1) implementation details In-Reply-To: <32476.962635052@axl.ops.uunet.co.za> Message-ID: 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: > So we've got: > > truncate [-cv] [+|-]size file [...] > -c Create files as necessary > -v Warn about attempts to truncate below zero bytes > > where + and - turn the size argument into a delta to be applied, rather > than an absolute size. > > Any objections to this interface? Looks good :) Jamie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message