You are not logged in.
The upgrade to Gnome 2.28 went flawlessly and so far, the overall system starts up a bit faster, including gdm (according to bootchart).
Anyhow, I've been using iocharset=utf8,shortname=win95 set in /system/storage/default_options/vfat since maybe Gnome 2.24 (when I started using Arch). Anyhow, Gnome 2.28 seems to totally disregard it and I haven't been able to figure out how/where to change it back.
Anyone know how to change/override the default mount options?
Thanks.
Offline
I have also same problem. I can not use upper case in usb drive
Offline
I have also same problem. I can not use upper case in usb drive
I seemed to have solved the "problem". I spent some time grepping through the filesystem and it was exactly what I hoped it wouldn't have been... it was hardcoded into the devicekit-disks package (look in devkit-disks-device.c).
I'm not sure about the reason for such a default with no ability to override it... but I need the behaviour of shortname=win95 when it comes to pictures/files directly from memory cards of digital cameras.
I could post a modified PKGBUILD and a patch I created if anyone would like. I also found that devicekit-disks needs docbook-xsl install in order to build.
Offline
Take a look at /system/storage/default_options in gconf-editor.
Offline
Take a look at /system/storage/default_options in gconf-editor.
as cookiemonstr said you can not dverride it. In gnome 2.26 there was no trouble when edit gconf. but it seems gconf does not change defaults in 2.28.
I could post a modified PKGBUILD and a patch I created if anyone would like. I also found that devicekit-disks needs docbook-xsl install in order to build.
it would be very helpful I think. Can you send me the modified PKGBUILD. Thank you in advance
Offline
Below is the modified PKGBUILD from ABS (only 1 line was added to apply the patch):
# $Id: $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=devicekit-disks
pkgver=007
pkgrel=1
pkgdesc="Disk Management Service"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/DeviceKit"
license=('GPL')
depends=('udev>=146' 'zlib' 'sg3_utils' 'glib2>=2.21.6' 'dbus-glib>=0.80' 'polkit>=0.94' 'parted>=1.8.8' 'device-mapper>=2.02.52' 'libatasmart>=0.5')
options=(!libtool)
makedepends=('intltool')
source=(http://hal.freedesktop.org/releases/DeviceKit-disks-${pkgver}.tar.gz)
md5sums=('6fa70c6a67beacbc55374e92c671a568')
build() {
cd "${srcdir}/DeviceKit-disks-${pkgver}"
patch -Np1 -i ../../DeviceKit-disks-007-cookiemonstr.patch || return 1
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/DeviceKit --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}
In the same folder as the PKGBUILD, create a file named DeviceKit-disks-007-cookiemonstr.patch containing:
diff -aur DeviceKit-disks-007.pristine/src/devkit-disks-device.c DeviceKit-disks-007.new/src/devkit-disks-device.c
--- DeviceKit-disks-007.pristine/src/devkit-disks-device.c 2009-09-19 07:14:07.000000000 +0900
+++ DeviceKit-disks-007.new/src/devkit-disks-device.c 2009-10-16 20:01:10.221829985 +0900
@@ -4108,7 +4108,7 @@
static const char *vfat_defaults[] = {"uid=",
"gid=",
- "shortname=lower",
+ "shortname=win95",
"dmask=0077",
"utf8=1",
NULL};
Run makepkg as you normally would and install it if it builds fine. Again, I needed to install docbook-xsl in order to build it. This is also assuming you have ABS and the basic development stuff installed as well.
"win95" uppercases 8.3 filenames, which is exactly what I want (SG101234.DNG or SG101234.JPG). Modify the .patch file if you prefer something else.
It seems that UTF8 is enabled by default, so only the change to "shortname" handling (for vfat) was all I needed. This is also my first time to modify a PKGBUILD for the sole purpose of creating my own patch (thank you ArchWiki). Hope it works for you.
Take care
Offline
Thank you. Patch worked for me.:D
Offline