]> git.ipfire.org Git - thirdparty/util-linux.git/commit
Since 569d1dac7bc64457aac11163b6a91ce9b41a6715 we read device start
authorKarel Zak <kzak@redhat.com>
Tue, 17 Mar 2015 10:10:20 +0000 (11:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 17 Mar 2015 10:10:20 +0000 (11:10 +0100)
commit95305cec15750f2b6e938c9939f58fe70d252395
treed53f1cc8b1bcc8fda371575788c5b3c2edcc1a61
parent8979e7024e3e16f3c41e66fb459fe0645f0df5a8
Since 569d1dac7bc64457aac11163b6a91ce9b41a6715 we read device start
sector from the /sys/block/.../start file. The file exists only for
partitions, for wholedisk is the start of the device always zero.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1202443
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/blockdev.c