kern/109024: [msdosfs] mount_msdosfs: msdosfs_iconv: Operation
not permitted
Alexander Pyhalov
alp at rsu.ru
Fri Jun 22 05:20:19 UTC 2007
The following reply was made to PR kern/109024; it has been noted by GNATS.
From: Alexander Pyhalov <alp at rsu.ru>
To: bug-followup at FreeBSD.org, ggg_mail at inbox.ru
Cc:
Subject: Re: kern/109024: [msdosfs] mount_msdosfs: msdosfs_iconv: Operation
not permitted
Date: Fri, 22 Jun 2007 09:18:37 +0400
Bug was wrongly closed, because with loaded module msdosfs_iconv.ko=20
mount says mount_msdosfs: msdosfs_iconv: Operation not permitted.
The reason, as I understand, is in kiconv. If you compile and run the=20
following code at startup ( you should run it as root, for example,=20
using rc.d), everything works correctly.
#include <sys/stat.h>
#include <stdio.h>
#include <sys/iconv.h>
int main()
{
int er;
er=3Dkiconv_add_xlat16_cspairs("UTF-16BE", "UTF-8");
if(er)
printf("Er=3D%d\n",er);
er=3Dkiconv_add_xlat16_cspairs("cp866","UTF-8");
if(er)
printf("Er2=3D%d\n",er);
return 0;
}
--=20
=F3 =D5=D7=C1=D6=C5=CE=C9=C5=CD,=20
=E1=CC=C5=CB=D3=C1=CE=C4=D2 =F0=D9=C8=C1=CC=CF=D7,
=D3=C9=D3=D4=C5=CD=CE=D9=CA =C1=C4=CD=C9=CE=C9=D3=D4=D2=C1=D4=CF=D2 =E0=E7=
=E9=EE=E6=EF =E0=E6=F5.
More information about the freebsd-bugs
mailing list