Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 15:43:27 +0200
From:      Sheldon Hearn <sheldonh@uunet.co.za>
To:        James Howard <howardjp@glue.umd.edu>
Cc:        arch@FreeBSD.ORG
Subject:   Re: truncate(1) implementation details 
Message-ID:  <30745.962631807@axl.ops.uunet.co.za>
In-Reply-To: Your message of "Mon, 03 Jul 2000 09:40:06 -0400." <Pine.GSO.4.21.0007030936580.5251-100000@y.glue.umd.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help


On Mon, 03 Jul 2000 09:40:06 -0400, James Howard wrote:

> Yes.  Maybe a -v to tell us what is happening.  Wow, adding options right
> and left.

None of which would be required if we just didn't create the files. 
Sometimes, simplicity is elegant. ;-)

> > I would have expected truncate(2) to fail with ENOTSUPP on devices, but
> > that's not what the manual page says.
> 
> Try it on /dev/zero for kicks and see what happens.

Oooh, I was right.  It fails on ENOTSUPP.  Great, an addition for the
truncate(2) manual page.  :-)

Ciao,
Sheldon.


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?30745.962631807>