From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Sergey V Turchin Organization: ALT To: Eugene Vlasov , ALT Linux Sisyphus discussion list Subject: Re: [sisyphus] =?koi8-r?b?8NLPwszFzcEg0yBzdWJmcyDJ?= du/find Date: Mon, 27 Sep 2004 14:58:58 +0400 User-Agent: KMail/1.6.2 References: <20040907115204.GA6497@eugene-home.ikz.ru> In-Reply-To: <20040907115204.GA6497@eugene-home.ikz.ru> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-03=_zJ/VBS85zi5ru50"; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200409271458.59280.zerg@altlinux.org> Cc: X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 10:58:15 -0000 Archived-At: List-Archive: --Boundary-03=_zJ/VBS85zi5ru50 Content-Type: multipart/mixed; boundary="Boundary-01=_yJ/VBzpieUs9M64" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_yJ/VBzpieUs9M64 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: base64 Content-Disposition: inline 9yDTz8/C3cXOyckgz9Qg99TP0s7JyyAwNyDzxc7U0cLS2CAyMDA0IDE1OjUyIEV1Z2VuZSBWbGFz b3YgCs7B0MnTwcwoYSk6Cj4g5M/C0tnKIMTFztguCj4KPiD109TBzs/Xycwg08XCxSBzdWJmcyDJ IM7B1M/My87VzNPRIM7BINDSz8LMxc3VLCDLz9TP0tXAINDPy8EgzsUKPiDNz8fVINLF28nU2C4g 8NLPwszFzcEg1yDUz80sIN7UzyBkdSDJIGZpbmQgzsXLz9LSxcvUzs8g0sHCz9TBwNQg0wo+IMTJ 08vBzckg083PztTJ0s/Xwc7O2c3JIN7F0sXaIHN1YmZzLgr81MEgxsnewSwg19rR1MHRINUgU3VT RS4g8MHU3iDQ0snL0sXQzMXOLgoKWy4uLl0KCi0tIApSZWdhcmRzLCBTZXJnZXksIEFMVCBMaW51 eCBUZWFtLCBodHRwOi8vd3d3LmFsdGxpbnV4LnJ1Cmh0dHA6Ly9zdGlua2Zvb3Qub3JnOjExMzcx L3Brcy9sb29rdXA/b3A9Z2V0JnNlYXJjaD0weDFDMkEzRjA4Cg== --Boundary-01=_yJ/VBzpieUs9M64 Content-Type: text/x-diff; charset="koi8-r"; name="disable-statfs-alt.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="disable-statfs-alt.patch" =2D-- subfs-2.4-0.9/subfs.c~ 2004-05-11 22:23:47 +0400 +++ subfs-2.4-0.9/subfs.c 2004-05-11 22:24:45 +0400 @@ -286,6 +286,12 @@ static int subfs_open(struct inode *inod */ static int subfs_statfs(struct super_block *sb, struct statfs *buf) { +#if 1 +/* disable stafs, so "df" and other tools do not trigger to mount + the media, which might cause error messages or hang, if the block + device driver hangs */ + return 0; +#else struct subfs_mount *sfs_mnt =3D sb->u.generic_sbp; struct vfsmount *child; if (down_interruptible(&sfs_mnt->sem)) @@ -296,6 +302,7 @@ static int subfs_statfs(struct super_blo return PTR_ERR(child); subfs_send_signal(); return -ERESTARTSYS; +#endif } =20 =20 --Boundary-01=_yJ/VBzpieUs9M64-- --Boundary-03=_zJ/VBS85zi5ru50 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBV/Jz+zBIrxwqPwgRAvH8AJsH7049NTG5TMVOUyfB72An+B28zACeOIh8 DuiG/j0CBShpoLRgzkXtGX0= =QtvO -----END PGP SIGNATURE----- --Boundary-03=_zJ/VBS85zi5ru50--