FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 10-05-2010, 03:00 PM
"Maxime Alarie"
 
Default fsck question

Good day,


*


*


Disk is /dev/sda1, filesystem is ext3.


*


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? :


*


*


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


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


root***** 2804* 2743* 0
10:56 pts/1*** 00:00:00 grep -i fsck


*


Thanks.







--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 03:17 PM
Markus Schnhaber
 
Default fsck question

05.10.2010 17:00, Maxime Alarie:

> 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, that's normal.

> root 2658 2586 0 10:41 pts/0 00:00:00 fsck -p -c /dev/sda1
>
> root 2659 2658 0 10:41 pts/0 00:00:00 fsck.ext3 -p -c
> /dev/sda1
>
> root 2804 2743 0 10:56 pts/1 00:00:00 grep -i fsck

fsck doesn't do any file-system checking itself. What it essentially
does is determine the type of the target file-system and launch the
appropriate fsck.fstype binary (fsck.ext3 in your case) that actually
does the work.

--
Regards
mks

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 03:20 PM
Alan Pope
 
Default fsck question

On 5 October 2010 16:00, Maxime Alarie <malarie@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.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 10-05-2010, 04:00 PM
"Maxime Alarie"
 
Default fsck question

-----Original Message-----
From: ubuntu-users-bounces@lists.ubuntu.com [mailto:ubuntu-users-bounces@lists.ubuntu.com] On Behalf Of Alan Pope
Sent: 05 October 2010 11:20
To: Ubuntu user technical support,not for general discussions
Subject: Re: fsck question

On 5 October 2010 16:00, Maxime Alarie <malarie@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.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

That's what I was thinking, but was not sure.

Thanks a lot.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 09:24 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org