| Deutsch English Français Italiano |
|
<vhd948$nate$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: <bp@www.zefox.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Are files overwritten in place by sftp?
Date: Sun, 17 Nov 2024 17:28:40 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <vhd948$nate$2@dont-email.me>
Injection-Date: Sun, 17 Nov 2024 18:28:41 +0100 (CET)
Injection-Info: dont-email.me; posting-host="53b8de9ea921bef151cddbada3ac601c";
logging-data="764846"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NfRJ7/9gIoiHs2NPrXHBoEByCQdQ1ntI="
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.1-RELEASE-p5 (arm64))
Cancel-Lock: sha1:GxzR7NSEWxli2aKE1XjSWSTB2ak=
Bytes: 1491
In the event one copies a file or directory over an existing
file or directory is the duplicate written to the same physical
blocks in storage, or are new physical blocks written with the
old blocks marked free?
The situation in mind is using get -r to copy a remote directory,
then changing or adding a few files to the remote directory followed
by using get -r to get the directory a second time. Clearly, changed
files will require writing new blocks on the destination, but what
about files with unchanged paths and contents?
The question is motivated by concerns about limited-life storage
media such as flash.
Thanks for reading,
bob prohaska