search for: xdrs

Displaying 11 results from an estimated 11 matches for "xdrs".

Did you mean: drs
2016 Apr 03
0
[PATCH v2 4/5] appliance: Added filesystem_walk command
...static struct guestfs_tsk_dirent_list *parse_filesystem_walk +(guestfs_h *g, char *buf, size_t bufsize); +int deserialise_dirent_list (guestfs_h *g, char *buf, size_t bufsize, + struct guestfs_tsk_dirent_list **dirents); +static int deserialise_dirent (guestfs_h *g, XDR *xdrs, + struct guestfs_tsk_dirent *dirent); + +struct guestfs_tsk_dirent_list * +guestfs_impl_filesystem_walk (guestfs_h *g, const char *mountable) +{ + int ret = 0; + size_t size = 0; + CLEANUP_FREE char *buf = NULL; + CLEANUP_UNLINK_FREE char *tmpfile = NULL; + + ret...
2016 Mar 29
3
[PATCH 0/2] added filesystem_walk API
The filesystem_walk API parses the FS internals of a partition and returns a list of all the files and directories contained within. It list deleted files and directories as well. For each node, it reports its relative path, its inode and its allocation status. This is the end user API for inspecting a disk partition content. The command can handle filenames with special characters. Example
2016 Mar 29
0
[PATCH 1/2] added filesystem_walk API
...e.h" + +#include "guestfs.h" +#include "guestfs_protocol.h" +#include "guestfs-internal.h" +#include "guestfs-internal-all.h" +#include "guestfs-internal-actions.h" + +#ifdef HAVE_LIBTSK + +static int deserialise_inode_info +(guestfs_h *g, XDR *xdrs, struct guestfs_tsk_node *node_info); +static size_t read_file(guestfs_h *g, const char *path, char **dest); +static struct guestfs_tsk_node_list * +parse_filesystem_walk0 (guestfs_h *g, char *buf, size_t bufsize); +static void free_nodes(struct guestfs_tsk_node_list *nodes); + +struct guestfs_tsk_...
2009 Dec 16
2
What is the fastest way to see what are in an RData file?
Currently, I load the RData file then ls() and str(). But loading the file takes too long if the file is big. Most of the time, I only interested what the variables are in the the file and the attributes of the variables (like if it is a data.frame, matrix, what are the colnames/rownames, etc.) I'm wondering if there is any facility in R to help me avoid loading the whole file.
2011 Aug 25
1
Question about object permanence/marshalling
...;)[[1]][[1]], "/")     object <- object[[1]][length(object[[1]])]     assign(object, load(xdr))     print(sprintf("Loading %s", xdr))     } print(objects()) lapply(c("doStuff", "instance"), marshal) rm(list=c("doStuff", "instance"))    xdrs <- Sys.glob(file.path(Sys.getenv()["TEMP"], "*.xdr")) lapply(xdrs, unmarshal) print(objects())  ## doStuff and instance do not appear! :-( Cheers!! Albert-Jan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ All right, but apart from the sanitation,...
2016 Apr 03
7
[PATCH v2 0/5] Added filesystem_walk command
v2: - Increased the amount of collected information from the FS content. - Moved filesystem_walk0 as internal command. - Code improvement based on comments. - Adhere to project's coding style. - Better command documentation. - More robust tests. Patch ready for review, code available at: https://github.com/noxdafox/libguestfs/tree/filesystem_walk Matteo Cafasso (5): generator:
2016 Apr 04
2
Re: [PATCH v2 4/5] appliance: Added filesystem_walk command
...s_tsk_dirent_list *parse_filesystem_walk > +(guestfs_h *g, char *buf, size_t bufsize); > +int deserialise_dirent_list (guestfs_h *g, char *buf, size_t bufsize, > + struct guestfs_tsk_dirent_list **dirents); > +static int deserialise_dirent (guestfs_h *g, XDR *xdrs, > + struct guestfs_tsk_dirent *dirent); > + > +struct guestfs_tsk_dirent_list * > +guestfs_impl_filesystem_walk (guestfs_h *g, const char *mountable) > +{ > + int ret = 0; > + size_t size = 0; > + CLEANUP_FREE char *buf = NULL; > + CLEAN...
2016 Apr 04
0
Re: [PATCH v2 4/5] appliance: Added filesystem_walk command
...arse_filesystem_walk > > +(guestfs_h *g, char *buf, size_t bufsize); > > +int deserialise_dirent_list (guestfs_h *g, char *buf, size_t bufsize, > > + struct guestfs_tsk_dirent_list **dirents); > > +static int deserialise_dirent (guestfs_h *g, XDR *xdrs, > > + struct guestfs_tsk_dirent *dirent); > > + > > +struct guestfs_tsk_dirent_list * > > +guestfs_impl_filesystem_walk (guestfs_h *g, const char *mountable) > > +{ > > + int ret = 0; > > + size_t size = 0; > > + CLEA...
2017 Sep 20
0
"Input/output error" on mkdir for PPC64 based client
Looks like it is an issue with architecture compatibility in RPC layer (ie, with XDRs and how it is used). Just glance the logs of the client process where you saw the errors, which could give some hints. If you don't understand the logs, share them, so we will try to look into it. -Amar On Wed, Sep 20, 2017 at 2:40 AM, Walter Deignan <WDeignan at uline.com> wrote: >...
2017 Sep 19
3
"Input/output error" on mkdir for PPC64 based client
I recently compiled the 3.10-5 client from source on a few PPC64 systems running RHEL 7.3. They are mounting a Gluster volume which is hosted on more traditional x86 servers. Everything seems to be working properly except for creating new directories from the PPC64 clients. The mkdir command gives a "Input/output error" and for the first few minutes the new directory is
2017 Sep 20
1
"Input/output error" on mkdir for PPC64 based client
..."gluster-users at gluster.org List" <gluster-users at gluster.org> Date: 09/20/2017 01:23 PM Subject: Re: [Gluster-users] "Input/output error" on mkdir for PPC64 based client Looks like it is an issue with architecture compatibility in RPC layer (ie, with XDRs and how it is used). Just glance the logs of the client process where you saw the errors, which could give some hints. If you don't understand the logs, share them, so we will try to look into it. -Amar On Wed, Sep 20, 2017 at 2:40 AM, Walter Deignan <WDeignan at uline.com> wrote: I...