Bug 119823

Summary: NTFS on Firewire disk not mounted
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Joachim Reichelt <Joachim.Reichelt>
Component: HotplugAssignee: Danny Kukawka <dkukawka>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dkukawka
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Joachim Reichelt 2005-10-02 19:13:13 UTC
I have a firewire HD (250GB) using NTFS. 
On plugin this disk is not mounted: 
Oct  2 01:01:45 joachim hal-subfs-mount[7691]: MOUNT_POINT:: /media/USB-DISC 
Oct  2 01:01:45 joachim hal-subfs-mount[7691]: MOUNTPOINT:: /media/USB-DISC 
Oct  2 01:01:45 joachim hal-subfs-mount[7691]: NTFS partition detected. Mount 
readconly, if you want mount as rw add key 
'volume.policy.mount_option.rw=true' to the device in HAL 
Oct  2 01:01:45 joachim hal-subfs-mount[7691]: Collected mount options and 
Called(0) /bin/mount -t subfs -o 
fs=ntfs,sync,ro,procuid.nosuid,nodev,nls=utf8 /dev/sdc1 "/media/USB-DISC" 
Oct  2 01:01:45 joachim udevd[2527]: get_netlink_msg: no ACTION in payload 
found, skip event 'umount' 
Oct  2 01:01:45 joachim submountd: mount failure, Invalid argument 
Oct  2 01:01:45 joachim kernel: NTFS-fs error (device sdc1): parse_options(): 
Unrecognized mount option procuid.nosuid. 
Oct  2 01:01:45 joachim kernel: subfs: unsuccessful attempt to mount media 
(256) 
 
I must have a known way to make this disk useable for root/normal users. 
I do not want to: 
automatic make this drive readable for everyone on FIRST plugin 
use 
  mount -tntfs -oro,gid=users /dev/sdh1 /mnt 
 
I want to set this mode by hand in a known file.
Comment 1 Danny Al-Gaaf 2005-10-06 13:35:17 UTC
If you want do this use fstab or/and udev. To change the mount commands is 
currently not supported.

Christian: Is there anywhere a manual/readme how to set this with udev?
Comment 2 Joachim Reichelt 2005-10-06 13:43:26 UTC
fstab does nit work, as the disk is not allways sdh. It depends on other
USB/IEEE "drives"
I cannot use Labels on NTFS disks. That whould help, but I beleve its far away
from reality.

So I thought of udev too, but did not find anyhing usefull.
Comment 3 Christian Zoz 2005-10-11 09:31:30 UTC
The doc was not ready for final release of 10.0 but will be provided soon.

Add your device to fstab. 
Don't use sdh but links in /dev/disk/*/. You can call 
  udevinfo -q symlink -n /dev/sdh
to see all available links.
Also add special mount option 'hotplug'. This will avoid errors at boot time if
the device is not plugged.
So something like
  /dev/disk/by-id/ata-IC25N060ATMR04-0_MRG305KCJG115H  /mnt ntfs hotplug,...
should work. submount will leave the device alone if it is already mounted.

Danny, is there no way to change subfs mount options for a certain device? Will
this change?
Comment 4 Danny Al-Gaaf 2005-10-11 09:47:18 UTC
There is a typo in the command for ntfs. This is already fixed for final. 

*** This bug has been marked as a duplicate of 115806 ***