Creating a 1gig swapfile with the command:
Code:
dd if=/dev/zero of=swapfile bs=1024 count=1M
works to create the file on disk but the command:
Code:
/sbin/mkswap -c swapfile
returns the error:
Code:
swapfile: Permission denied
as root even though I have complete access to read and write to/from the file.
I am running a brand new installation of Fedora Core 4 on an ex2 partition with SELinux enabled and currently no swap space (I didn't create a swap partition hoping to to make a swap file after installation).
Any ideas?