From owner-mint@fishpool.com Thu Jun 26 14:57:58 2003 Date: Thu, 26 Jun 2003 14:54:41 +0200 From: Thomas Binder To: MiNT Mailing List Subject: Re: [MiNT] e2fsck problem Message-ID: <20030626145440.A29963@pc272.hrzpub.tu-darmstadt.de> Reply-To: gryf@hrzpub.tu-darmstadt.de Mail-Followup-To: Thomas Binder , MiNT Mailing List References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="FL5UXtIhxfXey3p5" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from m.tarenskeen@zonnet.nl on Thu, Jun 26, 2003 at 02:19:54PM +0200 X-MailScanner: Found to be clean Delivered-To: mint@fishpool.com Delivered-To: mint@lists.fishpool.fi X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: gryf@hrzpub.tu-darmstadt.de Precedence: bulk List-help: List-unsubscribe: List-ID: X-List-ID: --FL5UXtIhxfXey3p5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! On Thu, Jun 26, 2003 at 02:19:54PM +0200, Martin Tarenskeen wrote: > > Is g: your sparemint partition? >=20 > Yes. As I said, "e2fsck -n G:" is working perfectly. Just > running without an option or using any option other than -n > fails. e2fsck needs to lock the partition it's about to check because otherwise processes currently accessing it might crash as soon as the filesystem is changed because of a repair action (or, even worse, cause conflicts with the repairs by writing to the partition). As -n never repairs anything, no lock is needed in that case. Now, as e2fsck is located on the same partition it's about to check, there's already at least one process using the filesystem (e2fsck itself) and thus the lock fails. Solution: Copy e2fsck to another partition (best would be as e2fsck.ttp on a TOS filesystem) and run it before the real init process starts, so that no processes are currently using the filesystem to be checked. Ciao Thomas --=20 Thomas Binder (Gryf @ IRCNet) gryf@hrzpub.tu-darmstadt.de PGP-key available on request! Vote against SPAM: http://www.politik-digital.de/spam/ --FL5UXtIhxfXey3p5 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQB1AwUBPvrtEItnXqbpEtNBAQGH0wL/dQA1vMEfQ+0q9iEMHV62/IPuHm0dIh94 8tx6RXnX+pXwiki+CFMvouQJpQZvKSoJGN6nHSnYpspZI8ehr2SjcXtT0CifhuW9 odTJar/Yi+wvzpvVKjiVwSSuEi4MHrs8 =LyDH -----END PGP SIGNATURE----- --FL5UXtIhxfXey3p5--