Displaying 3 results from an estimated 3 matches for "copy_xattributes".
Did you mean:
copy_attributes
2014 Jan 10
2
Re: RFC: copy-attributes command
On Fri, Jan 10, 2014 at 05:36:39PM +0100, Pino Toscano wrote:
[..]
This still isn't quite what I meant. My meaning was that mode
would be disabled by default (unless all:true).
How about:
int copy_mode, copy_xattributes, copy_ownership;
/* Set defaults. */
if (all)
copy_mode = copy_xattributes = copy_ownership = 1;
else
copy_mode = copy_xattributes = copy_ownership = 0;
/* If set in the original struct, copy those settings overriding
* the defaults.
*/
if ((optargs_bitmask & GUESTFS_COPY_ATTRIBUTES_MOD...
2014 Jan 13
0
Re: RFC: copy-attributes command
...ary 2014 16:53:32 Richard W.M. Jones wrote:
> On Fri, Jan 10, 2014 at 05:36:39PM +0100, Pino Toscano wrote:
> [..]
>
> This still isn't quite what I meant. My meaning was that mode
> would be disabled by default (unless all:true).
OK.
> How about:
>
> int copy_mode, copy_xattributes, copy_ownership;
>
> /* Set defaults. */
> if (all)
> copy_mode = copy_xattributes = copy_ownership = 1;
> else
> copy_mode = copy_xattributes = copy_ownership = 0;
>
> /* If set in the original struct, copy those settings overriding
> * the defaults.
> */
>...
2014 Jan 10
3
Re: RFC: copy-attributes command
On Fri, Jan 10, 2014 at 01:33:38PM +0000, Richard W.M. Jones wrote:
> The API is now pretty confusing. Each OBool flag is really a
> tristate. It can either be "true", "false" or "not specified".
>
> Therefore I think it should be:
>
> xattributes:true # copies only xattrs and nothing else
> all:true # copies