Karel Zak
1c1d30c750
libfdisk: add sample-fdisk-mkpart binary
...
For example:
# sample-fdisk-mkpart --device /dev/sdc 1M 2M 3M - 5M
# fdisk -l /dev/sdc
...
Device Boot Start End Sectors Size Id Type
/dev/sdc1 2048 4095 2048 1M 83 Linux
/dev/sdc2 4096 8191 4096 2M 83 Linux
/dev/sdc3 8192 14335 6144 3M 83 Linux
/dev/sdc4 14336 204799 190464 93M 5 Extended
/dev/sdc5 16384 26623 10240 5M 83 Linux
Addresses: https://github.com/karelzak/util-linux/issues/204
Signed-off-by: Karel Zak <kzak@redhat.com>
2017-02-17 16:15:03 +01:00
Karel Zak
705854f307
libfdisk: add API docs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-26 19:13:57 +01:00
Karel Zak
ed79557e1d
build-sys: add fdisk.pc
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-26 13:20:16 +01:00
Karel Zak
0bb4c979c6
build-sys: create a regular shared libfdisk.so
...
- symbols versioning
- SONAME from configure.ac
- library version to header file
- modify build-sys to compile and install shared lib
Signed-off-by: Karel Zak <kzak@redhat.com>
2014-11-26 12:45:24 +01:00
Karel Zak
eb6a03f3bf
build-sys: set dependence fdisk -> libfdisk -> libuuid
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-21 15:34:24 +01:00
Karel Zak
d56a7c2330
libfdisk: add basic library files
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2013-03-11 11:20:40 +01:00