LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-04-2005, 05:51 AM   #1
raid517
Member
 
Registered: Feb 2002
Posts: 393

Rep: Reputation: 30
NTFS & ufsd


Hi, I am trying to figure out how to get the /etc/hotplug/usb/usb-storage script to automatically mount my hard drive to use the Paragon usfd driver, to enable read write access to my NTFS drives.

I know I could simply delete it, but there may come an occasion when i want to plug another non NTFS drive (such as a pen drive) into a spare USB slot - and it would be nice to have it automatically detected.

I tried to follow some advice I found on the web by editing the script as follows:

Snip
Code:
 case "$us_FSTYPE" in
                ext2|ext3|reiserfs|jfs|xfs|minix)
                        us_MOUNTCMD="/bin/mount -t $us_FSTYPE -o $us_OWNER,umask=000,user $us_DEVICE $us_MOUNTPOINT"
                        ;;
                ufsd)
                        # TODO: add useful options
                        us_MOUNTCMD="/bin/mount -t $us_FSTYPE -o $us_OWNER,umask=0222,ro,user $us_DEVICE $us_MOUNTPOINT"
                        ;;
                vfat|auto)
                        us_MOUNTCMD="/bin/mount -t vfat -s -o $us_OWNER,shortname=mixed,quiet,sync,umask=0002,user,showexec $us_DEVICE $us_MOUNTPOINT"
                        ;;
                none|extended|swap)
                        continue
                        ;;
Snip.

(See Attachment for full script).

My fstab file looks as follows:

Code:
# /etc/fstab: filesystem table.
#
# filesystem  mountpoint  type  options  dump  pass
/dev/hda3  /  reiser4  defaults  0  1
/dev/hda7  /home  reiser4  defaults,auto  0  2
/dev/hda6  /boot  ext3  defaults,auto  0  2

proc  /proc  proc  defaults  0  0
/dev/fd0  /floppy  vfat  defaults,user,noauto,showexec,umask=022  0  0
usbfs  /proc/bus/usb  usbfs  devmode=0666  0  0
sysfs  /sys  sysfs  defaults  0  0
tmpfs  /dev/shm  tmpfs defaults  0  0
/dev/cdrom /cdrom  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/cdrom1 /cdrom1  iso9660  defaults,ro,users,noexec,noauto  0  0
/dev/dvd /dvd  iso9660  defaults,ro,users,noexec,noauto  0  0
# Added by KNOPPIX
#/dev/hda1 /mnt/hda1 ntfs auto,users,exec,ro,umask=000 0 0
# Added by KNOPPIX
/dev/hda5 none swap defaults 0 0
# Added by KNOPPIX
#/dev/sda1 /mnt/sda1 ntfs noauto,users,exec,ro,umask=000 0 0
/dev/hda1 /mnt/ntfs_0 ufsd defaults,quiet 0 0
/dev/sda1 /mnt/ntfs_1 ufsd defaults,quiet 0 0
However this did not work.

Basically I have two partitions. hda1 and sda1. I want to access them in both read write mode as a user, for them to not be automatically mounted at boot time and for them both to use the ufsd driver.

Please can someone help me understand how best to achieve this?

GJ

USB-STORAGE
 
  


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
FAT32 & NTFS..... --> w2k & RH8 Santorres Linux - General 4 12-16-2003 07:29 AM
Redhat 8 & NTFS dayloon Linux - Distributions 3 10-23-2002 09:33 AM
Ntfs & Fat32 Syed Mazhar Ali Linux - General 2 05-01-2002 03:41 AM
Redhat 7.1 & NTFS busybee Linux - Software 14 11-07-2001 12:11 AM
two mice & mounting NTFS whysanity Linux - General 1 10-03-2001 01:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:00 AM.

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