This file is indexed.

/lib/partman/undo.d/30parted is in ubiquity 18.04.14.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
7
8
9
#!/bin/sh

. /lib/partman/lib/base.sh

for dev in $DEVICES/*; do
	cd $dev
	open_dialog UNDO
	close_dialog
done