Posted: Sat Jul 24, 2021 6:21 Post subject: Automount USB on jffs is ext4 Netgear R7800
Hello,
I added USB flash drive for /jffs and /opt and noticed when automount is enabled, it mounts as ext4.
How to make it mount as ext2?
I tried disabling Automount and then manually mount -t ext2 -o noatime $(findfs LABEL=JFFS) /jffs but it said device not found.
Before posting in General forum i looked at forum structure and found lots of questions related to mount are in GQ forum:
From Forum rules topic i read this:
6. Post in the right forum, from the former step you can see if your router is Broadcom, Qualcomm/Atheros, Marvell or other, use that forum to post router specific questions, for networking questions (e.g. routing, vpn, firewall etc.) post in the Advanced Networking forum and for other things in the General Questions forum.
My question is not router specific, i ask for any router running dd-wrt and not build specific either. Nor i asked networking question so for all other things including automount i ask in GQ forum, correct me if i am wrong.
You do not know if it is router or model specific it could well be and as you did not state router model and build number I could not transfer it to the forum it actually should have been asked in
Joined: 08 May 2018 Posts: 14126 Location: Texas, USA
Posted: Sat Jul 24, 2021 11:45 Post subject:
This one was benign to be in General, however router model and build number information should have been provided, per the forum rules and guidelines and it would've been preferred to have been in the hardware-specific forum for the simple reason that each device (group) has specific configurations for kernel modules, packages included, etc. Even though it may seem like a "General" topic, it may not be; but the sticky at the top of General forum says that this forum is specifically not for device help. But, I've let my clicker do the clicking, and I presume this is on an R7800. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
root@Office:~# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
ramfs on /tmp type ramfs (rw,relatime)
none on /dev type tmpfs (rw,relatime,size=512k)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
ubi0:ddwrt on /jffs type ubifs (rw,relatime)
devpts on /proc/bus/usb type usbfs (rw,relatime)
/dev/sda2 on /jffs type ext4 (rw,noatime,nodiratime,nobarrier,init_itable=0)
/dev/sda1 on /opt type ext2 (rw,noatime)
/dev/sdb2 on /tmp/mnt/nas type ext4 (rw,noatime,nobarrier,data=ordered,init_itable=0)
//192.168.8.1/OFFICE_NAS on /tmp/mnt/sync type cifs (rw,relatime,vers=2.1,sec=ntlmssp,cache=strict,username=miro,domain=Office,uid=0,noforceuid,gid=0,noforcegid,
addr=192.168.8.1,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,
echo_interval=60,actimeo=1)
/jffs is ext4. /opt is ext2 In Administration > Commands i added a startup code that unmounts /opt and mounts back as ext2 but i can't do it with jffs. It can't be unmounted i guess resource busy and will investigate further (probably minidlna must be stopped and then jffs unmounted).
I wonder if i can avoid all this just by disabling automount and mount it manually with startup commands.
I guess i have to load kernel modules because on disabled automount it throws error Device not found while i see it in /dev/sdb and blkid.
I wonder if i can avoid all this just by disabling automount and mount it manually with startup commands.
I guess i have to load kernel modules because on disabled automount it throws error Device not found while i see it in /dev/sdb and blkid.