Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I am using Suse10.3 and want to be able to read and write to my ntfs partition. I have fuse and ntfs-3g installed and i can mount the drive ...
  1. #1
    Just Joined! SnagaDuath's Avatar
    Join Date
    Aug 2007
    Location
    South Africa
    Posts
    52

    ntfs-3g and fstab (SuSE10.3)

    Hi,

    I am using Suse10.3 and want to be able to read and write to my ntfs partition. I have fuse and ntfs-3g installed and i can mount the drive using

    # mount -t ntfs-3g /dev/sdb1 /Bennie

    and read and write to it without any problems. The problem is that when i add the following line at the end of my fstab file

    /dev/sdb1 /Bennie ntfs-3g defaults 0 0

    it fails to mount the drive in r/w mode during bootup for some reason. Also, if it failed during bootup my system freezes when i try to unmount the read-only ntfs partition.

    here's my fstab file:
    Code:
    /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part2 /                    ext3       acl,user_xattr        1 1
    /dev/disk/by-id/scsi-SATA_ST3250824AS_4ND1PBR0-part1 /Bennie              ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part1 /Windows             ntfs-3g    users,gid=users,fmask=133,dmask=022,locale=en_US.UTF-8 0 0
    /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part3 swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
    /dev/sdb1 /Bennie ntfs-3g defaults 0 0
    Any thoughts?
    Thx!

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    /etc/fstab has two entries for /dev/sdb1.
    Edit /etc/fstab file. Contents should be like this
    Code:
    /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part2 /                    ext3       acl,user_xattr        1 1
    /dev/disk/by-id/scsi-SATA_ST3250824AS_4ND1PBR0-part1 /Bennie         ntfs-3g  defaults,umask=0 0 0
    /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part1 /Windows     ntfs-3g defaults,umask=0 0 0
     /dev/disk/by-id/scsi-SATA_ST3500320AS_9QM05J7X-part3 swap                 swap       defaults              0 0
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    usbfs                /proc/bus/usb        usbfs      noauto                0 0
    In case it doesn't work, post the output of fdisk -l command here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! SnagaDuath's Avatar
    Join Date
    Aug 2007
    Location
    South Africa
    Posts
    52
    Awesome Thanx a lot! It works perfectly.

    I have one question, though... why was this line of code removed?

    devpts /dev/pts devpts mode=0620,gid=5 0 0

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Glad to help you.

    I have one question, though... why was this line of code removed?

    devpts /dev/pts devpts mode=0620,gid=5 0 0
    Sorry ! I missed that line. It should not be removed. Add that line again.
    devpts handle pseudo terminal devices.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! SnagaDuath's Avatar
    Join Date
    Aug 2007
    Location
    South Africa
    Posts
    52
    Quote Originally Posted by devils_casper View Post
    Sorry ! I missed that line. It should not be removed. Add that line again.
    devpts handle pseudo terminal devices.
    no problem... thx again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...