On 05/02 06:31, Wols Lists wrote:
> On 02/05/20 02:42, tu...@posteo.de wrote:
> > On 05/01 09:27, antlists wrote:
> >> On 01/05/2020 09:03, tu...@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
> 
> 

Hi Wol,

the shebang was already changed. It onlu works, when called like

python2.7 lsdrv 

for me.

The output is similiar to what lsblk creates...

Cheers!
Meino



Reply via email to