[reiserfs-list] root fs check on bootup.

2001-07-20 Thread Jan Johansson

On a RH7.1 system, when booting and it checks root fs it appears to hang,
but if you press enter it shows something like Do you wish to run this
program [N/Yes] do note the need to type Yes. How do i disable that so it
automatically checks?  I looked trough the list archives, but couldnt find
much.. or i didnt look closely enough.

Thanks.




Re: [reiserfs-list] root fs check on bootup.

2001-07-20 Thread Dirk Mueller

On Fre, 20 Jul 2001, Jan Johansson wrote:

 automatically checks?  I looked trough the list archives, but couldnt find
 much.. or i didnt look closely enough.

man 5 fstab: 

   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.



Dirk



Re: [reiserfs-list] root fs check on bootup.

2001-07-20 Thread Nikita Danilov

Jan Johansson writes:
  On a RH7.1 system, when booting and it checks root fs it appears to hang,
  but if you press enter it shows something like Do you wish to run this
  program [N/Yes] do note the need to type Yes. How do i disable that so it
  automatically checks?  I looked trough the list archives, but couldnt find
  much.. or i didnt look closely enough.

Reiserfs doesn't require fsck at boot-time. Look at the
http://namesys.com/faq.html#fstab

  
  Thanks.

Nikita.



Re: [reiserfs-list] root fs check on bootup.

2001-07-20 Thread Vladimir V. Saveliev

Hi

Jan Johansson wrote:

 On a RH7.1 system, when booting and it checks root fs it appears to hang,
 but if you press enter it shows something like Do you wish to run this
 program [N/Yes] do note the need to type Yes. How do i disable that so it
 automatically checks?  I looked trough the list archives, but couldnt find
 much.. or i didnt look closely enough.
 
 Thanks.


Currently, reiserfsck is not supposed to be run by booting scripts. So, 
you might want to just link fsck.reiserfs with /bin/true.
OTOH, being called by booting scripts (therefore with -a) reiserfsck 
should just print version and exit.
Which version of reiserfsck is included into RH7.1?

Thanks,
vs




Re: [reiserfs-list] root fs check on bootup.

2001-07-20 Thread Hans Reiser

Dirk Mueller wrote:
 
 On Fre, 20 Jul 2001, Jan Johansson wrote:
 
  automatically checks?  I looked trough the list archives, but couldnt find
  much.. or i didnt look closely enough.
 
 man 5 fstab:
 
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.
 
 Dirk


This belongs near the top of the faq, with a note that users should set it to zero for 
reiserfs.

Nikita, please do it.

Hans