Open mist0706 opened 3 years ago
I would also like to submit a branch, how do i get access?
Hmm, maybe. If we don't specify block size, then aren't we introducing a different incompatibility by not knowing the default block size of the remote host?
See also issue #6 . What I'm thinking is to just let people configure their own command line to obtain free space however they want...
Regarding submitting PRs, please see my new handy page here :) https://github.com/ericaltendorf/plotman/wiki/Contributing
Here's a link to the man page: https://www.freebsd.org/cgi/man.cgi?df(1)
It looks to me that the -ak
params are equal?
https://github.com/ericaltendorf/plotman/pull/88#discussion_r628812872 Hopefully we can just make it configurable per your preference or need with our own expected format (easily generated from df
). Maybe just weigh in over there if you have a need I haven't covered? I do think there are more details for us to work through there.
We could also just require that Python exists at the other end and run some nice portable Python code...
Due to plotman using certain flags in TrueNAS/FreeNAS it crashes when attempting to archive. Seeing as the flag only changes the blocksize before printing perhaps we could just calculate it straight from bytes to avoid the incompability?
https://github.com/ericaltendorf/plotman/blob/5788e7fa2df2186ccb94db2d388766f9d52116a4/src/plotman/archive.py#L52