Here’s the entry in the fstab file for mounting my hard drive. I have bolded the name of the hard drive (that’s what it shows up as on the dock when it isn’t mounted):

UUID=D4C0A66EC0A65710 /media/lucky/New Volume ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000    0   0

After making that entry in fstab, I execute the, systemctl daemon-reload, command, and then mount -a, afterwards which gives me this error.

  • Kickass WomenOP
    link
    1
    edit-2
    1 year ago

    That REALLY doesn’t seem like a good idea considering that *'s are wildcards for anything, and Linux isn’t really fond of spaces.

    There are no asterisks in the fstab file. I put them here to emphasize the name of the hdd (I edited my original post to remove them to avoid confusing people).

    Also do you have a lib or something for linux to handle NTFS file system types?

    I’m using the ntfs-3g driver.

    Btw this is what the entry on fstab looks like now but I’m still getting the parsing error:

    UUID=D4C0A66EC0A65710 "/media/lucky/New Volume" ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0

    • ozoned
      link
      21 year ago

      But you have a space in there. I don’t know how spaces are handled in fstab. You’ll either need to quote it or at least escape the space:

      UUID=D4C0A66EC0A65710 ‘/media/lucky/New Volume’ ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0

      OR

      UUID=D4C0A66EC0A65710 /media/lucky/New\ Volume ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0

      The space is absolutely an issue in fstab as it’s thinking “Volume” is the filesystem type and ntfs goes into your options, etc.

      • Kickass WomenOP
        link
        2
        edit-2
        1 year ago

        But you have a space in there. I don’t know how spaces are handled in fstab. You’ll either need to quote it or at least escape the space

        Instead of using spaces or quotes (single or double), I used \040 (as @shortdorkyasian) said and that made all the difference:

        UUID=D4C0A66EC0A65710 /media/lucky/New\040Volume/ ntfs rw,auto,users,exec,nls=utf8,umask=003,gid=46,uid=1000 0 0