search for: cmds

Displaying 20 results from an estimated 444 matches for "cmds".

Did you mean: cmd
2013 Aug 20
7
[PATCH] btrfs-progs: use btrfs error code for kernel errors
...will help btrfs-progs (and thus user) to know the error string on the terminal (instead of /var/log/messages as previously kernel did). This patch depends on the btrfs kernel patch: btrfs: return btrfs error code for dev excl ops err Signed-off-by: Anand Jain <anand.jain@oracle.com> --- cmds-balance.c | 15 +++++++++++++++ cmds-device.c | 7 ++++++- cmds-filesystem.c | 6 +++++- cmds-replace.c | 7 ++++++- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/cmds-balance.c b/cmds-balance.c index c78b726..30019be 100644 --- a/cmds-balance.c +++ b/cmds-bal...
2003 Aug 21
1
Smartcard: sectok compiler error
...ive micro smartcard working with openssh. I read the README.smartcard, but i got stuck with sectok. It might be a little offtopic but i am totally stuck! After it compiled libsectok without the -Bforcearchive flag i tried to compile sectok: [root at box sectok-20020524]# make gcc -o sectok main.o cmds.o cyberflex.o ../libsectok/libsectok.a -lcrypto cmds.o: In function `reset': /home/mohnewald/sectok-20020524/cmds.c:158: undefined reference to `optreset' cmds.o: In function `apdu': /home/mohnewald/sectok-20020524/cmds.c:233: undefined reference to `optreset' cmds.o: In function `s...
2013 Aug 14
23
[RFC] btrfs-progs: fix sparse checking and warnings
Hi gang, I was a little surprised to see that patch go by recently which fixed an endian bug. I went to see how sparse checking looked and it was.. broken. I got it going again in my Fedora environment. Most of the patches are just cleanups, but there *were* three real bugs lurking in all that sparse warning spam. So I maintain that it''s worth our time to keep it going and fix
2016 Jun 01
0
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...ct drv **drvs); -static void do_suggestion (struct drv *drvs); +static char ** do_suggestion (struct drv *drvs); /* Currently open libguestfs handle. */ guestfs_h *g; @@ -50,6 +50,9 @@ int echo_keys = 0; const char *libvirt_uri = NULL; int inspector = 0; +static void use_suggestions (char **cmds); +static void parse_opts(int argc, char * argv[]); + static void __attribute__((noreturn)) usage (int status) { @@ -65,6 +68,8 @@ usage (int status) "Options:\n" " -a|--add image Add image\n" " --append kernelopts Ap...
2016 Jun 01
2
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in
2016 May 24
1
[PATCH] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems and change root suggested by --suggest option in virt-rescue. Commands are passed on kernel command line in format guestfs_command=command;. Command ends with a semicolon and there can be multiple commands specified. These are executed just before bash starts. On successfull run user is presented directly with bash in
2013 Apr 09
19
[PATCH 00/17] Btrfs-progs: some receive related patches
...s also on git://btrfs.giantdisaster.de/git/btrfs-progs recv1 Alex Lyakas (1): btrfs-progs: Fix the receive code pathing Stefan Behrens (16): Btrfs-progs: Use /proc/mounts instead of /etc/mtab Btrfs-progs: ignore subvols above BTRFS_LAST_FREE_OBJECTID Btrfs-progs: close file descriptor in cmds-send.c Btrfs-progs: fix a small memory leak in btrfs-list.c Btrfs-progs: add a function to free subvol_uuid_search memory Btrfs-progs: cleanup subvol_uuid_search memory in btrfs send/receive Btrfs-progs: free memory and close file descriptor in btrfs receive Btrfs-progs: Set the root-id f...
2013 Dec 02
3
[PATCH 1/3] btrfs-progs: Turning ON incompat isn't an error
Signed-off-by: Anand Jain <anand.jain@oracle.com> --- mkfs.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/mkfs.c b/mkfs.c index de1beed..0843600 100644 --- a/mkfs.c +++ b/mkfs.c @@ -1196,8 +1196,7 @@ static void process_fs_features(u64 flags) for (i = 0; i < ARRAY_SIZE(mkfs_features); i++) { if (flags & mkfs_features[i].flag) { - fprintf(stderr,
2009 Aug 17
1
[PATCH libguestfs] generator.ml: do not emit unused print_* functions
One final set: cmds.c:968:13: warning: 'print_lvm_pv' defined but not used cmds.c:1012:13: warning: 'print_lvm_vg' defined but not used cmds.c:1055:13: warning: 'print_lvm_lv' defined but not used cmds.c:1142:13: warning: 'print_dirent' defined but not used cmds.c:1196:1...
2009 Aug 17
2
[PATCH libguestfs] generator.ml: do not emit unused print_*_list functions
I see the following warnings: cmds.c:934:13: warning: 'print_int_bool_list' defined but not used cmds.c:1093:13: warning: 'print_stat_list' defined but not used cmds.c:1124:13: warning: 'print_statvfs_list' defined but not used cmds.c:1171:13: warning: 'print_version_list' defined but not used...
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...truct drv *drvs); > +static char ** do_suggestion (struct drv *drvs); > > /* Currently open libguestfs handle. */ > guestfs_h *g; > @@ -50,6 +50,9 @@ int echo_keys = 0; > const char *libvirt_uri = NULL; > int inspector = 0; > > +static void use_suggestions (char **cmds); > +static void parse_opts(int argc, char * argv[]); > + > static void __attribute__((noreturn)) > usage (int status) > { > @@ -65,6 +68,8 @@ usage (int status) > "Options:\n" > " -a|--add image Add image\n" >...
2012 Nov 01
41
[Request for review] [RFC] Add label support for snapshots and subvols
...ks, Anand Anand Jain (2): Btrfs-progs: move open_file_or_dir() to utils.c Btrfs-progs: add feature to label subvol and snapshot Makefile | 4 ++-- btrfsctl.c | 7 ++++--- btrfslabel.c | 40 ++++++++++++++++++++++++++++++++++++++++ btrfslabel.h | 4 +++- cmds-balance.c | 1 + cmds-filesystem.c | 34 +++++++++++++++++++++++++++++----- cmds-inspect.c | 1 + cmds-qgroup.c | 1 + cmds-quota.c | 1 + cmds-subvolume.c | 1 + commands.h | 3 --- common.c | 46 ----------------------------------------------...
2013 Sep 05
12
[PATCH 0/5] Memory leaks amended
...rfs-progs:free local variable buf upon unsuccessful returns btrfs-progs:local variable memory freed btrfs-progs: missing tree-freeing statements added btrfs-progs:free the local list pending_list in btrfs_scan_one_dir btrfs-progs:free strdup()s that are not freed btrfs-image.c | 2 ++ cmds-check.c | 5 +++++ cmds-subvolume.c | 48 ++++++++++++++++++++++++++++++++++-------------- mkfs.c | 12 +++++++++++- utils.c | 10 ++++++++-- 5 files changed, 60 insertions(+), 17 deletions(-) -- 1.8.0.1 -- To unsubscribe from this list: send the line "unsubscribe li...
2012 Nov 15
0
[PATCH] btrfs-progs: fix 32bit int/pointer cast warnings
This uses uintptr_t to cast pointers to u64 ioctl arguments to silence some 32bit build warnings: cmds-inspect.c: In function ‘__ino_to_path_fd’: cmds-inspect.c:47:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cmds-inspect.c: In function ‘cmd_logical_resolve’: cmds-inspect.c:171:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]...
2016 Jun 16
0
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
...do_suggestion (struct drv *drvs); >> >> /* Currently open libguestfs handle. */ >> guestfs_h *g; >> @@ -50,6 +50,9 @@ int echo_keys = 0; >> const char *libvirt_uri = NULL; >> int inspector = 0; >> >> +static void use_suggestions (char **cmds); >> +static void parse_opts(int argc, char * argv[]); >> + >> static void __attribute__((noreturn)) >> usage (int status) >> { >> @@ -65,6 +68,8 @@ usage (int status) >> "Options:\n" >> " -a|--add...
2009 Jun 21
1
domU shutdown with cx88 crashes dom0
Hi, I've got a big problem with a cx88 DVB card. It is passed through to a CentOS 5.3 domU (dom0 is CentOS 5.3 as well), but when I shutdown the domU, this happens: cx88[0]: mpeg risc op code error cx88[0]: mpeg - dma channel status dump cx88[0]: cmds: initial risc: 0xffffffff cx88[0]: cmds: cdt base : 0xffffffff cx88[0]: cmds: cdt size : 0xffffffff cx88[0]: cmds: iq base : 0xffffffff cx88[0]: cmds: iq size : 0xffffffff cx88[0]: cmds: risc pc : 0xffffffff cx88[0]: cmds: iq wr ptr : 0xffffffff cx88[0]: cmds: iq r...
2012 Sep 12
3
[RFC][PATCH] Btrfs-progs: Fix compiler warnings on PPC64.
...pe ‘u64’ Defining __KERNEL__ before the file <asm/types.h>, or any file that includes this file, will let PPC64 know to use unsigned long long for u64 instead. This patch adds the defines and fixes the print warnings on PPC64. Signed-off-by: Wade Cline <clinew@linux.vnet.ibm.com> --- cmds-receive.c | 1 + cmds-scrub.c | 2 ++ convert.c | 1 + kerncompat.h | 6 ++++++ mkfs.c | 1 + 5 files changed, 11 insertions(+), 0 deletions(-) diff --git a/cmds-receive.c b/cmds-receive.c index a8be6fa..6cb51fe 100644 --- a/cmds-receive.c +++ b/cmds-receive.c @@ -2...
2003 Jan 12
0
[Bug 466] New: stfp cmds array conflicts with libc
http://bugzilla.mindrot.org/show_bug.cgi?id=466 Summary: stfp cmds[] array conflicts with libc Product: Portable OpenSSH Version: 3.5p1 Platform: ix86 OS/Version: BSDI Status: NEW Severity: normal Priority: P2 Component: sftp AssignedTo: openssh-unix-dev at mindrot.org...
2014 Jan 29
3
[Bug 10405] New: Feature request: Add support for pre/post cmds for the rsync client
https://bugzilla.samba.org/show_bug.cgi?id=10405 Summary: Feature request: Add support for pre/post cmds for the rsync client Product: rsync Version: 3.1.1 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy:...
2012 Jun 29
12
[PATCH 1/3] Btrfs-progs: add support to set subvolume/snapshot readonly
Setting subvolume/snapshot readonly has been missing for a long time. With this patch, we can set a subvolume/snapshot readonly via: o btrfs subvolume set-ro <path> Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com> --- cmds-subvolume.c | 40 ++++++++++++++++++++++++++++++++++++++++ ioctl.h | 7 +++++++ 2 files changed, 47 insertions(+), 0 deletions(-) diff --git a/cmds-subvolume.c b/cmds-subvolume.c index 950fa8f..5ee31cb 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -512,6 +512,44 @@ static i...