bug#22167: Don't interactively ask questions in script mode

Sunil Mohan Adapa <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
tags 22167 - patch
thanks

Sorry, my patches don't solve this problem which seems unrelated.  They
are only applicable for scripted mode.

On 04/03/2017 03:30 PM, Sunil Mohan Adapa wrote:
> 
> Hello,
> 
> The attached patches should fix these issues where interactive prompts
> are shown when one tries to perform 'rm' or 'resizepart' operations with
> mounted partitions.  This avoid workarounds[1].
> 
> The proposal is to not ask for confirmation during 'rm' and 'resizepart'
> operations when run in script mode.  The answer is assumed to be 'yes'
> in both cases.
> 
> Links:
> 
> 1) https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1270203
>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE5xPDY9ZyWnWupXSBQ+oc/wqnxfIFAljibNwACgkQQ+oc/wqn
xfKZ4Q//fk1H29XwwE3YESvcOKyKMYnXysgpA0Oj6mV3CEM4R9UeZSKDFyQmnM7V
0GCurxyAkZO4DXVJTanLMAha2QxgfDGlUxkBi5C2E41YjLJKNkdcllvVxMSkK0Tw
O3f+epwzTDmxMpJ8GR8E5Y4mQ+Tv5Q5BTubd8UIcTVZAzAxOJfFB+6tift89xL8o
KzA/pkF4ft17PlSKc1AAZcRHjwYZbrw6+8B0liAJD8PI/Ph75x9LD+VjiFAh0Nbb
S+L1jLo0qIu6e8tC4sPFdsSVyKFbQrYZ846wUQNFJfDlT0C1Txm6XAeYob7t4/Pn
MAKaG6YQFJFfKXQAnN2TV7mwsTV0e2jcY7xxResJgD4PaM5lM13h/w2uwZv+IDVl
vYYzg2lS/fkM7poY7epGItgCBpGEtO1fwZ67jKlsO/oVXYD0vuliYmNDwNWlhIXu
huy9m1vGYqXdq2bogtiKBGi5DZURUloRRW5ELz4FJ0YfjlDRnrgPCBGIvzFljqUj
aQh1KXbRuEHdt/h2QcSbFIY65WGYQdDj0u0KntiVo1+H5cpxdL67wiPeu2207gP/
OxAbN/JQFgOMmxklFLFhC5nKCy0lbLsQCFkCooZGcOpsySwP+4YiOqbboRX278IE
VzHHYrL48wjKf/7X3eAtv61Oar0/7GWpMLmHT9b1Aazba7Lb3p0=
=gY6d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.