Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

preload: rmdir "$mountpoint" succeeds on non-empty pool #200

@marcinslusarz

Description

@marcinslusarz
$ pf mkdir /tmp/mountpoint/123
$ pf rmdir /tmp/mountpoint
$ ls -ld /tmp/mountpoint
ls: cannot access '/tmp/mountpoint': No such file or directory
$ mkdir /tmp/mountpoint
$ pf ls -l /tmp/mountpoint
total 0
drwxrwxrwx 2 root root 4008 Jun 16 12:32 123

Also rm -r "$mountpoint" removes only the mountpoint directory, but doesn't remove any files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions