]>
git.ipfire.org Git - thirdparty/systemd.git/blob - src/shared/resize-fs.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
8 int resize_fs(int fd
, uint64_t sz
);
10 #define BTRFS_MINIMAL_SIZE (256U*1024U*1024U)
11 #define XFS_MINIMAL_SIZE (14U*1024U*1024U)
12 #define EXT4_MINIMAL_SIZE (1024U*1024U)
14 uint64_t minimal_size_by_fs_magic(statfs_f_type_t magic
);
15 uint64_t minimal_size_by_fs_name(const char *str
);