From owner-freebsd-current Mon Mar 23 23:35:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA09842 for freebsd-current-outgoing; Mon, 23 Mar 1998 23:35:30 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA09835 for ; Mon, 23 Mar 1998 23:35:23 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id KAA16884; Tue, 24 Mar 1998 10:34:48 +0300 (MSK) (envelope-from ache) Message-ID: <19980324103448.65254@nagual.pp.ru> Date: Tue, 24 Mar 1998 10:34:48 +0300 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Dmitrij Tejblum , Hostas Red Cc: current@FreeBSD.ORG Subject: Re: Having problems with msdosfs Mail-Followup-To: Dmitrij Tejblum , Hostas Red , current@FreeBSD.ORG References: <199803232322.CAA01396@tejblum.dnttm.rssi.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199803232322.CAA01396@tejblum.dnttm.rssi.ru>; from dima@tejblum.dnttm.rssi.ru on Tue, Mar 24, 1998 at 02:22:32AM +0300 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Mar 24, 1998 at 02:22:32AM +0300, Dmitrij Tejblum wrote: > - for (cn = 0; cn < pmp->pm_maxcluster;) > + for (cn = 0; cn < pmp->pm_maxcluster; cn += N_INUSEBITS) > if (pmp->pm_inusemap[cn / N_INUSEBITS] != (u_int)-1) > break; > pmp->pm_nxtfree = cn > > (This is actually not tested. I hope now you will see a trouble in some other > place :). If not, I have to create better testing environment :( ) Hmm. I see another variant of incrementing cn in all other places: cn += N_INUSEBITS - cn % N_INUSEBITS; (not tested too) :-) But the fact that some incrementing needed remains true. > > BTW, also doesn't works koi2dos trantable (locale doesn't works too), if > > used from fstab - it can't find a "/usr/libdata/msdosfs/koi2dos" file (it > > IS there, and if mounted from console afterboot, everything works fine > > (read, at least, because write now is broken)), and can't find locale > > ru_RU.KOI8-R, too. Any suggestions? If i use full path for trantable, it > > doesn't helps - it can't find a file, where he is. > > > > This is really strange. It works for me just fine (thanks ache!). > May be, some part of your source out of date? Please tell what exactly you do and > what exactly it says. Try to mount /usr before /msdos -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message