Re: file size different from ls to du

From: Harti Brandt (brandt_at_fokus.fraunhofer.de)
Date: 07/29/03

  • Next message: Faried Nawaz: "patch to add make -U"
    Date: Tue, 29 Jul 2003 18:08:29 +0200 (CEST)
    To: Joshua Oreman <oremanj@www.get-linux.org>
    
    

    On Tue, 29 Jul 2003, Joshua Oreman wrote:

    JO>Usually programs will manage their own sparse files; it's something hard
    JO>to do at the shell.

    When I need a file for TCP performance tests I usually do

    dd if=/dev/zero of=file bs=1k count=1 seek=99999

    harti

    -- 
    harti brandt,
    http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private
    brandt@fokus.fraunhofer.de, harti@freebsd.org
    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
    

  • Next message: Faried Nawaz: "patch to add make -U"