[Bug 7040] New: add the BSD truncate applet

bugzilla at busybox.net bugzilla at busybox.net
Fri Apr 18 01:14:42 UTC 2014


https://bugs.busybox.net/show_bug.cgi?id=7040

           Summary: add the BSD truncate applet
           Product: Busybox
           Version: 1.22.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: mantoxpub at people.it
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


truncate can do inplace trimming and has a better syntax than dd.

An old implementation is here:
http://svn0.us-west.freebsd.org/base/head/usr.bin/truncate/truncate.c

It is based on the POSIX function "ftruncate"
http://pubs.opengroup.org/onlinepubs/009695399/functions/ftruncate.html

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list