Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Quick fstab question

  • 09-06-2009 01:14PM
    #1
    Registered Users, Registered Users 2 Posts: 218 ✭✭


    Just wondering what line people use in their fstab to mount a second hard disk with media. I used to use:
    LABEL=media /mnt/media ntfs-3g auto,users,uid=1000,gid=100,utf8,dmask=026,fmask=137 0 0

    Now that I'm using mpd I've had to set dmask=022 and fmask=133. Is this safe-ish? mpd is a daemod which runs under the username mpd. I've tried to add mpd to the "users" group:
    usermod -a -G mpd users
    But this didn't work.

    Any suggestions or am I grand as is?
    Also is there a reason why dmask and fmask are inverted?


Advertisement