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

Handle missing /etc/mtab and modify output #1514

Merged
merged 3 commits into from
Oct 29, 2024

Commits on Oct 28, 2024

  1. Mtab check optional

    There are situations when /etc/mtab is not present in the
    system (e.g. in certain container images). This blocks
    stop/remove operations. With making this check optional
    the duty of checking mounts falls to kernel.
    Test modified to check operations with and without mtab.
    
    Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
    Deixx committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    a2f3cc1 View commit details
    Browse the repository at this point in the history
  2. Refactor mounted device checks

    Calling functions now print error messages.
    All the mounted devices are printed (not just the first one).
    
    Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
    Deixx committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    f11f14d View commit details
    Browse the repository at this point in the history
  3. [tests] Update CLI messages and test

    Signed-off-by: Daniel Madej <daniel.madej@huawei.com>
    Deixx committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    0c0b105 View commit details
    Browse the repository at this point in the history