Package: ntfs-3g Version: 1:1.2531-1.1 Severity: important
-- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (990, 'stable'), (500, 'unstable'), (500, 'testing'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ntfs-3g depends on:
ii libc6 2.7-18 GNU C Library: Shared
libraries
ii libntfs-3g31 1:1.2531-1.1 ntfs-3g filesystem in
userspace (F
ntfs-3g recommends no packages.
ntfs-3g suggests no packages.
-- no debconf information
Problem solution (all in script): #
-- script
echo '
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable"
bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem"
type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options"
type="strlist">locale=ru_RU.UTF8</append>
</match>
</match>
</device>
</deviceinfo>
' > /usr/share/hal/fdi/policy/10osvendor/10-ntfs-policy.fdi
echo '
#!/bin/bash
ntfs-3g "$1" "$2" -o locale=ru_RU.UTF8
' > /sbin/mount.ntfs
chmod +x /sbin/mount.ntfs
-- end of script
after that ntfs partitions must easy mount for any user automatically
signature.asc
Description: Эта часть сообщения подписана цифровой подписью

