From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5386A138350 for ; Sat, 2 May 2020 17:31:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3CCBE0C20; Sat, 2 May 2020 17:31:23 +0000 (UTC) Received: from smtp.hosts.co.uk (smtp.hosts.co.uk [85.233.160.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FEDCE0C02 for ; Sat, 2 May 2020 17:31:23 +0000 (UTC) Received: from [81.153.126.158] (helo=[192.168.1.118]) by smtp.hosts.co.uk with esmtpa (Exim) (envelope-from ) id 1jUvyy-0006Q5-CU for gentoo-user@lists.gentoo.org; Sat, 02 May 2020 18:31:21 +0100 Subject: Re: [gentoo-user] Trouble with backup harddisks To: gentoo-user@lists.gentoo.org References: <20200430093217.efprkpt4kbvir7nr@solfire> <5EAAA0AB.3050505@youngman.org.uk> <20200430103607.2xpawnms6wtqj7si@solfire> <5EAAC1E5.5060802@youngman.org.uk> <20200430131054.4qu3wlayohodrreu@nabokov.fritz.box> <20200430170452.hsv6vcgzy43mluxq@solfire> <04005ef6-698f-e1de-139a-a87c8d92b151@youngman.org.uk> <20200501015919.iy5q267vfbwyslz4@solfire> <20200501080311.c2pwn6pwobmnp46j@solfire> <20200502014209.4o4bbxotmoble65l@solfire> From: Wols Lists Message-ID: <5EADAE68.8000109@youngman.org.uk> Date: Sat, 2 May 2020 18:31:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <20200502014209.4o4bbxotmoble65l@solfire> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: 730fe83a-19ea-47c2-b24f-0b796f79c2df X-Archives-Hash: 092017ccda11205117ce7f0ab5f0b6d0 On 02/05/20 02:42, tuxic@posteo.de wrote: > On 05/01 09:27, antlists wrote: >> On 01/05/2020 09:03, tuxic@posteo.de wrote: >>> Hi Wol, >>> >>> data copied !:) >>> >>> I did a >>> >>> mdadm --examine /dev/sdb >> >> Except I pointed you at a utility called lsdrv, not mdadm ... :-) >> >> Cheers, >> Wol >> > > Hi Wol, > > Ouuouud...oh damn! Sorry, Wol... > > I donwloaded the lsdrv from github and this is, what it prints > > File "./lsdrv", line 323 > os.mkdir('/dev/block', 0755) > ^ > SyntaxError: leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers > [1] 4367 exit 1 ./lsdrv > > > Seems a little buggy... > did you read the note that says it is a Python 2 script? Unless it's been updated (I haven't checked) you need to change the shebang line to force python2. Cheers, Wol