Changeset 3498

Show
Ignore:
Timestamp:
02/22/09 06:48:33 (13 months ago)
Author:
ayerenkow
Message:

noatime option for mounting by default; a little speedup of FS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountDisk.sh

    r2828 r3498  
    1515esac 
    1616 
     17#actually 'atime' it's not very important thing; 
     18 
     19EXTENSION="" 
     20MNTOPTS=",noatime" 
     21 
    1722if [ "$FS" = "UFS-J" ] 
    1823then 
    1924  EXTENSION=".journal" 
    20   MNTOPTS=",async" 
    21 else 
     25  MNTOPTS=",async,noatime" 
     26fi 
     27if [ "$FS" = "ZFS" ] 
     28then 
    2229  EXTENSION="" 
    23   MNTOPTS="" 
     30  MNTOPTS=",noatime" 
    2431fi 
    2532 
     
    109116   then 
    110117     mkdir -p ${FSMNT}${cur_part} 
    111      echo "${ROOTPART}${lpart}${EXTENSION}               ${cur_part}               ufs     rw${MNTOPTS}              1       1   
     118     echo "${ROOTPART}${lpart}${EXTENSION}               ${cur_part}               ufs     rw${MNTOPTS}              1       1 
    112119" >> /tmp/fstab 
    113120