[elektro] linux server
Móczik Gábor
pm_levlista at progzmaster.hu
Sun Nov 3 16:42:36 CET 2013
2013.11.02. 15:25 keltezéssel, Karoly Kovacs írta:
> ne probaljon automatikusan nehany hetente fsck-t nyomni a drive-jaidra.
>
> xmlstarlet sel -t -m "//system/fstab/mntent[uuid='${uuid}']" \
> -o "${fsname// /\\\040} ${dir// /\\\040} " \
> -v "concat(type,' ',opts,' ',freq,' ',0)" \
> -o "\\n" \
> ${OMV_CONFIG_FILE} | xmlstarlet unesc | tr -d '\n'
> (azaz a passno-t 0-ra)
Ha ext{2|3|4} fájlrendszer, akkor nem egyszerűbb az fs tulajdonságai
között beállítani, hogy ne legyen fsck se időre, se mount count-ra?
tune2fs -c 0 -i 0 /dev/...
More information about the Elektro
mailing list