mirror of
https://git.checksum.fail/alec/isoc-py3.git
synced 2026-06-16 02:49:41 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e4195a1c05 | |||
| dfdccfcc85 |
@@ -0,0 +1,13 @@
|
|||||||
|
# isoc-py3
|
||||||
|
TempleOS RedSea FUSE implementation for Python 3
|
||||||
|
|
||||||
|
# Commands
|
||||||
|
|
||||||
|
`isoc-mount [--rw] <filename.ISO.C> <mount_point>` will mount an ISO.C image on `mount_point`
|
||||||
|
|
||||||
|
Specify `--rw` to commit writes to ISO.C file, otherwise discarded on unmount.
|
||||||
|
|
||||||
|
# Prerequisites
|
||||||
|
|
||||||
|
- FUSE
|
||||||
|
- fusepy
|
||||||
+1
-1
@@ -190,7 +190,7 @@ def write_iso_c(self, iso_c_file):
|
|||||||
# File
|
# File
|
||||||
file.write(b"\x20")
|
file.write(b"\x20")
|
||||||
if f["filename"][-2:] == ".Z":
|
if f["filename"][-2:] == ".Z":
|
||||||
file.write(b"\x0c")
|
file.write(b"\x04")
|
||||||
else:
|
else:
|
||||||
file.write(b"\x08")
|
file.write(b"\x08")
|
||||||
file.write(f["filename"].ljust(CDIR_FILENAME_LEN, "\0").encode("utf-8"))
|
file.write(f["filename"].ljust(CDIR_FILENAME_LEN, "\0").encode("utf-8"))
|
||||||
|
|||||||
Reference in New Issue
Block a user