Displaying 20 results from an estimated 20 matches for "123456789012".
2015 Jun 26
3
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...abel ("/dev/sda1");
> die "unexpected label: expecting 'newlabel' but got '$label'"
> unless $label eq "newlabel";
>
> +# Setting btrfs UUID
> +eval {
> + $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> +};
> +# FIXME: ignore ESRCH
What is ESRCH about?
> +my $err = $g->last_errno ();
> +
> +if ($err == 0) {
> + my $uuid = $g->vfs_uuid ("/dev/sda1");
> + die "unexpected uuid expecting
> + '12345678-1234-1234-1234-123456789012...
2015 Jun 29
1
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...expected label: expecting 'newlabel' but got '$label'"
> > > unless $label eq "newlabel";
> > >
> > > +# Setting btrfs UUID
> > > +eval {
> > > + $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> > > +};
> > > +# FIXME: ignore ESRCH
> >
> > What is ESRCH about?
>
> The problem is every time I got a ESRCH here.
> I have no idea about this.
>
> Can we just ignore it by:
> } elsif ($err == Errno::ESRCH()) {
> ;
> } else {
&...
2015 Jun 29
0
Re: [PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...;
> > die "unexpected label: expecting 'newlabel' but got '$label'"
> > unless $label eq "newlabel";
> >
> > +# Setting btrfs UUID
> > +eval {
> > + $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> > +};
> > +# FIXME: ignore ESRCH
>
> What is ESRCH about?
The problem is every time I got a ESRCH here.
I have no idea about this.
Can we just ignore it by:
} elsif ($err == Errno::ESRCH()) {
;
} else {
die $@;
}
>
> > +my $err = $g->last_errno ()...
2015 Jun 26
0
[PATCH v3 1/4] uuid: add support to change uuid of btrfs partition
...21 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but got '$label'"
unless $label eq "newlabel";
+# Setting btrfs UUID
+eval {
+ $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
+};
+# FIXME: ignore ESRCH
+my $err = $g->last_errno ();
+
+if ($err == 0) {
+ my $uuid = $g->vfs_uuid ("/dev/sda1");
+ die "unexpected uuid expecting
+ '12345678-1234-1234-1234-123456789012' but got '$uuid'"
+ unless $uuid eq "123...
2015 Jun 26
0
[PATCH v3.1 1/9] uuid: add support to change uuid of btrfs partition
...21 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but got '$label'"
unless $label eq "newlabel";
+# Setting btrfs UUID
+eval {
+ $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
+};
+# FIXME: ignore ESRCH
+my $err = $g->last_errno ();
+
+if ($err == 0) {
+ my $uuid = $g->vfs_uuid ("/dev/sda1");
+ die "unexpected uuid expecting
+ '12345678-1234-1234-1234-123456789012' but got '$uuid'"
+ unless $uuid eq "123...
2015 Jun 30
0
[PATCH v4 1/7] uuid: add support to change uuid of btrfs partition
...25 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but got '$label'"
unless $label eq "newlabel";
+# Setting btrfs UUID
+eval {
+ $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
+};
+
+my $err = $g->last_errno ();
+
+if ($@) {
+ if ($err == Errno::ENOTSUP()) {
+ warn "$0: skipping test for btrfs UUID change feature is not available";
+ } elsif ($err) {
+ die $@;
+ }
+} else {
+ my $uuid = $g->vfs_uuid ("/dev/sda1"...
2015 Jun 24
2
Re: [PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
...el = $g->vfs_label ("/dev/sda1");
> die "unexpected label: expecting 'newlabel' but got '$label'"
> unless $label eq "newlabel";
>
> +# Setting btrfs UUID
> +$g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> +my $uuid = $g->vfs_uuid ("/dev/sda1");
> +die "unexpected label: expecting 'newlabel' but got '$uuid'"
> + unless $uuid eq "12345678-1234-1234-1234-123456789012";
> +
Ignoring the "newlabel" copy&paste error:...
2015 Jun 30
1
Re: [PATCH v4 1/7] uuid: add support to change uuid of btrfs partition
...en Hanxiao ha scritto:
> btrfs-progs v4.1 add support to change uuid of btrfs fs.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
> ---
> [...]
> +# Setting btrfs UUID
> +eval {
> + $g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> +};
> +
> +my $err = $g->last_errno ();
> +
> +if ($@) {
$@ contains the last Perl error, so it's better to check for it right
after the eval block, otherwise other functions might change it.
Also, $err can be moved in the if block.
> + if ($err == Errno::ENO...
2015 Jun 24
0
[PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
...@ -47,5 +47,11 @@ my $label = $g->vfs_label ("/dev/sda1");
die "unexpected label: expecting 'newlabel' but got '$label'"
unless $label eq "newlabel";
+# Setting btrfs UUID
+$g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
+my $uuid = $g->vfs_uuid ("/dev/sda1");
+die "unexpected label: expecting 'newlabel' but got '$uuid'"
+ unless $uuid eq "12345678-1234-1234-1234-123456789012";
+
$g->shutdown ();
$g->close ();
--
2.1.0
2015 Jul 01
5
[PATCH v5 0/3] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- Introduce set_uuid_random
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v5: use NOT_SUPPORTED macro
improve testcases
v4: introduce get_random_uuid
improve testcases
squash internal API patches
v3.1: fix typos
v3: set errno
2015 Jun 26
5
[PATCH v3 0/4] uuid: add btrfs uuid change support and some rework
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v3: set errno if feature is not available.
Chen Hanxiao (4):
uuid: add support to change uuid of btrfs partition
uuid: use existing function of ext2
uuid: use newly introduced
2015 Jun 25
0
Re: [PATCH v2 1/5] uuid: add support to change uuid of btrfs partition
..."/dev/sda1");
> > die "unexpected label: expecting 'newlabel' but got '$label'"
> > unless $label eq "newlabel";
> >
> > +# Setting btrfs UUID
> > +$g->set_uuid ("/dev/sda1", "12345678-1234-1234-1234-123456789012");
> > +my $uuid = $g->vfs_uuid ("/dev/sda1");
> > +die "unexpected label: expecting 'newlabel' but got '$uuid'"
> > + unless $uuid eq "12345678-1234-1234-1234-123456789012";
> > +
>
> Ignoring the "newlabe...
2015 Jun 30
13
[PATCH v4 0/7] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- Introduce set_uuid_random
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v4: introduce get_random_uuid
improve testcases
squash internal API patches
v3.1: fix typos
v3: set errno if feature is not available.
Chen Hanxiao (7):
2015 Jun 26
14
[PATCH v3.1 0/9] uuid: add btrfs uuid change support and set_uuid_random
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- Introduce set_uuid_random
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existing functions.
v3.1: fix typos
v3: set errno if feature is not available.
Chen Hanxiao (9):
uuid: add support to change uuid of btrfs partition
uuid: use existing function of
2006 Apr 26
3
astcc: need partial pin code
I have not used astcc with pin codes so far, since I set-up the phone
number as card number.
Some of my users want now to dial in to the system and than use their
card, which is their phone number.
For that I would need a way of authentication, like a pin.
I want to use something like:
What is your card number: <user keys in the number>
Enter your pin: <user enter a long pin>
2015 Jun 24
10
[PATCH 0/5] uuid: add btrfs uuid change support and some rework
- Btrfs-progs v4.1 introduced new feature of changing
uuid of btrfs partition.
This patch add support of this.
- uuids.c did a lot of deplicated work for changing uuid
of fs. Use existed functions.
-- Introduce new API: btrfstune_set_uuid_random
Chen Hanxiao (5):
uuid: add support to change uuid of btrfs partition
uuid: use existed function of ext2
uuid: use newly introduced
2015 Jul 02
1
[PATCH v6] New API: set_uuid_random
.../src/MAX_PROC_NR
@@ -1 +1 @@
-455
+456
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index b637b17..0a8e942 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -67,5 +67,19 @@ if ($@) {
unless $uuid eq "12345678-1234-1234-1234-123456789012";
}
+# Setting btrfs random UUID.
+eval {
+ $g->set_uuid_random ("/dev/sda1")
+};
+
+if ($@) {
+ my $err = $g->last_errno ();
+ if ($err == Errno::ENOTSUP()) {
+ warn "$0: skipping test for btrfs UUID change feature is not available";
+ } else {...
2015 Jun 30
0
[PATCH v4 7/7] New API: set_uuid_random
.../src/MAX_PROC_NR
@@ -1 +1 @@
-455
+456
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index 0643eeb..224d075 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -68,5 +68,20 @@ if ($@) {
unless $uuid eq "12345678-1234-1234-1234-123456789012";
}
+# Setting btrfs random UUID.
+eval {
+ $g->set_uuid_random ("/dev/sda1")
+};
+
+$err = $g->last_errno ();
+
+if ($@) {
+ if ($err == Errno::ENOTSUP()) {
+ warn "$0: skipping test for btrfs UUID change feature is not available";
+ } elsif ($err)...
2004 May 27
1
Dlink DG-104s telnet reboot
Is there any reference for the dg-104 telnet(shell)
I need to log into a remote unit and reboot it over telnet.
Its shell is not clear.
David Hickman
TSG Computer Consulting - Auctions
314-865-4752 x2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 287 bytes
Desc: not available
Url :
2015 Jul 01
0
[PATCH v5 3/3] New API: set_uuid_random
.../src/MAX_PROC_NR
@@ -1 +1 @@
-455
+456
diff --git a/tests/btrfs/test-btrfs-misc.pl b/tests/btrfs/test-btrfs-misc.pl
index b637b17..fa778ab 100755
--- a/tests/btrfs/test-btrfs-misc.pl
+++ b/tests/btrfs/test-btrfs-misc.pl
@@ -67,5 +67,20 @@ if ($@) {
unless $uuid eq "12345678-1234-1234-1234-123456789012";
}
+# Setting btrfs random UUID.
+eval {
+ $g->set_uuid_random ("/dev/sda1")
+};
+
+
+if ($@) {
+ my $err = $g->last_errno ();
+ if ($err == Errno::ENOTSUP()) {
+ warn "$0: skipping test for btrfs UUID change feature is not available";
+ } else...