سلام و وقت بخیر . چندی پیش اقدام به امن کردن پارتیشن tmp از طریق آموزش های موجود در نت پرداختم .

ولی مطمئن نیستم درست انجام دادم یا نه !


[root@linux ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 89G 14G 71G 16% /
none 1.9G 0 1.9G 0% /dev/shm
[root@linux ~]#

LABEL=root / ext4 defaults,errors=remount-ro,usrquota,grpquota 1 1
none /dev/shm tmpfs defaults 0 0
/swapfile1 none swap sw 0 0
/dev/tmpMnt /tmp ext2 loop,noexec,nosuid,rw 0 0
[root@linux ~]# mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro,usrquota,grpquota)
none on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)



این هم خروجی دستورات df -h , mount , fstab

دایرکت ادمین استفاده میکنم