From: Mikael Pettersson <mikpe@csd.uu.se>
To: mikpe@csd.uu.se, viro@math.psu.edu
Cc: aeb@veritas.com, linux-kernel@vger.kernel.org
Subject: Re: 2.4.0-test10 truncate() change broke `dd'
Date: Thu, 16 Nov 2000 12:32:45 +0100 (MET) [thread overview]
Message-ID: <200011161132.MAA26011@harpo.it.uu.se> (raw)
On Thu, 16 Nov 2000, Alexander Viro wrote:
> And what kind of meaning would you assign to truncate on floppy?
On a block or char device, truncate == lseek seems reasonable.
My guess is that dd uses ftruncate because that's correct for
regular files and has happened to also work (as an alias for
lseek) for devices.
> Use conv=notrunc.
I didn't know about notrunc. Yet another GNU invention?
/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2000-11-16 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-16 11:32 Mikael Pettersson [this message]
2000-11-16 11:53 ` Alexander Viro
2000-11-16 14:44 ` Andries Brouwer
-- strict thread matches above, loose matches on Subject: below --
2000-11-16 0:58 Mikael Pettersson
2000-11-16 8:02 ` Alexander Viro
2000-11-17 17:16 ` Andries Brouwer
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=200011161132.MAA26011@harpo.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=aeb@veritas.com \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@math.psu.edu \
/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®