[ LUGOS ] Debian in preverjanje (fsck)

Borut Mrak borut.mrak na ijs.si
Pet Avg 20 11:52:25 CEST 1999


On Fri, Aug 20, 1999 at 11:38:35AM +0200, Miha Tomšič wrote:

> disk, ce je bil vtaknjen v rack. V /etc/fstab sta zanimivi vrstici:
> /dev/hdc1       /rack           vfat    user,noauto             0       2
> /dev/hdc2       /racke2         ext2    user,noauto             0       2
> 
> Najbolj hecno je, da sem prej lahko vecino casa prezivel brez diska v
> racku pa se ni nikoli pritozil. Po tistem, ko se je enkrat masina
> sesula pa hoce preverjati vsakic znova in potem ne najde in joj...
> 
> Kaj ga kar an lepem peha fsck v to preverjanje in kako naj mu dopovem, naj
> pusti /racke2 pri miru? noauto v fstab ocitno ni dovolj.

Poglej v man page od fstab, kaj pomenita zadnji dve stevilki.

       The  sixth field, (fs_passno), is used by the fsck(8) pro­
       gram to determine the order in which filesystem checks are
       done at reboot time.  The root filesystem should be speci­
       fied with a fs_passno of 1, and other filesystems  should
       have a fs_passno of 2.  Filesystems within a drive will be
       checked sequentially, but filesystems on different  drives
       will  be  checked  at the same time to utilize parallelism
       available in the hardware.  If the sixth field is not pre­
       sent  or  zero,  a value of zero is returned and fsck will
       assume that the filesystem does not need to be checked.

Se dobro, da sem pogledal...vedel sem za to, a sem zadnji cas zivel v
prepricanju, da mora bit tam 2 za ne-cekiranje ;-]

noauto pa pomeni samo to, da se particija ne zmounta z mount -a.

lp,

-- 
Borut
borut.mrak na ijs.si
-----------------
"If God had wanted us to use the metric system,
Jesus would have had 10 apostles."




Dodatne informacije o seznamu Starilist