Bug #2476

Updated by tuxillo about 2 years ago

Using cpdup, I directly copied a pfs snapshot to a tmpfs mount:

mount -t tmpfs tmpfs /path/to/mypoint

cpdup -x -i0 /path/to/snapshot/ /path/to/mypoint/

mount -t devfs devfs /path/to/mypoint/dev

(/path/to/snapshot/dev exists, is a directory, and is empty)

The final mount will fail unless a sleep command of a second or two is put between the cpdup and mount commands, or if something accesses mymount point like ls command.

Seems that this is an issue with tmpfs, possibly with namecache according to Venkatesh.