search for: b77d764

Displaying 4 results from an estimated 4 matches for "b77d764".

2014 Jan 07
8
RFC: copy-attributes command
Hi, attached there is a prototype of patch for adding a new copy-attributes command. Such command would allow copy the attributes of a "file" to another, so for example in guestfish: copy-attributes foo bar permissions:true xattributes:false would only copy the permissions of foo to bar, not copying its extended attributes too. Just few notes: - my first daemon command, so
2014 Jan 13
0
[PATCH] New API: copy-attributes.
...est-file-attrs.sh | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 38 ++++++++++++ src/MAX_PROC_NR | 2 +- 7 files changed, 341 insertions(+), 1 deletion(-) create mode 100755 fish/test-file-attrs.sh diff --git a/daemon/daemon.h b/daemon/daemon.h index b77d764..6535658 100644 --- a/daemon/daemon.h +++ b/daemon/daemon.h @@ -231,6 +231,9 @@ extern void journal_finalize (void); /*-- in proto.c --*/ extern void main_loop (int sock) __attribute__((noreturn)); +/*-- in xattr.c --*/ +extern int copy_xattrs (const char *src, const char *dest); + /* ordinary...
2014 Jan 07
0
Re: RFC: copy-attributes command
...epetition with other stuff in xattr.c, > but I'm not sure how to avoid it without making the xattr listing code > (getxattrs) a bit more complex that what it is already > > Comments? > > -- > Pino Toscano > diff --git a/daemon/daemon.h b/daemon/daemon.h > index b77d764..6535658 100644 > --- a/daemon/daemon.h > +++ b/daemon/daemon.h > @@ -231,6 +231,9 @@ extern void journal_finalize (void); > /*-- in proto.c --*/ > extern void main_loop (int sock) __attribute__((noreturn)); > > +/*-- in xattr.c --*/ > +extern int copy_xattrs (const char...
2014 Jan 10
4
Re: RFC: copy-attributes command
...> xattr.c,> > > but I'm not sure how to avoid it without making the xattr listing > > code (getxattrs) a bit more complex that what it is already > > > > Comments? > > > > > > diff --git a/daemon/daemon.h b/daemon/daemon.h > > index b77d764..6535658 100644 > > --- a/daemon/daemon.h > > +++ b/daemon/daemon.h > > @@ -231,6 +231,9 @@ extern void journal_finalize (void); > > > > /*-- in proto.c --*/ > > extern void main_loop (int sock) __attribute__((noreturn)); > > > > +/*-- in xattr.c...