Date: Fri, 22 Jun 2007 05:20:18 GMT From: Alexander Pyhalov <alp@rsu.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/109024: [msdosfs] mount_msdosfs: msdosfs_iconv: Operation not permitted Message-ID: <200706220520.l5M5KINI074697@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/109024; it has been noted by GNATS.
From: Alexander Pyhalov <alp@rsu.ru>
To: bug-followup@FreeBSD.org, ggg_mail@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.
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706220520.l5M5KINI074697>
