Mailinglist Archive: opensuse (1581 mails)

< Previous Next >
Re: [Bulk] Re: [Bulk] Re: [opensuse] fsck progress bar at boot - WAS: My firstmajor fail with KDE4
  • From: Anton Aylward <anton.aylward@xxxxxxxxxx>
  • Date: Tue, 23 Feb 2010 15:41:02 -0500
  • Message-id: <4B843D5E.4000702@xxxxxxxxxx>
Istvan Gabor said the following on 02/23/2010 03:10 PM:


The question remains: how can I enable fsck progress bar at system boot?

I'm sorry you don't see it.

If you have an normal install, then fsck runs and finds it doesn't need
to, so you boot quickly.

I pointed you to the man pages so you could he how to set fsck to force
a full scan on, or example, every boot, every other boot, every ninth
boot, every third day .. whatever.

Just running fsck, which should be in /etc/init.d/boot.localfs, which
should get run at boot time, is not enough. If there was a clean
shutdown and no other reason to force a full scan, there won't be one.

Most of us consider this a good thing. A clean shutdown means less
chance of file system corruption on the next boot, and a fast boot means
the system is up and useful sooner.

On the whole the old UNIX philosophy was that if nothing untoward
happens than ... nothing happens. Unlike VMS and other systems you
don't get an NOTICE_ALL_OK message on the completion of command or a
NOTHING_FOUND output from grep or find being pushed down the pipeline.

If you want a full scan, the go back and read the man pages again and
think how you would set a file system to run a full scan on every other
boot. Then every boot.

I'm sorry you don't see it.


However if you're system somehow doesn't have the boot.localfs - I can't
imagine how - then I apologise.

So, check /var/log/boot.msg
Somewhere it should have something like ...


Waiting for device /dev/sda1 to appear: ok
fsck 1.41.1 (01-Sep-2008)
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a -C0 /dev/sda1
ROOT: clean, 10969/140256 files, 91375/560259 blocks
fsck succeeded. Mounting root device read-write.
Mounting root /dev/disk/sda1
mount -o rw,noacl -t ext3 /dev/sda1 /root


And there you have it.
fsck runs. it sees a clean shutdown and just mounts.
no need for scan.

So, as the manual page made clear, if you want a scan on every boot, or
every other boot, or every Nth boot or every Mth day YOU HAVE TO SET IT.

Otherwise a clean shutdown means a scanless and fast boot.


Personally I like clean shutdowns and I like fast boots.
I can imagine though, some people don't.

--
Without friends no one would choose to live, though he had all other goods.
Aristotle (384 BC - 322 BC), Nichomachean Ethics
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups