Received: (at submit) by debbugs.gnu.org; 13 Nov 2019 00:55:04 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 12 19:55:04 2019 Received: from localhost ([127.0.0.1]:58655 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iUgw3-0003K6-Hk for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:55:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:40214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1iUgaZ-0002lZ-J5 for submit <at> debbugs.gnu.org; Tue, 12 Nov 2019 19:32:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1iUgaY-00079k-Gp for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-94.3 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgaX-0000YZ-Ff for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:50 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:58363) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iUgaX-0000YV-D1 for bug-parted@HIDDEN; Tue, 12 Nov 2019 19:32:49 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id 285AB2ED7; Tue, 12 Nov 2019 19:32:49 -0500 (EST) To: "Brian C. Lane" <bcl@HIDDEN>, robert.osowiecki@HIDDEN, bug-parted@HIDDEN Subject: [sr #110102] Option to disable/ignore kernel updating in parted X-PHP-Originating-Script: 1001:sendmail.php From: "Brian C. Lane" <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 110102 User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0 X-Apparently-From: 73.157.81.114 (Savane authenticated user bcl) Message-Id: <20191112-163248.sv89425.29091@HIDDEN> References: <20191106-151012.sv0.69693@HIDDEN> In-Reply-To: <20191106-151012.sv0.69693@HIDDEN> Date: Tue, 12 Nov 2019 19:32:49 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 12 Nov 2019 19:55:02 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Update of sr #110102 (project parted): Status: None => Wont Do Open/Closed: Open => Closed _______________________________________________________ Follow-up Comment #1: I don't think it's a good idea to implement something like this in parted. It would also be complicated by the fact that udev is monitoring the open/close and will trigger a reread of the partition table. Thanks for the suggestion though. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110102> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
bug-parted@HIDDEN
:bug#38089
; Package parted
.
Full text available.Received: (at submit) by debbugs.gnu.org; 6 Nov 2019 15:16:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 06 10:16:08 2019 Received: from localhost ([127.0.0.1]:41046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iSN2V-0000eX-F3 for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 10:16:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:51796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <www-data@HIDDEN>) id 1iSMwr-0000UY-GT for submit <at> debbugs.gnu.org; Wed, 06 Nov 2019 10:10:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39960) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <www-data@HIDDEN>) id 1iSMwq-00018X-8A for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:17 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-96.8 required=5.0 tests=BAYES_00, FORGED_MUA_MOZILLA, FROM_SAVANNAH,HELO_NO_DOMAIN,RDNS_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iSMwp-0003nK-2T for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:16 -0500 Received: from frontend0.savannah.gnu.org ([209.51.188.79]:47922) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <www-data@HIDDEN>) id 1iSMwo-0003n6-Sv for bug-parted@HIDDEN; Wed, 06 Nov 2019 10:10:15 -0500 Received: by frontend0.savannah.gnu.org (Postfix, from userid 33) id A14FA2CA1; Wed, 6 Nov 2019 10:10:14 -0500 (EST) To: robert.osowiecki@HIDDEN, bug-parted@HIDDEN Subject: [sr #110102] Option to disable/ignore kernel updating in parted X-PHP-Originating-Script: 1001:sendmail.php From: anonymous <INVALID.NOREPLY@HIDDEN> X-Savane-Server: savannah.gnu.org:443 [209.51.188.79] MIME-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Savane-Project: parted X-Savane-Tracker: support X-Savane-Item-ID: 110102 User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0 X-Apparently-From: 194.181.36.210 Message-Id: <20191106-151012.sv0.69693@HIDDEN> References: In-Reply-To: Date: Wed, 6 Nov 2019 10:10:14 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.79 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 06 Nov 2019 10:16:06 -0500 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) URL: <https://savannah.gnu.org/support/?110102> Summary: Option to disable/ignore kernel updating in parted Project: GNU Parted Submitted by: None Submitted on: Wed 06 Nov 2019 03:10:12 PM UTC Category: None Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: robert.osowiecki@HIDDEN Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: Dear parted developers, When I encountered some bugs (or FAD's, because they come from parted itself) in ansible's parted module (see https://github.com/ansible/ansible/issues/63676), I came up with idea that they could be solved very easily if parted had an option enabling "no commit" mode, that is: only editing partition table on disk, without signaling the kernel to update partition info. Currently, parted script stops at the first command which fails on ped_disk_commit_to_os(). My idea is: make commit_to_os optional (alternatively: delay commit_to_os() call after last command in script, so "failed to re-read the partition table" won't stop parted from executing all script. What's your opinion about this? If you give me a green light, I'd dust off my C writting skills and submit a patch for evaulation. With kind regards, Robert Osowiecki _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110102> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
anonymous <INVALID.NOREPLY@HIDDEN>
:bug-parted@HIDDEN
.
Full text available.bug-parted@HIDDEN
:bug#38089
; Package parted
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.