1. # Use htop or other program to determine available memory for ramdisk (size=)
  2. # qmailctl stop
  3. # mount -t tmpfs -o size=1024m,nodev,noexec,noatime,uid=46,gid=0,mode=0750 myramdisk /var/qmail/simscan
  4. # qmailctl start
  5. # df -h /var/qmail/simscan
  6.    Filesystem      Size  Used Avail Use% Mounted on
       myramdisk       1.0G     0  1.0G   0% /var/qmail/simscan
    
  7. # vi /etc/fstab (Add)
    1. myramdisk /var/qmail/simscan tmpfs size=1024m,nodev,noexec,noatime,uid=46,gid=0,mode=0750 0 0