[vox-tech] Removing Files

Mark K. Kim vox-tech@lists.lugod.org
Fri, 21 May 2004 16:23:42 -0700 (PDT)


Shouldn't that be small "o", as in:

   mount -t jfs -o iocharset=3Dutf8 /dev/vg/media /usr/media/

Not big "O", as in:

   mount -t jfs -O iocharset=3Dutf8 /dev/vg/media /usr/media/

???

Good luck!

-Mark


On Fri, 21 May 2004, Daniel Hurt wrote:

> Thanks,
>
> I tried this command sequence and it did not seem to work. Which is what
> I think I should do from skimming these posts in the Gentoo forums:
>
> http://forums.gentoo.org/viewtopic.php?t=3D166984&highlight=3Dlocaledef
> http://forums.gentoo.org/viewtopic.php?t=3D34923&highlight=3Dlocaledef
>
> [/] > localedef -i en_US -c -f UTF-8 en_US.UTF-8
> [/] > export LC_CTYPE=3Den_US.UTF-8
> [/home/hurt] > mount -t jfs -O iocharset=3Dutf8 /dev/vg/media /usr/media/
> [/home/hurt] > cd /usr/media/movies/
> [/usr/media/movies] > ls
> ls: /usr/media/movies/Evil Dead 3 - Army of Darkness (Director=B4s
> Cut).avi: No such file or directory
> [/usr/media/movies] > cd /
> [/] > umount /usr/media/
> [/] > mount -t jfs -O iocharset=3Dutf8 /dev/vg/media /usr/media/
> [/] > ls /usr/media/movies/
> ls: /usr/media/movies/Evil Dead 3 - Army of Darkness (Director=B4s
> Cut).avi: No such file or directory
> [/] > umount /usr/media/
> [/] > mount -t jfs -O iocharset=3DUTF-8 /dev/vg/media /usr/media/
> [/] > ll /usr/media/movies/
> ls: /usr/media/movies/Evil Dead 3 - Army of Darkness (Director=B4s
> Cut).avi: No such file or directory
> total 0
>
>   I need to read more closely through the forums for Gentoo on how to
> get UTF-8 supported and how to mount a file system with that enabled.  I
> will work on that more tonight when I have time.  Thanks for the
> direction, I think that I am close to a solution now :-)
>
> Dan
>
> Mark K. Kim wrote:
> > Your system probably doesn't support UTF-8.  You can generate the
> > support but I'm not sure how to do it for Gentoo.  Debian uses
> > `localedef`, and it goes like this:
> >
> >    localedef -i en_US -c -f UTF-8 -A /etc/locale.alias en_US.UTF-8
> >
> > which generates the American English locale using the UTF-8 character s=
et.
> > Then you can use this locale like this:
> >
> >    export LC_ALL=3Den_US.UTF-8
> >
> > Then try mounting with the "-o iocharset=3DUTF-8" option.
> >
> > You can also try another charset.  ISO-8859-1, Windows-1252, ISO-8859-2=
,
> > etc.
> >
> > -Mark
> >
> >
> > On Fri, 21 May 2004, Daniel Hurt wrote:
> >
> >
> >>Sorry forgot about that.  I was not able to succeed in passing those
> >>options that you have suggested. But i think that herein lies the
> >>solution.  This is a link that is from the kernel mailing list archives
> >>which describes possibly the same problem and the solution:
> >>
> >>http://www.uwsg.iu.edu/hypermail/linux/kernel/0403.3/0058.html
> >>
> >>But I am not able to mount with that option specified.  Do you have any
> >>suggestions.  Here are the commands and the output:
> >>
> >># mount /dev/vg/media /usr/media/ -o iocharset=3Dutf8
> >>mount: wrong fs type, bad option, bad superblock on /dev/vg/media,
> >>        or too many mounted file systems
> >># mount -t jfs /dev/vg/media /usr/media/ -o iocharset=3Dutf8
> >>mount: wrong fs type, bad option, bad superblock on /dev/vg/media,
> >>        or too many mounted file systems
> >># mount -t jfs /dev/vg/media /usr/media/
> >># !u
> >>umount /usr/media/
> >># mount -t jfs -o iocharset=3Dutf8 /dev/vg/media /usr/media/
> >>mount: wrong fs type, bad option, bad superblock on /dev/vg/media,
> >>        or too many mounted file systems
> >># mount /usr/media/
> >>
> >>Mark K. Kim wrote:
> >>
> >>>Have you tried mounting with the "-o iocharset=3D<charset>" option yet=
?
> >>>
> >>>-Mark
> >>
> >>_______________________________________________
> >>vox-tech mailing list
> >>vox-tech@lists.lugod.org
> >>http://lists.lugod.org/mailman/listinfo/vox-tech
> >>
> >
> >
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
>

--=20
Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.jsp?id=3D13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E  5167 6822 94F0 F298 5DCE
PGP key available on the homepage