mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Andreas Dilger <adilger@turbolinux.com>
Cc: "Ph. Marek" <marek@bmlv.gv.at>, linux-kernel@vger.kernel.org
Subject: Re: Q: sparse file creation in existing data?
Date: Sat, 30 Jun 2001 11:33:50 +0000	[thread overview]
Message-ID: <20010630113349.B50@toy.ucw.cz> (raw)
In-Reply-To: <3.0.6.32.20010629133915.0091e470@pop3.bmlv.gv.at> <200106291838.f5TIcbAM015809@webber.adilger.int>
In-Reply-To: <200106291838.f5TIcbAM015809@webber.adilger.int>; from adilger@turbolinux.com on Fri, Jun 29, 2001 at 12:38:37PM -0600

Hi!

> It could be used as a replacement for the truncate code, because then
> truncate is simply a special case of punch, namely punch(0, end).

I do not think so. Truncate leaves you with filesize 0, while punch schould
leave you with filesize of original file.
								Pavel
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


  reply	other threads:[~2001-07-08 17:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.A32.3.95.1010629135834.61212E-100000@werner.exp-math. uni-essen.de>
2001-06-29 11:39 ` Ph. Marek
2001-06-29 12:20   ` Dr. Michael Weller
2001-06-29 12:55   ` Ph. Marek
2001-06-29 15:03     ` Daniel Phillips
2001-06-29 18:38   ` Andreas Dilger
2001-06-30 11:33     ` Pavel Machek [this message]
2001-07-09  6:43       ` Andreas Dilger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010630113349.B50@toy.ucw.cz \
    --to=pavel@suse.cz \
    --cc=adilger@turbolinux.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marek@bmlv.gv.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®