Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Bash by osmiev ( 17 years ago )
sudo apt-get install ntfsprogs ntfs-3g
sudo 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

sudo echo '
#!/bin/bash
ntfs-3g "$1" "$2" -o locale=ru_RU.UTF8
' > /sbin/mount.ntfs
sudo chmod +x /sbin/mount.ntfs

 

Revise this Paste

Your Name: Code Language: