Fsck
From Wikipedia, the free encyclopedia
From Wikipedia, the free encyclopedia
În UNIX, comanda fsck (file system check) este folosită pentru a verifica un sistem de fișiere. Ca orice alt cuvânt fără vocale din jargonul calculatoarelor, pronunția este lăsată la latitudinea utilizatorului.[1] O variantă des întâlnită este fscheck.
În general, fschk este rulat automat când calculatorul este pornit pentru a detecta și eventual repara starea sistemului de fișiere după un crash sau o întrerupere de curent. Un administrator poate decide de asemenea să ruleze fschk când bănuiește că ar fi probleme. De obicei, comanda este executată pe un sistem de fișiere montat read-only sau într-un mod special de mentenanță.
Tipurile de sistem de fișiere apărute recent sunt proiectate în așa fel încât probabilitatea de corupere catastrofică a sistemului este practic nulă. Aceste sisteme poartă denumirea de journaling file systems. Pe un asemenea sistem, rularea fsck este inutilă. Majoritatea versiunilor curente de UNIX folosesc implicit asemenea sisteme de fișiere.
fsck [opțiuni] sistem_de_fișiere
unde sistem_de_fișiere este unul din dispozitivele de tip sistem de fișiere montate în /etc/fstab (de exemplu /dev/hdc1, /dev/sda1 etc.).
Dacă nicio opțiune nu este specificată, fsck va verifica toate sistemele definite în /etc/fstab. Dintre opțiunile cele mai des folosite amintim:
Comanda următoare verifică sistemul de fișiere pe al doilea hard disc întru-un sistem Linux
fsck /dev/sdb1
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.