View Single Post
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#18
Originally Posted by pichlo View Post
Does swapon work?
Code:
Nokia-N900:~# swapon -a
swapon: /dev/mmcblk1p2: Device or resource busy
swapon: /dev/mmcblk0p3: Device or resource busy
Nokia-N900:~# swapoff /dev/mmcblk0p3
Nokia-N900:~# swapon /dev/mmcblk0p3
Nokia-N900:~# swapon /dev/mmcblk1p2
swapon: /dev/mmcblk1p2: Device or resource busy
Nokia-N900:~# swapoff /dev/mmcblk1p2
Nokia-N900:~# swapon /dev/mmcblk1p2
Nokia-N900:~#
Maybe it's the problem of no sleeping between the swapon-offs?

device or resource busy happened if the swap has already been swapped on.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here