Have a swapfile at:
/media/usb/swampfile.img
Using following commands, and cannot delete it:
As root:
# swapoff -a
Remove swapfile:
# rm -f swapfile.img
I set it up without setting the proper read only permissions up front. When I attempt to start the swap up with the command:
#swapon /media/usb/swapfile.img
swapon: /media/usb/swapfile.img: insecure permissions 0644, 0600 suggested.
swapon: /media/usb/swapfile.img: read swap header failed: Input/output error
Any ideas on how to delete it?
Thanks.