search for: srcdev

Displaying 20 results from an estimated 36 matches for "srcdev".

Did you mean: scdev
2017 May 30
1
[PATCH] btrfs_replace: fix position of subcommand options
...ust appear now before the subcommand arguments. --- daemon/btrfs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 23513a9..ae2310b 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2185,11 +2185,11 @@ do_btrfs_replace (const char *srcdev, const char *targetdev, ADD_ARG (argv, i, str_btrfs); ADD_ARG (argv, i, "replace"); ADD_ARG (argv, i, "start"); - ADD_ARG (argv, i, srcdev); - ADD_ARG (argv, i, targetdev); - ADD_ARG (argv, i, path_buf); ADD_ARG (argv, i, "-B"); ADD_ARG (argv, i, &quo...
2015 Jun 24
2
[PATCH v3] New API: btrfs_replace
...mode 100755 tests/btrfs/test-btrfs-replace.sh diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 20e5e6b..509a323 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2060,3 +2060,39 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_bu...
2015 Jun 10
2
[PATCH] New API: btrfs_replace_start
...++++ 3 files changed, 67 insertions(+) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 39392f7..acc300d 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace_start (const char *srcdev, const char *targetdev, + const char* mntpoint, int force) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path...
2015 Jun 15
2
[PATCH v2] New API: btrfs_replace
...mode 100755 tests/btrfs/test-btrfs-replace.sh diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 39392f7..eba336b 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_bu...
2015 Jun 17
2
Re: [PATCH v2] New API: btrfs_replace
...c >> index 39392f7..eba336b 100644 >> --- a/daemon/btrfs.c >> +++ b/daemon/btrfs.c >> @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, >> >> return 0; >> } >> + >> +int >> +do_btrfs_replace (const char *srcdev, const char *targetdev, >> + const char* mntpoint) >> +{ >> + const size_t MAX_ARGS = 64; >> + const char *argv[MAX_ARGS]; >> + size_t i = 0; >> + CLEANUP_FREE char *err = NULL; >> + CLEANUP_FREE char *path_buf = NULL; &g...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...> index 39392f7..acc300d 100644 >> --- a/daemon/btrfs.c >> +++ b/daemon/btrfs.c >> @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, >> >> return 0; >> } >> + >> +int >> +do_btrfs_replace_start (const char *srcdev, const char *targetdev, >> + const char* mntpoint, int force) >> +{ >> + const size_t MAX_ARGS = 64; >> + const char *argv[MAX_ARGS]; >> + size_t i = 0; >> + CLEANUP_FREE char *err = NULL; >> + CLEANUP_FREE char *path_buf = NULL;...
2015 Jun 11
0
Re: [PATCH] New API: btrfs_replace_start
...t a/daemon/btrfs.c b/daemon/btrfs.c > index 39392f7..acc300d 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, > > return 0; > } > + > +int > +do_btrfs_replace_start (const char *srcdev, const char *targetdev, > + const char* mntpoint, int force) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_ARGS]; > + size_t i = 0; > + CLEANUP_FREE char *err = NULL; > + CLEANUP_FREE char *path_buf = NULL; > + int r; > + >...
2015 Jun 24
0
[PATCH] New API: btrfs_replace
...mode 100755 tests/btrfs/test-btrfs-replace.sh diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 20e5e6b..509a323 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2060,3 +2060,39 @@ do_btrfs_image (char *const *sources, const char *image, return 0; } + +int +do_btrfs_replace (const char *srcdev, const char *targetdev, + const char* mntpoint) +{ + const size_t MAX_ARGS = 64; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *err = NULL; + CLEANUP_FREE char *path_buf = NULL; + int r; + + path_buf = sysroot_path (mntpoint); + if (path_bu...
2015 Jun 16
0
Re: [PATCH v2] New API: btrfs_replace
...f --git a/daemon/btrfs.c b/daemon/btrfs.c > index 39392f7..eba336b 100644 > --- a/daemon/btrfs.c > +++ b/daemon/btrfs.c > @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const char *image, > > return 0; > } > + > +int > +do_btrfs_replace (const char *srcdev, const char *targetdev, > + const char* mntpoint) > +{ > + const size_t MAX_ARGS = 64; > + const char *argv[MAX_ARGS]; > + size_t i = 0; > + CLEANUP_FREE char *err = NULL; > + CLEANUP_FREE char *path_buf = NULL; > + int r; > + > +...
2015 Jun 18
0
Re: [PATCH v2] New API: btrfs_replace
...> --- a/daemon/btrfs.c >>> +++ b/daemon/btrfs.c >>> @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const >>> char *image, >>> >>> return 0; >>> } >>> + >>> +int >>> +do_btrfs_replace (const char *srcdev, const char *targetdev, >>> + const char* mntpoint) >>> +{ >>> + const size_t MAX_ARGS = 64; >>> + const char *argv[MAX_ARGS]; >>> + size_t i = 0; >>> + CLEANUP_FREE char *err = NULL; >>> + CLEANUP_FR...
2015 Jun 23
1
Re: [PATCH v2] New API: btrfs_replace
...t;> +++ b/daemon/btrfs.c >>>> @@ -2083,3 +2083,40 @@ do_btrfs_image (char *const *sources, const >>>> char *image, >>>> >>>> return 0; >>>> } >>>> + >>>> +int >>>> +do_btrfs_replace (const char *srcdev, const char *targetdev, >>>> + const char* mntpoint) >>>> +{ >>>> + const size_t MAX_ARGS = 64; >>>> + const char *argv[MAX_ARGS]; >>>> + size_t i = 0; >>>> + CLEANUP_FREE char *err = NULL; &g...
2015 Jun 12
0
Re: [PATCH] New API: btrfs_replace_start
...gt; --- a/daemon/btrfs.c > >> +++ b/daemon/btrfs.c > >> @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, > >> > >> return 0; > >> } > >> + > >> +int > >> +do_btrfs_replace_start (const char *srcdev, const char *targetdev, > >> + const char* mntpoint, int force) > >> +{ > >> + const size_t MAX_ARGS = 64; > >> + const char *argv[MAX_ARGS]; > >> + size_t i = 0; > >> + CLEANUP_FREE char *err = NULL; > >> +...
2006 Mar 06
3
call manager integration
...lem with my setup? THanks, JErry ---------------- <Date>03/06/2006 13:58:36.374</Date> <Cluster>CO-CCMPUB-01-Cluster</Cluster> <CMHost>10.101.66.10</CMHost> <TraceType>Trace</TraceType> <CTag>2,100,114,1.347</CTag> <SrcDev>10.66.101.10</SrcDev> <SrcIp>INVITE</SrcIp> <CTMapKey /> <CTMapVal /> <info>Cisco CallManagerDigit analysis: wait_DaReq - cepn=[] BlockFlag=[1]</info> </trace> - <trace> <Date>03/06/2006 13:58:36.374</Date> &lt...
2015 Jun 12
2
Re: [PATCH] New API: btrfs_replace_start
...gt;>>> +++ b/daemon/btrfs.c >>>> @@ -2083,3 +2083,43 @@ do_btrfs_image (char *const *sources, const char *image, >>>> >>>> return 0; >>>> } >>>> + >>>> +int >>>> +do_btrfs_replace_start (const char *srcdev, const char *targetdev, >>>> + const char* mntpoint, int force) >>>> +{ >>>> + const size_t MAX_ARGS = 64; >>>> + const char *argv[MAX_ARGS]; >>>> + size_t i = 0; >>>> + CLEANUP_FREE char *err = NULL;...
2015 Oct 27
1
[PATCHv3] Added btrfs support to vfs_minimum_size.
...s-min-size.c | 34 ++++++++++++++++++++++++- generator/actions.ml | 6 ++++- 4 files changed, 110 insertions(+), 2 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index ddb029d..652a17e 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2190,3 +2190,74 @@ do_btrfs_replace (const char *srcdev, const char *targetdev, return 0; } + +/* btrfs command add a new command + * inspect-internal min-dev-size <path> + * since v4.2 + * We could check whether 'btrfs' supports + * 'min-dev-size' command by checking the output of + * 'btrfs --help' command. + */ +sta...
2015 Jul 02
1
[PATCH v6] New API: set_uuid_random
...g, int projid32bit, diff --git a/generator/actions.ml b/generator/actions.ml index b1865e0..fb4a174 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12636,6 +12636,25 @@ removed from the filesystem. The C<targetdev> needs to be same size or larger than the C<srcdev>. Devices which are currently mounted are never allowed to be used as the C<targetdev>." }; + { defaults with + name = "set_uuid_random"; added = (1, 29, 48); + style = RErr, [Device "device"], []; + proc_nr = Some 456; + tests = [ + InitBasi...
2015 Jun 30
0
[PATCH v4 7/7] New API: set_uuid_random
...r = -1; + } + + return r; +} diff --git a/generator/actions.ml b/generator/actions.ml index 372e50e..52404ab 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12623,6 +12623,22 @@ removed from the filesystem. The C<targetdev> needs to be same size or larger than the C<srcdev>. Devices which are currently mounted are never allowed to be used as the C<targetdev>." }; + { defaults with + name = "set_uuid_random"; added = (1, 29, 48); + style = RErr, [Device "device"], []; + proc_nr = Some 456; + tests = [ + InitBasi...
2016 May 12
1
[PATCH] New API: btrfs-filesystem-show (RHBZ#1164765)
...+ generator/actions.ml | 27 ++++++++++++++++++ src/MAX_PROC_NR | 2 +- 3 files changed, 106 insertions(+), 1 deletion(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index 2a20cb0..62bdac7 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2203,6 +2203,84 @@ do_btrfs_replace (const char *srcdev, const char *targetdev, return 0; } +char ** +do_btrfs_filesystem_show (const char *device) +{ + CLEANUP_FREE_STRINGSBUF DECLARE_STRINGSBUF (ret); + const size_t MAX_ARGS = 16; + const char *argv[MAX_ARGS]; + size_t i = 0; + CLEANUP_FREE char *out = NULL; + CLEANUP_FREE char *err = NULL...
2015 Oct 23
1
[PATCHv2] Added btrfs support for vfs_min_size.
...fs-min-size.c | 33 ++++++++++++++++++++---- generator/actions.ml | 6 ++++- 4 files changed, 106 insertions(+), 6 deletions(-) diff --git a/daemon/btrfs.c b/daemon/btrfs.c index ddb029d..1e0a9a2 100644 --- a/daemon/btrfs.c +++ b/daemon/btrfs.c @@ -2190,3 +2190,75 @@ do_btrfs_replace (const char *srcdev, const char *targetdev, return 0; } + +/* btrfs command add a new command + * inspect-internal min-dev-size <path> + * since v4.2 + * We could check whether 'btrfs' supports + * 'min-dev-size' command by checking the output of + * 'btrfs --help' command. + */ +sta...
2015 Jul 01
0
[PATCH v5 3/3] New API: set_uuid_random
...g, int projid32bit, diff --git a/generator/actions.ml b/generator/actions.ml index b1865e0..b214c37 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -12636,6 +12636,22 @@ removed from the filesystem. The C<targetdev> needs to be same size or larger than the C<srcdev>. Devices which are currently mounted are never allowed to be used as the C<targetdev>." }; + { defaults with + name = "set_uuid_random"; added = (1, 29, 48); + style = RErr, [Device "device"], []; + proc_nr = Some 456; + tests = [ + InitBasi...