pmem / pmemfile

Userspace implementation of file APIs using persistent memory.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

marcinslusarz opened this issue · comments

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