DF-2819 / run.sh
#!/bin/sh # On the DragonFly guest (root): mount -t tmpfs -o size=8g,inodes=1600000 none /mnt/tfill chmod 777 /mnt/tfill cp /root/fill /mnt/tfill/fill && chmod 755 /mnt/tfill/fill # unprivileged trigger: su -m nobody -c "/mnt/tfill/fill /mnt/tfill 1500000" > /mnt/tfill/fill.log 2>&1 # expected: "stopped at <k>: No space left on device" with # k = ceil(1600000*272/320) = 1360000 (85% of the inode cap) vmstat -m | grep tmpfs_node # MemUse == Limit (415M) at the stop point |