bug#38089: [sr #110102] Option to disable/ignore kernel updating in parted

2019-11-12 Thread Brian C. Lane
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:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/






bug#38089: [sr #110102] Option to disable/ignore kernel updating in parted

2019-11-06 Thread anonymous
URL:
  

 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.osowie...@gmail.com
 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:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/