Re: [gentoo-user] gnome-volume-manager

2006-02-09 Thread Ryan Tandy

Iain Buchanan wrote:

snip

This doesn't seem to be the right way to go, as I can mount the drive
_without_ nls_utf8, but gnome-volume-manager can't...

thanks for any comments!
  


So GVM is trying to force it to utf8.  I would try two things:

1) I'm not familiar with GVM at all, but see if there's an option 
somewhere to make it *not* mount vfat partitions as Unicode.


2) Failing that, make gvm USE -unicode -utf8.

HTH.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-09 Thread Iain Buchanan
On Thu, 2006-02-09 at 13:55 +0800, Ow Mun Heng wrote:
 On Thu, 2006-02-09 at 15:08 +0930, Iain Buchanan wrote:
  OK, I finally got some more time to spend on this, and I'll give all
  info again, just in case anyone can help.
  
  gnome-volume-manager kind-of works!  When I insert a usb storage drive,
  I get this message in /var/log/messages:
  
  [Attached scsi disk blah...]
  Feb  9 14:48:31 orpheus FAT: utf8 is not a recommended IO charset for
  FAT filesystems, filesystem will be case sensitive!
  Feb  9 14:48:31 orpheus Unable to load NLS charset utf8
  Feb  9 14:48:31 orpheus FAT: IO charset utf8 not found
 
 Not sure.. is UTF8 compiled in? I don't get this warning at all.
 
 $grep -i utf /usr/src/linux/.config
 CONFIG_NLS_DEFAULT=utf8
 CONFIG_NLS_UTF8=y

hey, can you tail /var/log/messages for me when you plug in a drive, and
tell me if you see:

Feb 10 14:26:38 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!

I just recompiled my kernel like yours, above, and I still get this
message (but at least g-v-m auto mounts the drive :)

thanks,
-- 
Iain Buchanan iain at netspace dot net dot au

A little suffering is good for the soul.
-- Kirk, The Corbomite Maneuver, stardate 1514.0

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-08 Thread Iain Buchanan
OK, I finally got some more time to spend on this, and I'll give all
info again, just in case anyone can help.

gnome-volume-manager kind-of works!  When I insert a usb storage drive,
I get this message in /var/log/messages:

[Attached scsi disk blah...]
Feb  9 14:48:31 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!
Feb  9 14:48:31 orpheus Unable to load NLS charset utf8
Feb  9 14:48:31 orpheus FAT: IO charset utf8 not found

But when I mount the drive manually:
sudo mount /dev/sdd1 /mnt/tmp
or
sudo mount -o codepage=437,iocharset=iso8859-1 /dev/sdd1 /mnt/tmp/

it mounts fine, gnome-volume-manager detects that I've mounted it and
opens a window in the root folder of the drive (/mnt/tmp).

So why doesn't it do it automatically?  I tried building the module
nls_utf8.  When I load the module and plug in the
drive, /var/log/messages now shows:

Feb  7 22:07:18 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!

but the drive still mounts...

This doesn't seem to be the right way to go, as I can mount the drive
_without_ nls_utf8, but gnome-volume-manager can't...

thanks for any comments!
-- 
Iain Buchanan iain at netspace dot net dot au

I gained nothing at all from Supreme Enlightenment, and for that very
reason it is called Supreme Enlightenment.
-- Gotama Buddha

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-08 Thread Ow Mun Heng
On Thu, 2006-02-09 at 15:08 +0930, Iain Buchanan wrote:
 OK, I finally got some more time to spend on this, and I'll give all
 info again, just in case anyone can help.
 
 gnome-volume-manager kind-of works!  When I insert a usb storage drive,
 I get this message in /var/log/messages:
 
 [Attached scsi disk blah...]
 Feb  9 14:48:31 orpheus FAT: utf8 is not a recommended IO charset for
 FAT filesystems, filesystem will be case sensitive!
 Feb  9 14:48:31 orpheus Unable to load NLS charset utf8
 Feb  9 14:48:31 orpheus FAT: IO charset utf8 not found

Not sure.. is UTF8 compiled in? I don't get this warning at all.

$grep -i utf /usr/src/linux/.config
CONFIG_NLS_DEFAULT=utf8
CONFIG_NLS_UTF8=y

$egrep -i '(437|8859)' /usr/src/linux/.config
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1
CONFIG_NLS_CODEPAGE_437=y
CONFIG_NLS_ISO8859_1=y


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 13:55:11 up 3 days, 4:55, 6 users, load average: 1.61, 1.07,
0.89 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-08 Thread Iain Buchanan
On Thu, 2006-02-09 at 13:55 +0800, Ow Mun Heng wrote:
 On Thu, 2006-02-09 at 15:08 +0930, Iain Buchanan wrote:
  OK, I finally got some more time to spend on this, and I'll give all
  info again, just in case anyone can help.
  
  gnome-volume-manager kind-of works!  When I insert a usb storage drive,
  I get this message in /var/log/messages:
  
  [Attached scsi disk blah...]
  Feb  9 14:48:31 orpheus FAT: utf8 is not a recommended IO charset for
  FAT filesystems, filesystem will be case sensitive!
  Feb  9 14:48:31 orpheus Unable to load NLS charset utf8
  Feb  9 14:48:31 orpheus FAT: IO charset utf8 not found
 
 Not sure.. is UTF8 compiled in? I don't get this warning at all.

hmmm, my options are different slightly:

 CONFIG_NLS_DEFAULT=utf8
 CONFIG_NLS_UTF8=y

CONFIG_NLS_DEFAULT=iso8859-1
# CONFIG_NLS_UTF8 is not set

 CONFIG_FAT_DEFAULT_CODEPAGE=437
 CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1
 CONFIG_NLS_CODEPAGE_437=y
 CONFIG_NLS_ISO8859_1=y

same as mine.

let me try that and see...
-- 
Iain Buchanan iain at netspace dot net dot au

Three o'clock in the afternoon is always just a little too late or a little
too early for anything you want to do.
-- Jean-Paul Sartre

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-07 Thread Iain Buchanan
On Mon, 2006-02-06 at 17:26 -0800, Ryan Tandy wrote:

   Also under File Systems, you can change the 
 default code page and IO charset for vfat filesystems, which should 
 remove the warning.

any suggestions for these last two?  I don't really have much of an
idea...

thanks,
-- 
Iain Buchanan iain at netspace dot net dot au

Every country has the government it deserves.
-- Joseph De Maistre

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-07 Thread Iain Buchanan
On Tue, 2006-02-07 at 21:59 +0930, Iain Buchanan wrote:
 On Mon, 2006-02-06 at 17:26 -0800, Ryan Tandy wrote:
 
Also under File Systems, you can change the 
  default code page and IO charset for vfat filesystems, which should 
  remove the warning.
 
 any suggestions for these last two?  I don't really have much of an
 idea...

I left them as is, and compiled nsl_utf8 as a module (so I don't have to
restart).  When I load the module and plug in the
drive, /var/log/messages now shows:

Feb  7 22:07:18 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!

but the drive still mounts...
-- 
Iain Buchanan iain at netspace dot net dot au

Besides, I think [Slackware] sounds better than 'Microsoft,' don't you?
(By Patrick Volkerding)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-07 Thread Ryan Tandy

Iain Buchanan wrote:

On Tue, 2006-02-07 at 21:59 +0930, Iain Buchanan wrote:
  

On Mon, 2006-02-06 at 17:26 -0800, Ryan Tandy wrote:


  Also under File Systems, you can change the 
default code page and IO charset for vfat filesystems, which should 
remove the warning.
  

any suggestions for these last two?  I don't really have much of an
idea...

Depends on your location and what NLS you normally use.  I'm in North 
America, so I use the ISO 8859-1 charset and code page 437, both for 
Western European language support.  If you don't intend to use your 
computer in any language other than English, those are probably fine.


I left them as is, and compiled nsl_utf8 as a module (so I don't have to
restart).  When I load the module and plug in the
drive, /var/log/messages now shows:

Feb  7 22:07:18 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!

but the drive still mounts...
  
This is a warning, not an error.  You can use Unicode on vfat 
filesystems, but it's not recommended as vfat is not usually used in a 
case sensitive context.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-07 Thread Iain Buchanan
On Tue, 2006-02-07 at 17:33 -0800, Ryan Tandy wrote:
 Iain Buchanan wrote:
[snip]
  I left them as is, and compiled nsl_utf8 as a module (so I don't have to
  restart).  When I load the module and plug in the
  drive, /var/log/messages now shows:
 
  Feb  7 22:07:18 orpheus FAT: utf8 is not a recommended IO charset for
  FAT filesystems, filesystem will be case sensitive!
 
  but the drive still mounts...

 This is a warning, not an error.  You can use Unicode on vfat 
 filesystems, but it's not recommended as vfat is not usually used in a 
 case sensitive context.

So what do I do if I don't want it to be case sensitive?  If I don't
load nls_utf8, then I can't access the drive... But to access the drive
I need nls_utf8...

hmmm
-- 
Iain Buchanan iain at netspace dot net dot au

Never ask two questions in a business letter.  The reply will discuss
the one you are least interested, and say nothing about the other.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-07 Thread Ryan Tandy

Iain Buchanan wrote:

On Tue, 2006-02-07 at 17:33 -0800, Ryan Tandy wrote:
  

Iain Buchanan wrote:


[snip]
  

I left them as is, and compiled nsl_utf8 as a module (so I don't have to
restart).  When I load the module and plug in the
drive, /var/log/messages now shows:

Feb  7 22:07:18 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!

but the drive still mounts...
  
  
This is a warning, not an error.  You can use Unicode on vfat 
filesystems, but it's not recommended as vfat is not usually used in a 
case sensitive context.



So what do I do if I don't want it to be case sensitive?  If I don't
load nls_utf8, then I can't access the drive... But to access the drive
I need nls_utf8...

hmmm
  

From man mount:

Mount options for fat
  (Note: fat is not a separate filesystem, but a common part of the 
msdos, umsdos and vfat filesystems.)

snip
  codepage=value
 Sets  the  codepage for converting to shortname characters 
on FAT and VFAT filesystems. By default,

 codepage 437 is used.
snip
  iocharset=value
 Character set to use for converting between 8 bit 
characters and 16  bit  Unicode  characters.  The
 default is iso8859-1.  Long filenames are stored on disk 
in Unicode format.



Try compiling the nls_iso8859-1 module, and mount the drive using that 
iocharset.  The man page notwithstanding, the default CP and iocharset 
can both be changed in the kernel config.


If that doesn't work, then I've misunderstood the error/warning, and you 
need to look at the 'utf8' option for vfat in man mount.

--
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome-volume-manager

2006-02-06 Thread Iain Buchanan
Hi,

due to the recent discussions about automounting usb drives, I thought
I'd try gnome-volume-manager again.  I compiled it, started dbus and
hald, started gnome-volume-manager, restarted gnome (just in case), but
when I plug in a drive I get (in /var/log/messages):


Feb  7 10:31:08 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!
Feb  7 10:31:08 orpheus Unable to load NLS charset utf8
Feb  7 10:31:08 orpheus FAT: IO charset utf8 not found

hmmm, why can't it find utf8?

thanks,
-- 
Iain Buchanan iain at netspace dot net dot au

  Parting is such sweet sorrow. -William Shakespeare

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] gnome-volume-manager

2006-02-06 Thread Ryan Tandy

Iain Buchanan wrote:

Hi,

due to the recent discussions about automounting usb drives, I thought
I'd try gnome-volume-manager again.  I compiled it, started dbus and
hald, started gnome-volume-manager, restarted gnome (just in case), but
when I plug in a drive I get (in /var/log/messages):


Feb  7 10:31:08 orpheus FAT: utf8 is not a recommended IO charset for
FAT filesystems, filesystem will be case sensitive!
Feb  7 10:31:08 orpheus Unable to load NLS charset utf8
Feb  7 10:31:08 orpheus FAT: IO charset utf8 not found

hmmm, why can't it find utf8?

thanks,
  
Make sure you have the utf8 charset compiled into your kernel - in my 
menuconfig it's File Systems - Native Language Support - NLS UTF8  
(the bottommost option).  Also under File Systems, you can change the 
default code page and IO charset for vfat filesystems, which should 
remove the warning.


HTH.
--
gentoo-user@gentoo.org mailing list