GNU bug report logs - #24215
command=`rm`: how to script responses?

Previous Next

Package: parted;

Reported by: bug-parted <at> gnu.org, Tom Roche <Tom_Roche <at> pobox.com>

Date: Fri, 12 Aug 2016 23:22:02 UTC

Severity: normal

Tags: patch

Merged with 22167

Full log


Message #13 received at control <at> debbugs.gnu.org (full text, mbox):

From: Sunil Mohan Adapa <sunil <at> medhas.org>
To: 24215 <at> debbugs.gnu.org, 22167 <at> debbugs.gnu.org, control <at> debbugs.gnu.org
Subject: Don't interactively ask questions in script mode
Date: Mon, 3 Apr 2017 15:30:29 +0530
[Message part 1 (text/plain, inline)]
tags 24215 + patch
tags 22167 + patch

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

-- 
Sunil
[0001-parted-Don-t-warn-partition-busy-in-script-mode.patch (text/x-patch, attachment)]
[0002-tests-t1701-rescue-fs.sh-Wait-for-device-to-appear.patch (text/x-patch, attachment)]
[0003-tests-t1101-busy-partition.sh-Update-tests-for-scrip.patch (text/x-patch, attachment)]
[0004-tests-t6002-Fix-expectation-of-rm-on-mounted-partiti.patch (text/x-patch, attachment)]
[0005-tests-t9041-Fix-expectation-of-rm-on-mounted-partiti.patch (text/x-patch, attachment)]
[0006-tests-t1102-Fix-expectation-of-rm-on-mounted-partiti.patch (text/x-patch, attachment)]
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 5 years and 162 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.