Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 10:34:48 +0300
From:      =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.pp.ru>
To:        Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, Hostas Red <kong@kkk.ml.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: Having problems with msdosfs
Message-ID:  <19980324103448.65254@nagual.pp.ru>
In-Reply-To: <199803232322.CAA01396@tejblum.dnttm.rssi.ru>; from dima@tejblum.dnttm.rssi.ru on Tue, Mar 24, 1998 at 02:22:32AM %2B0300
References:  <Pine.BSF.3.96.980322230945.1092B-100000@kong.dorms.spbu.ru> <199803232322.CAA01396@tejblum.dnttm.rssi.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980324103448.65254>