Two swapdisks?

ksuther

Registered
I just did the modification to hide my swapdisk, but now I had to rename the swapdisk in the process. Now I have an extra "drive" named swapdisk in the /volumes folder that I can't get rid of, which holds a vm folder with swapdisk0 in it also. Is it okay to use the root to remove it since I have changed my fstab file and /etc/rc file to the new disk? I'm really confused :(

Thanks
 
Eeek! Now I have swap swap 1 and swapdisk in the volumes directory, that's weird. I make the swap partition invisible using SetFile.

My df -k looks like:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/disk0s9 3145428 1917500 1227928 60% /
devfs 33 33 0 100% /dev
fdesc 1 1 0 100% /dev
<volfs> 512 512 0 100% /.vol
/dev/disk0s10 1048440 256368 792072 24% /Volumes/OS9
/dev/disk0s11 511928 86300 425628 16% /Volumes/swap 1
/dev/disk0s12 24593408 7113664 17479744 28% /Volumes/Stuff
automount -fstab [299] 0 0 0 100% /Network/Servers
automount -static [299] 0 0 0 100% /automount

my /etc/fstab looks like:
/dev/disk0s11 /Volumes/swap hfs rw 1 2

my rc file looks like:
#swapdir=/private/var/vm
swapdir=/Volumes/swap/vm

What a mess, I'm an idiot :)

Thanks for the help.
 
I did what you said, and now I have my normal drives plus "swapdisk" when I run ls in the volumes directory. Is this right, is the swapdisk folder/disk always supposed to be there?

In /private/var/vm, I have 3 files: Desktop Folder, swapfile0, and a vm folder with swapfile0 in it.

Is this correct?

Thanks for all the help :)
 
I don't think swapdisk is really a partition. I made 4 partitions, OSX, OS9, swap, and Stuff. swapdisk wasn't a partition, but was the former name of swap until I changed it. I don't know why it would still be there, should I just not worry about it, as it does not show up when i df -k?
 
Back
Top