framp
framp
> Sorry for late response - had a busy day! NP. That's daily business :smile: > Detecting more than 2 partitions should therefore be sufficient, but maybe a good idea...
I just updated pishrink in the PR #132 to check for exactly 2 partitions and to abort if an extended partition was detected. Option -f will turn off these checks....
That's a nice tip how to reduce the size of the image even more if it's zipped afterwords. Given the fact that the Linux philosophy is to create efficient tools...
@rudiratlos Looks like your link is dead 😢
Remove quotes in [this line](https://github.com/Drewsif/PiShrink/blob/master/pishrink.sh#L367) around `$parttype`
Hm ... add following line `set -x` before the parted call and `set +x` after the parted call to see the actual command executed.
man parted gives ``` mkpart part-type [fs-type] start end Make a part-type partition for filesystem fs-type (if specified), beginning at start and ending at end (by default in megabytes). part-type...
LGTM :+1:
@lurch Good point. I forgot to squash my commits. Fixed now.