Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 20:37:26 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        James Howard <howardjp@glue.umd.edu>
Cc:        "Rodney W. Grimes" <freebsd@gndrsh.dnsmgr.net>, Sheldon Hearn <sheldonh@uunet.co.za>, Ben Smithurst <ben@scientia.demon.co.uk>, arch@FreeBSD.ORG
Subject:   Re: truncate(1) implementation details 
Message-ID:  <7853.962649446@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 03 Jul 2000 14:28:56 EDT." <Pine.GSO.4.21.0007031428230.28576-100000@y.glue.umd.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.GSO.4.21.0007031428230.28576-100000@y.glue.umd.edu>, James How
ard writes:
>On Mon, 3 Jul 2000, Rodney W. Grimes wrote:
>
>> truncate(2) has no way to ``create'' a file, and thus truncate(1)
>> should not either.  Also -c has just the opposite meaning on the
>> touch(1) command, probably leading to a POLA violation :-)
>
>POLA?

Principle of least astonishment

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7853.962649446>