The swap files used to be stored at /var/vm but when I look there on Catalina, the only thing I find is a sleepimage of approximately 1 GB. Where is the swap stored? Want to know how much of the disk it consumes.
1 Answer
See this thread: https://discussions.apple.com/thread/252816786
They likely changed that with Big Sur. I think it was mounted to /private/var/vm/ in Catalina. Mounting it to /System/Volumes parallels the rest of the volumes in Big Sur.
The swapfile (swapfile0) appears to be at /System/Volumes/VM now
-
/private/var/vm was always the directory /var is a link to /private/var since NeXT– mmmmmmNov 8, 2021 at 22:56