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