DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 17th January 2016
e1-531g e1-531g is offline
VPN Cryptographer
 
Join Date: Mar 2014
Posts: 344
Default codepage and iocharset in fat32 aka msdos filesystem

Hello,
I am from Poland.
I am using Windows 8.1 64-bit and OpenBSD-current amd64.
When I used Gnu/Linux I mounted fat32 partitions
with these options:
iocharset=iso8859-2,codepage=852
However OpenBSD's mount tells me:
Code:
mount -t msdos  -o codepage=852 /dev/sd0f /mnt/partycjaFat/
mount_msdos: -o codepage: option not supported
and
Code:
mount -t msdos  -o iocharset=iso8859-2 /dev/sd0f /mnt/partycjaFat/
mount_msdos: -o iocharset: option not supported
1. What codepage is used by default in FAT32 filesystem created
and mounted in OpenBSD?
2. Is there a way to use other codepage in OpenBSD?
If answer to 2 is no, then:
3. Is there way to force Windows to use different codepage
for that FAT32 partition?

I have posted this question also to misc mailing list
a few minutes ago with the subject the same as
Title of this Thread.
Reply With Quote
  #2   (View Single Post)  
Old 17th January 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,273
Default

Quote:
Originally Posted by e1-531g View Post
Code:
mount -t msdos  -o iocharset=iso8859-2 /dev/sd0f /mnt/partycjaFat/
mount_msdos: -o iocharset: option not supported
So what happens if you simply attempt to mount with the command:

$ mount -t msdos /dev/sd0f /mnt/partycjaFat/
Reply With Quote
  #3   (View Single Post)  
Old 17th January 2016
e1-531g e1-531g is offline
VPN Cryptographer
 
Join Date: Mar 2014
Posts: 344
Default

Quote:
Originally Posted by ocicat View Post
$ mount -t msdos /dev/sd0f /mnt/partycjaFat/
It will mount filesystem. Problem is after that with filenames.
I have added one file whose name contains characters from polish language.
It should look like these
aącćzżźoólłeęsś


but looks like these:
Reply With Quote
  #4   (View Single Post)  
Old 18th January 2016
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,273
Default

Quote:
Originally Posted by e1-531g View Post
It will mount filesystem. Problem is after that with filenames.
...which is a character support issue, not a problem with mounting.

The parallel discussion on misc@ can be found at the following:

http://marc.info/?t=145304791100005&r=1&w=2
Reply With Quote
Reply

Tags
charset, codepage, fat, filesystem, openbsd

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can FAT32 be readed/written by ordinary user ? sw2wolf OpenBSD General 4 22nd January 2015 12:10 AM
Can FAT32 partition be writable by ordinary user ? sw2wolf OpenBSD General 5 24th March 2012 03:15 PM
create a FAT32 partition and format it. wesley OpenBSD General 2 6th November 2010 08:31 AM
Corrupted msdos filesystem on a compactflash card - recovery algkalv FreeBSD General 4 6th January 2010 12:30 AM
Formatting fat32 drive quickly map7 FreeBSD General 10 26th July 2008 05:17 PM


All times are GMT. The time now is 09:42 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick