Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-tools-x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-tools-x393
Commits
3a4084ba
Commit
3a4084ba
authored
Jan 31, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing raw partition to be recognized as PTTYPE='atari'
parent
b4d10f49
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
.gitignore
.gitignore
+3
-0
x393.py
x393.py
+1
-1
No files found.
.gitignore
0 → 100644
View file @
3a4084ba
attic/*
.directory
*.pyc
x393.py
View file @
3a4084ba
...
...
@@ -201,7 +201,7 @@ class PC():
def
is_raw
(
self
,
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
)
if
s0
:
fstype
=
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment