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

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


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

-- 
Mogens Kjaer, mk at lemo.dk
http://www.lemo.dk



More information about the CentOS mailing list