]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: cleanup sync() usage, fix --activate
authorKarel Zak <kzak@redhat.com>
Wed, 17 Sep 2014 10:56:39 +0000 (12:56 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 7 Oct 2014 12:55:32 +0000 (14:55 +0200)
commit21ca986d716ebc061cbca9696fdafb3376b526f3
tree6412f7be4b5770e6f84805c48c201a6e981eb18c
parent2aeff7618e3e62b9cea594b2a23ae27b71022a35
sfdisk: cleanup sync() usage, fix --activate

 * use sync() only if we change disk layout
 * don't use sync() when we change details (like partition type)

Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c