Hi guys,
How can I change the mount options on the internal SD Card in my Asus RT-N66U?
When I type mount, I get the following output
I want to change the line in bold to use
I have added an fstab file to /jffs/configs and made sure chmod was 755
As you can see it looks as though the system is reading my new fstab config file
But it just doesn't take that as shown in the mount command above
The other thing which I saw in another post while searching (no answer to it either) was that on boot up it detects an ext4 file system as shown in the system logs and I have no idea why because I used makefs.ext2
Any help would be appreciated. I'd like to make my SD Card as fast as possible with the writeback option and last as long as possible with the discard mount option.
Thanks
Andy
How can I change the mount options on the internal SD Card in my Asus RT-N66U?
When I type mount, I get the following output
Code:
admin@ASNet-WIFI:/# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw)
[B]/dev/sda1 on /tmp/mnt/entware type ext2 (rw,nodev,noatime)[/B]
I want to change the line in bold to use
Code:
data=writeback,discard,rw,nodev,noatime
I have added an fstab file to /jffs/configs and made sure chmod was 755
As you can see it looks as though the system is reading my new fstab config file
Code:
admin@ASNet-WIFI:/# find -name fstab
./jffs/configs/fstab
./tmp/etc/fstab
admin@ASNet-WIFI:/# cat /jffs/configs/fstab
/dev/sda1 /tmp/mnt/entware ext2 defaults,data=writeback,discard,rw,nodev,noatime 0 0
admin@ASNet-WIFI:/# cat /tmp/etc/fstab
/dev/sda1 /tmp/mnt/entware ext2 defaults,data=writeback,discard,rw,nodev,noatime 0 0
admin@ASNet-WIFI:/#
But it just doesn't take that as shown in the mount command above
The other thing which I saw in another post while searching (no answer to it either) was that on boot up it detects an ext4 file system as shown in the system logs and I have no idea why because I used makefs.ext2
Code:
Oct 13 14:46:57 hotplug[345]: USB /dev/sda1(ext4) failed to mount at the first try!
Oct 13 14:46:57 hotplug[345]: USB ext4 fs at /dev/sda1 mounted on /tmp/mnt/entware
Any help would be appreciated. I'd like to make my SD Card as fast as possible with the writeback option and last as long as possible with the discard mount option.
Thanks
Andy