fsck question

Alan Pope alan at popey.com
Tue Oct 5 15:20:22 UTC 2010


On 5 October 2010 16:00, Maxime Alarie <malarie at processia.com> wrote:
> Good day,
>

Greetings!

> If I start fsck using the command fsck –p –c /dev/sda1      is it normal
> that when I do a  ps –ef | grep fsck  I get 2 running processes? :
>

Yes.

> root      2658  2586  0 10:41 pts/0    00:00:00 fsck -p -c /dev/sda1
>

This is fsck.

> root      2659  2658  0 10:41 pts/0    00:00:00 fsck.ext3 -p -c /dev/sda1
>

This is fsck.ext3 - a separate program. Note that the parent process
ID of this one (2658) is the ID of the fsck process. So you can see
that you ran fsck, and then fsck spawned fsck.ext3 which does the
actual leg-work of checking your (in this case) ext3 partition. There
are others like fsck.msdos, fsck.vfat, fsck.ext4 and so on, for other
partition types.

Cheers,
Al.




More information about the ubuntu-users mailing list