mirror of
https://github.com/DarrylNixon/melamine.git
synced 2024-04-22 06:27:20 -07:00
Doing libzfs the hard way, but it works
This commit is contained in:
parent
176820cd81
commit
9534c30bd7
4 changed files with 21 additions and 9 deletions
|
@ -39,7 +39,7 @@ class ext2_inode_large_p(ctypes.POINTER(ext2_inode_large)):
|
|||
|
||||
|
||||
class EXT23Handler:
|
||||
def __init__(self, fs: str) -> None:
|
||||
def __init__(self) -> None:
|
||||
self.fs = "ext2/ext3"
|
||||
self.libext2fs = ctypes.CDLL("libext2fs.so.2")
|
||||
self.libext2fs.ext2fs_open.restype = ctypes.c_int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue