LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-22-2011, 10:59 AM   #1
qlands
Member
 
Registered: Sep 2010
Posts: 67

Rep: Reputation: 0
ntfs write with kde 4.6 and udev?


Hi,

I have Slackware 13.37 with Alien's KDE 4.6.5 packages. Before upgrading KDE an auto-mounted NTFS was done read/write but after upgrading the auto-mount is read only. It might be becuase UDEV.

With mount -t auto /dev/sdc1 /mnt/hd it mounts the drive as readonly but mount -t ntfs-3g /dev/sdc1 /mnt/hd mounts it read-write

I followed this thread http://www.linuxquestions.org/questi...h-udev-541985/ by adding a policy in /usr/share/hal/fdi/policy/10osvendor/20-ntfs-3g-policy.fdi with:

Code:
<?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>
<merge key="storage.policy.should_mount" type="bool">true</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
<append key="volume.mount.valid_options" type="strlist">exec</append>
</match>
</match>
</device>
</deviceinfo>
But it still auto-mounts the NTFS in read only.

Any idea what else I need to change/add so it auto-mounts the drive as read/write?

Thanks,
Carlos.

Last edited by qlands; 12-22-2011 at 11:14 AM.
 
Old 12-22-2011, 11:24 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,100

Rep: Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177Reputation: 4177
the policy you have done works with hal, but kde >= 4.6 as built by alienbob, as you have said, uses udev.

maybe the easiest way to fix it is to do a symlink /sbin/mount.ntfs pointing at /bin/ntfs-3g, as per Robby's suggestion.
 
1 members found this post helpful.
Old 12-22-2011, 12:21 PM   #3
qlands
Member
 
Registered: Sep 2010
Posts: 67

Original Poster
Rep: Reputation: 0
Yep. Thant fixed the problem

Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automount NTFS as NTFS-3G ? (with udev ?) michauko Linux - Software 6 04-09-2011 03:54 PM
Urgent: Failing NTFS HD - Will ddrescue Read & Write To Windows NTFS Drives? zipgunner Linux - Newbie 15 03-08-2011 06:29 AM
LXer: How To Enable NTFS Write Support (ntfs-3g) On Ubuntu Feisty Fawn LXer Syndicated Linux News 0 09-11-2007 08:20 PM
LXer: How To Enable NTFS Write Support (ntfs-3g) On Mandriva 2007 Spring LXer Syndicated Linux News 0 09-05-2007 05:30 PM
ntfs-3g with FUSE (NTFS WRITE) - what do I put in fstab 1kyle SUSE / openSUSE 3 02-07-2007 06:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration