tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux truncate(1) equivalent?



Emmanuel Dreyfus <manu%netbsd.org@localhost> writes:

> Do we have an équivalent of Linux truncate(1)? It calls truncate(2)
> to resize a file.
>
> I tried dd with seek with no success.

see pkgsrc/sysutils/coreutils, whose PLIST has

bin/gtruncate

Attachment: pgp0otFocjb_8.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index