From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] rfc: usrmerge script
Date: Wed, 24 Mar 2021 13:09:52 -0400 [thread overview]
Message-ID: <CAGfcS_m05s6XmrTqC=7ownG+=zAPn5WYNMZx_Dub6ahmeFegag@mail.gmail.com> (raw)
In-Reply-To: <YFtWL8Mbrq1XaBDG@linux1.home>
On Wed, Mar 24, 2021 at 11:09 AM William Hubbs <williamh@gentoo.org> wrote:
>
> On Wed, Mar 24, 2021 at 08:48:41AM +0100, Michał Górny wrote:
> >
> > What really can help is reflinking on filesystems supporting that.
>
> What really can help is more info instead of being terse like this.
> Which filesystems support it?
>
According to Google right now: Btrfs, CIFS, NFS 4.2, OCFS2, overlayfs, and XFS
Lizardfs ought to, but doesn't currently. zfs does not because clones
only are supported at the dataset level.
In any case, if you're using coreutils cp to do the copy, just pass
--reflink=auto. Honestly, I have no idea why this isn't the default
behavior. Who wouldn't want instant copy operations that consume zero
space (aside from metdata)? If you're doing this in C or some other
language you would need to see if they have a library call to do it
easily - see man ioctl_ficlone.
--
Rich
next prev parent reply other threads:[~2021-03-24 17:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-21 17:39 [gentoo-dev] rfc: usrmerge script William Hubbs
2021-03-21 18:00 ` Matthias Maier
2021-03-21 19:08 ` Luigi Mantellini
2021-03-21 19:27 ` William Hubbs
2021-03-21 19:22 ` William Hubbs
2021-03-23 9:23 ` Michał Górny
2021-03-24 5:20 ` William Hubbs
2021-03-24 7:48 ` Michał Górny
2021-03-24 15:09 ` William Hubbs
2021-03-24 17:09 ` Rich Freeman [this message]
2021-03-24 18:37 ` William Hubbs
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='CAGfcS_m05s6XmrTqC=7ownG+=zAPn5WYNMZx_Dub6ahmeFegag@mail.gmail.com' \
--to=rich0@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/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