miossing cp437 mounting usb disk
Hi Everyone,
I'm trying to talk to my digital camera with a 64 bit amd laptop on Slamd64-12.2. This mount command fails mount -s -t vfat /dev/sdb1 /mnt mount gives the usual(meaningless) error message. dmesg |tail tells me codepage 437 was not found. I should be on codepage 850, iso-8859-15, iso-8859-1, utf-8 or something. Where the hell is it getting cp 437? /etc/environment doesn't exist and in fact the whole console environment is close to defaults. I rolled my own kernel and thought cp 437 went out with m$dos (Anyone old enough to remember that?). I rolled my own kernel some and never bothered with cp 437. Who'd need that, I thought? Waste of space. Hmmmm. |
Using Slackware64 here "mount /dev/sdb1 /flash" works just fine.
But if you need it, it's in the Slackware64 kernel: Code:
mingdao@jeremiah:~$ less /boot/config | grep -i 437 |
Quote:
sed 's/850/437/' < ./2.6.29.1-SD64/kernel/fs/nls/nls_cp850.ko > ./2.6.29.1-SD64/kernel/fs/nls/nls_cp437.ko and roll myself one that way. The LAST thing I want to suffer is another kernel recompile. |
I feel your pain. As good as the Slackware kernels are built, they
also usually require a recompile on most of my boxen. And remember, that kernel .config you just made is portable. Save it and you can use it compiling a kernel on any box, any distro. I always issue Code:
zcat /proc/config.gz > custom-kernel.config |
P.S. to this. I am an idiot
I had set CP437 in the FAT filesystem options and didn't include it! bash-3.1# grep -n 437 .config 2525:CONFIG_FAT_DEFAULT_CODEPAGE=437 2599:# CONFIG_NLS_CODEPAGE_437 is not set Now I know where mount got the idea cp437 was needed :-/. I had told it! /goes off to reinflate ego :). |
All times are GMT -5. The time now is 05:05 PM. |