1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00
lvm2/lib/device
Peter Rajnoha a3f6d2f593
dev-type: get swap device size from blkid using FSSIZE
blkid does not report FSBLOCKSIZE and FSLASTBLOCK for a swap device,
because it is not a proper filesystem and it only contains a header
marking such devices for use as a swap device.

However, blkid does report FSSIZE for swap devices, so use this field
instead to set the "filesystem last block" which is used subsequently
for further calculations and conditions.
2024-09-19 15:39:33 +02:00
..
bcache-utils.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00
bcache.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
bcache.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev_util.c devices: factor common list functions 2022-11-07 11:38:46 -06:00
dev-cache.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-cache.h Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
dev-dasd.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-ext-udev-constants.h cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-ext.c const: use arrays of strings 2024-05-04 01:01:57 +02:00
dev-io.c devices: isolate fake device setup for config file 2024-07-02 16:18:09 -05:00
dev-luks.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-lvm1-pool.c build: Don't generate symlinks in include/ dir 2018-05-14 10:30:20 +01:00
dev-md.c cov: annotate known case 2024-08-09 15:10:24 +02:00
dev-mpath.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
dev-swap.c filter: remove unused EAGAIN case and flag 2022-04-06 12:51:34 -05:00
dev-type.c dev-type: get swap device size from blkid using FSSIZE 2024-09-19 15:39:33 +02:00
dev-type.h device: propagate struct cmd_context 2024-05-27 15:35:17 +02:00
device_id.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
device_id.h gcc: drop const specifier from allocated string 2024-06-03 15:30:05 +02:00
device-types.h devices: recognise rbd (ceph rados block device) 2021-12-13 13:32:06 -06:00
device.h Revert "dev-cache: move global variables into cmd struct" 2024-07-08 15:32:41 -05:00
filesystem.c cleanup: some more MAJOR MINOR unsigned 2024-06-03 15:30:05 +02:00
filesystem.h lvresize: fail early if crypt device is missing 2023-01-30 17:12:11 -06:00
online.c cleanup: typos in comments 2024-08-30 16:51:15 +02:00
online.h cleanup: some more MAJOR MINOR unsigned 2024-06-03 15:30:05 +02:00
parse_vpd.c gcc: correct signess comparation 2023-07-13 21:31:18 +02:00