With the release of parted 3.3 the above listed workarounds no longer work. The work around that worked for me was something like this:
echo -e "yes\n100%" | parted /dev/mmcblk0 ---pretend-input-tty unit % resizepart 2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1270203 Title: no way to use resizepart non-interactively on busy partition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1270203/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
