Commit 3a4084ba authored by Andrey Filippov's avatar Andrey Filippov

fixing raw partition to be recognized as PTTYPE='atari'

parent b4d10f49
attic/*
.directory
*.pyc
...@@ -201,7 +201,7 @@ class PC(): ...@@ -201,7 +201,7 @@ class PC():
def is_raw(self,part): def is_raw(self,part):
res = shout("sudo blkid | grep "+str(part)) res = shout("sudo blkid | grep "+str(part))
typ = "TYPE=" typ = " TYPE=" # added space, otherwise: /dev/sdd2: PTTYPE="atari" PARTUUID="e174570b-02"
s0 = re.search(typ,res) s0 = re.search(typ,res)
if s0: if s0:
fstype = "" fstype = ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment