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
dccc15bf
Commit
dccc15bf
authored
Aug 02, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed partition name when using LAN (not mounting partition locally)
parent
2a6df399
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
x393.py
x393.py
+7
-2
No files found.
x393.py
View file @
dccc15bf
...
...
@@ -475,10 +475,15 @@ class PC():
print
(
"TODO: Implement raw partition check over SSH"
)
# print(cam)
ip
=
cam
[
"ip"
]
print
(
"Getting raw partition data from "
+
part
)
if
not
os
.
path
.
isdir
(
dest
):
os
.
mkdir
(
dest
)
dirname
=
self
.
partname
(
part
)
print
(
"Getting raw partition data from "
+
part
+
" to "
+
dest
)
#/dev/sda2
if
(
cam
==
None
):
dirname
=
self
.
partname
(
part
)
else
:
dirname
=
cam
[
'obj'
]
.
partition_name
(
part
)
print
(
"dirname="
+
dirname
)
# print ("partition_name="+cam['obj'].partition_name(part))
if
dirname
!=
""
:
dirname
=
dest
+
"/"
+
dirname
if
not
os
.
path
.
isdir
(
dirname
):
...
...
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