[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Как с загрузкой ОС, автоматически, запустить проверку ЖМД на плохие блоки?



20.02.2015, 13:57, "Ста Деюс" <sthu.deus@openmailbox.org>:
> но программа требует терминала

$ man -P cat fsck.ext2 | grep -i -A 6 'auto'
       -p     Automatically repair ("preen") the file system.  This option will cause e2fsck  to  auto‐
              matically  fix  any  filesystem problems that can be safely fixed without human interven‐
              tion.  If e2fsck discovers a problem which may require the system administrator  to  take
              additional  corrective  action,  e2fsck  will print a description of the problem and then
              exit with the value 4 logically or'ed into the exit code.  (See the EXIT  CODE  section.)
              This  option  is  normally used by the system's boot scripts.  It may not be specified at
              the same time as the -n or -y options.


Reply to: