Hi all,

The part about the -S option in the rsync man page says:

    -S, --sparse
         Try to handle sparse files efficiently so they take  up
         less   space   on   the  destination.   Conflicts  with
         --inplace because it's not possible to  overwrite  data
         in a sparse fashion.

         NOTE: Don't use this option when the destination  is  a
         Solaris  "tmpfs"  filesystem. It doesn't seem to handle
         seeks over null regions correctly and ends up  corrupt-
         ing the files.

This may have been true for Solaris 2.5.1 and older, but is not for Solaris 2.6 or later (for the last 12 years). Solaris tmpfs does not implement sparse files, so if you use -S on a Solaris tmpfs system, the files won't be sparse.
This note would be more accurate if it said:

         NOTE: This option has no effect if the destination is a
         Solaris  "tmpfs"  filesystem. The files won't be sparse.

Thanks,
-Justin
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to