[CentOS] why i can not put my swap files in /dev?

Tue Jul 6 10:51:32 UTC 2010
Mogens Kjaer <mk at lemo.dk>

On 07/06/2010 12:41 PM, Tang Jianwei wrote:
> I tried to create some swap files in /dev directory for my desktop.
> the dd and mkswap were ok.

Does the file exist after reboot?

I think the /dev directory is made in a RAM disk
(tmpfs), not a useful place to put a swapfile.


Mogens Kjaer, mk at lemo.dk