How do I get autofs/automount to mount NTFS partitions rw (read and write)? Adding rw to the map file doesn’t work for NTFS partitions.
$this->bbcode_second_pass_code('', '[root@PL250 autofs]# cat auto.master
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).
#
/media /etc/autofs/auto.media
# /usb /etc/autofs/auto.usb
# /media /etc/autofs/auto.media --ghost
# EOF
[root@PL250 autofs]# cat auto.media
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
#
b1 -fstype=auto,rw,async,nodev,nosuid :/dev/sdb1
b2 -fstype=auto,rw,async,nodev,nosuid :/dev/sdb2
b3 -fstype=auto,rw,async,nodev,nosuid :/dev/sdb3
c1 -fstype=auto,rw,async,nodev,nosuid :/dev/sdc1
c2 -fstype=auto,rw,async,nodev,nosuid :/dev/sdc2
c3 -fstype=auto,rw,async,nodev,nosuid :/dev/sdc3
d1 -fstype=auto,rw,async,nodev,nosuid :/dev/sdd1
d2 -fstype=auto,rw,async,nodev,nosuid :/dev/sdd2
d3 -fstype=auto,rw,async,nodev,nosuid :/dev/sdd3
# cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/cdrom
# floppy -fstype=auto,rw,async,nodev,nosuid,umask=000 :/dev/fl
# usbstick -fstype=auto,rw,async,nodev,nosuid,umask=000 :/dev/sda1
#
# END')
$this->bbcode_second_pass_code('', '[root@PL250 ~]# mount
/dev/sda1 on / type ext3 (rw,relatime,user_xattr,barrier=1,nodelalloc,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=126132k,nr_inodes=31533,mode=755)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/bfqio type cgroup (rw,nosuid,nodev,noexec,relatime,bfqio)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=34,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tmpfs on /tmp type tmpfs (rw)
/dev/sda2 on /sd-a2 type ext4 (rw,noatime,user_xattr,barrier=1,data=ordered)
/etc/autofs/auto.media on /media type autofs (rw,relatime,fd=6,pgrp=401,timeout=600,minproto=5,maxproto=5,indirect)
/dev/sdb1 on /media/b1 type ntfs (ro,nosuid,nodev,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=iso8859-1,errors=continue,mft_zone_multiplier=1)')