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

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

Open
marcinslusarz opened this issue Jun 16, 2017 · 0 comments
Open

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

marcinslusarz opened this issue Jun 16, 2017 · 0 comments
Labels

Comments

@marcinslusarz
Copy link
Contributor

$ 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant