Gentoo Archives: gentoo-user

From: Wols Lists <antlists@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Trouble with backup harddisks
Date: Sat, 02 May 2020 17:31:43
Message-Id: 5EADAE68.8000109@youngman.org.uk
In Reply to: Re: [gentoo-user] Trouble with backup harddisks by tuxic@posteo.de
1 On 02/05/20 02:42, tuxic@××××××.de wrote:
2 > On 05/01 09:27, antlists wrote:
3 >> On 01/05/2020 09:03, tuxic@××××××.de wrote:
4 >>> Hi Wol,
5 >>>
6 >>> data copied !:)
7 >>>
8 >>> I did a
9 >>>
10 >>> mdadm --examine /dev/sdb
11 >>
12 >> Except I pointed you at a utility called lsdrv, not mdadm ... :-)
13 >>
14 >> Cheers,
15 >> Wol
16 >>
17 >
18 > Hi Wol,
19 >
20 > Ouuouud...oh damn! Sorry, Wol...
21 >
22 > I donwloaded the lsdrv from github and this is, what it prints
23 >
24 > File "./lsdrv", line 323
25 > os.mkdir('/dev/block', 0755)
26 > ^
27 > SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers
28 > [1] 4367 exit 1 ./lsdrv
29 >
30 >
31 > Seems a little buggy...
32 >
33 did you read the note that says it is a Python 2 script? Unless it's
34 been updated (I haven't checked) you need to change the shebang line to
35 force python2.
36
37 Cheers,
38 Wol

Replies