Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use libblockdev FS plugin for filesystem operations #1163

Commits on Nov 7, 2023

  1. Configuration menu
    Copy the full SHA
    ec8e187 View commit details
    Browse the repository at this point in the history
  2. Remove support for ReiserFS

    ReiserFs support is scheluded to be removed from the kernel and
    the userspace tools were removed in Fedora 35. This removes only
    support for creating and managing ReiserFS, we will still
    recognize the filesystem.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    8ca3d55 View commit details
    Browse the repository at this point in the history
  3. Remove JFS support

    JFS is still supported but isn't really used or actively developed
    anymore. It also isn't packaged for CentOS/RHEL and not supported
    by libblockdev.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    9353fed View commit details
    Browse the repository at this point in the history
  4. availability: Do not check e2fsprogs version

    The minimum required version 1.41 was released 8 years ago, we can
    now safely assume it is available everywhere.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7a2c5c2 View commit details
    Browse the repository at this point in the history
  5. availability: Simplify checks for LVM VDO and shared LVM support

    We now require libblockdev >= 3.0 which will always have these
    technologies.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    9cb3b73 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    a188402 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8333ede View commit details
    Browse the repository at this point in the history
  8. Use libblockdev for the filesystem sync operation

    libblockdev uses the FIFREEZE and FITHAW ioctls directly so we no
    longer need to require the command line tool.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7dcdbc9 View commit details
    Browse the repository at this point in the history
  9. swap: Simplify creating swap with UUID

    BlockDev.swap.mkswap supports the UUID parameter directly since
    3.0.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    7bf0c4d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    affcc51 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fbd2e62 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7fee5e0 View commit details
    Browse the repository at this point in the history
  13. Use libblockdev for reading filesystem label

    We can now use the FSInfo task to get the filesystem label too.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    ffa9d7b View commit details
    Browse the repository at this point in the history
  14. Use libblockdev to create supported filesystems

    We still need to manually spawn mkfs for HFS and GFS2 which are
    not supported by libblockdev.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    fa3add2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    94182ae View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    0f279a6 View commit details
    Browse the repository at this point in the history
  17. Fix raising FormatCreateError in FS._create

    FormatCreateError doesn't accept the extra device name parameter.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    f3d70d8 View commit details
    Browse the repository at this point in the history
  18. Remove support for Apple HFS format

    HFS was replaced by HFS+ more than 20 years ago and is needed only
    for the old PowerPC Macs and PPC is not supported by Fedora.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    0961800 View commit details
    Browse the repository at this point in the history
  19. availability: Cleanup applications

    Removing now unused applications replaced by libblockdev.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    258dd95 View commit details
    Browse the repository at this point in the history
  20. availability: Remove the unused "lvmdevices" application

    This is no longer needed since the full LVM devices file support
    introduced in storaged-project#972.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    657f177 View commit details
    Browse the repository at this point in the history
  21. fs_test: Enable NTFS test case

    NTFS is now fully support, we no longer need to skip this test.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    afe88a3 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9dab24f View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    463043b View commit details
    Browse the repository at this point in the history
  24. Use libblockdev to check for kernel modules availability

    We can use the libblockdev utils instead of calling `modprobe`.
    vojtechtrefny committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    c2afd77 View commit details
    Browse the repository at this point in the history