Change Default Mount Option for Automount in Slackware64 14.1
Just as the thread title, is there any way of changing the default mount options for external storage device? (like USB pen-drive or portable hard drive)
For example, I have a NTFS-formatted external hard drive - when I plugged it Slackware64 automatically mounts it using NTFS-3G, how do I pass or change the default mount options for the mounting process like adding uid=1000,gid=100,fmask=133,dmask=022 to NTFS-3G? Or even change the default mount filesystem? Like change ntfs-3g to ufsd (Paragon NTFS driver) and pass the appropriate mount options every time the device automount. Thanks for your reply. |
have a look on your /etc/fstab
|
I'm asking about how to pass options in Slackware64 14.1 auto-mounting feature, I kind a lost about how to 'configure' or tune the auto-mount filesystem options not mounting manually using entry in /etc/fstab.
For example, I have these entry in /etc/fstab: Code:
# WD Passport 2TB - /dev/sdb1 Thanks |
How do expect the system to mount something without plugging in your portable hard drive? What should it mount?
|
If you add it to /etc/fstab it will control how and where automount mounts it. If you boot up w/o the external drive connected automount/fstab will just give a short error that it can't mount an unknown filesystem. When you do connect it, Bob's ur Uncle.
|
@willysr, do you really understands what I'm asking here? If you mount a file system in Linux, sometimes you have to pass appropriate mount paramaters to the -o option, for example:
Code:
mount -t ufsd -o uid=1000,gid=100,fmask=133,dmask=022,iocharset=utf8,nohidden /dev/sdb1 /mnt/wd1 @enorbet, haven't really tried your solution though because I always comment my fstab entry everytime I tinker with this issue. Will give it a try though. Just incase you are all wondering, people from some other distro have asked this question as well: http://ubuntuforums.org/showthread.php?t=988150 https://ask.fedoraproject.org/en/que...mount-options/ http://askubuntu.com/questions/30762...y-not-possible |
Quick update:
I have these entries in /etc/fstab for mounting manually: Code:
# WD Passport 2TB - /dev/sdb2 Code:
/dev/sdb1 on /run/media/dwi/WD type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096) |
Quote:
Code:
|
All times are GMT -5. The time now is 09:49 AM. |