Package: rsync
Version: 3.0.7-2
Severity: normal
File: /usr/bin/rsync

Hi,

when writing new files the size of the resulting file is known (except in
race conditions) beforehand and should be communicated to the
filesystem using posix_fallocate(). This ensures there is enough space
for the file and more importantly allows the filesystem to place the
file better, idealy as one continious chunk, on the filesystem.

Some care must be taken to ftruncate() the file to its smaller size if
the source file has shrunk while writing. But doesn't rsyncing restart
that file in such a case?

MfG
        Goswin


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (666, 'unstable'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-rc7-xen-1 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages rsync depends on:
ii  base-files                    5.9        Debian base system miscellaneous f
ii  libacl1                       2.2.51-3   Access control list shared library
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  libpopt0                      1.16-1     lib for parsing cmdline parameters
ii  lsb-base                      3.2-23.1   Linux Standard Base 3.2 init scrip

rsync recommends no packages.

Versions of packages rsync suggests:
ii  openssh-client                1:5.5p1-5  secure shell (SSH) client, for sec
ii  openssh-server                1:5.5p1-5  secure shell (SSH) server, for sec

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to