securing /tmp mount problem

Hi. I just got a vps. It's with godaddy. It has Plesk. I'm working on securing tmp. I'm a 3 on a scale of 1-10 regarding linux skills.

I'm going through the steps:
cd /dev/; dd if=/dev/zero of=tmpMnt bs=1024 count=250000

mke2fs /dev/tmpMnt

cp -Rp /tmp /tmp_backup


When I get to here:
mount -o loop,noexec,nosuid,rw /dev/tmpMnt /tmp

I get the error:
mount: could not find any device /dev/loop#

Probably a really easy error, but help this noob out. Thanks.

 

 

 

 

Top