Iam securing /tmp and /devh/shm directories, /dev/shm is already secure, but I'm getting some erros when I'm trying to create a new tmp partition, it seems it is blocked at 256 MBs.
CODE
[root@hostingX11.com:~]cd /dev/; dd if=/dev/zero of=tmpMnt bs=1024 count=800000
dd: writing `tmpMnt': No space left on device
249477+0 records in
249476+0 records out
[root@hostingX11.com:~]ls -alh tmpMnt
-rw-r--r-- 1 root root 244M Dec 15 21:20 tmpMnt
[root@hostingX11.com:~]pwd
/dev
[root@hostingX11.com:~]df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 150G 60G 83G 42% /
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
usbfs 0 0 0 - /proc/bus/usb
/dev/sda1 99M 7.1M 87M 8% /boot
none 245M 0 245M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
[root@hostingX11.com:~]
How can I increment space in this partition, or be able to create a new one bigger than this size?
Thanks.
dd: writing `tmpMnt': No space left on device
249477+0 records in
249476+0 records out
[root@hostingX11.com:~]ls -alh tmpMnt
-rw-r--r-- 1 root root 244M Dec 15 21:20 tmpMnt
[root@hostingX11.com:~]pwd
/dev
[root@hostingX11.com:~]df -ah
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 150G 60G 83G 42% /
none 0 0 0 - /proc
none 0 0 0 - /sys
none 0 0 0 - /dev/pts
usbfs 0 0 0 - /proc/bus/usb
/dev/sda1 99M 7.1M 87M 8% /boot
none 245M 0 245M 0% /dev/shm
none 0 0 0 - /proc/sys/fs/binfmt_misc
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs
[root@hostingX11.com:~]
How can I increment space in this partition, or be able to create a new one bigger than this size?
Thanks.