public inbox for gentoo-user-de@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dirk Heinrichs <dirk.heinrichs@online.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] Skipping root filesystem check
Date: Wed, 11 Jul 2007 22:35:06 +0200	[thread overview]
Message-ID: <200707112235.12852.dirk.heinrichs@online.de> (raw)
In-Reply-To: <46952235.9090803@smixx.de>

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

Am Mittwoch, 11. Juli 2007 schrieb André Glücksmann:
> Dirk Heinrichs wrote:
> > Am Mittwoch, 11. Juli 2007 schrieb André Glücksmann:
> >> Sicher muss die Zeile auch:
> >> UUID=ac31b6a8-d1c5-4133-8ae9-edddfda8572b / reiserfs noatime 0 2 lauten.
> >> Der Slash ist selbstverständlich in der fstab drin.
> >>
> >> Boot ist in ner gesonderten Partion. Daher hab ich die passno 2 stehen,
> >> dachte das wäre das normale Verhalten? Oder soll das auf 1? Allerdings
> >> sollte er das ja auch auf 2 checken, was er anscheinend nicht tut.
> >
> > Nein, / muß die 1 haben:
> >
> > "The sixth field, (fs_passno), is used by the fsck(8) program to
> > determine the order in which filesystem checks are done at reboot time.
> > The root filesystem should be specified 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 present or zero, a value of zero is
> > returned and fsck will assume that the filesystem does not need to be
> > checked."
> >
> > Bye...
> >
> > 	Dirk
>
> Hi Dirk,
>
> nun hat es die 1:
>
> $ cat /var/log/boot.msg | grep check
>  * Skipping root filesystem check (fstab's passno == 0) ...

Ok. Die Ausgabe kommt von /etc/init.d/checkroot. Dieses Skript enthält in 
einer Abfrage folgenden Code, der prüfen soll, ob passno für / ungleich 0 
ist:

awk '($1 ~ /^(\/|UUID|LABEL)/ && $2 == "/" && NF == 6 && $6 != 0) \
{print }' /etc/fstab

Wenn in der Shell ausgeführt, sollte genau der Eintrag für "/" ausgegeben 
werden. Kannst Du das prüfen und außerdem die obige Zeile mit Deiner Version 
von /etc/init.d/checkroot vergleichen?

Bye...

	Dirk

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-07-11 20:38 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-11 16:32 [gentoo-user-de] Skipping root filesystem check André Glücksmann
2007-07-11 16:53 ` Emil Beinroth
2007-07-11 16:55 ` Dirk Heinrichs
2007-07-11 17:12   ` André Glücksmann
2007-07-11 17:23     ` Dirk Heinrichs
2007-07-11 18:32       ` André Glücksmann
2007-07-11 20:35         ` Dirk Heinrichs [this message]
2007-07-11 20:36         ` Emil Beinroth
2007-07-12  7:43           ` Eckard Brauer
2007-07-12  7:59             ` Dirk Heinrichs
2007-07-12 10:24               ` André Glücksmann
2007-07-12 11:42                 ` Dirk Heinrichs
2007-07-12 11:52                 ` Emil Beinroth
2007-07-12 11:56                   ` André Glücksmann
2007-07-12 12:37                     ` Dirk Heinrichs
2007-07-12 12:54                       ` André Glücksmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200707112235.12852.dirk.heinrichs@online.de \
    --to=dirk.heinrichs@online.de \
    --cc=gentoo-user-de@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox