OS: Ubuntu 22.04 fallocateコマンドで以ってスワップファイルを度々作成している。ddコマンドよりも短時間で片が付くから重宝するのである。終ぞ特段の不都合にぶつかった試しがないけれども、どうやらこれは良くない気配である。 NOTES Files with holes The swap file implementation in the kernel expects to be able to write to the file directly, without the assistance of the filesystem. This is a problem on files with holes or on copy-on-write files on filesystems like Btrfs. Commands like cp(1) or trunca