[LEDE-DEV] [LEDE-DEV,fstools] mount_extroot: repeat detection for slow devices

sam_ at centrum.sk sam_ at centrum.sk
Sat Feb 10 08:09:05 PST 2018


Thanks for responding, I've tried that. As I stated, until some time there was no problem for this SD card+4G dongle to be found even with single 5 second delay. Then after (what I suspect) electricity blackout, mount_extroot was not able to find corresponding device no matter how much time I assigned to delay_root. But upon full boot up, device was there, I could mount its fs (tried both f2fs and ext4) and read/write files. Only with repeated calls to make_devs() this card+dongle combination is properly detected for mount_extroot to complete successfully. Should that matter/help dongle is huawei_E3372h-153 with 8GB SanDisk microSD.
 
sam_
______________________________________________________________
> Od: Jonas Gorski <jonas.gorski at gmail.com>
> Komu: sam_ at centrum.sk
> Dátum: 10.02.2018 14:14
> Predmet: Re: [LEDE-DEV] [LEDE-DEV,fstools] mount_extroot: repeat detection for
>
> CC: <lede-dev at lists.infradead.org>
On 10 February 2018 at 13:41,  <sam_ at centrum.sk> wrote:
 > I'm using extroot on SD card in 4G dongle attached to USB of my TP-Link Archer C2. For reasons unknown to me it started to take more than 10 seconds to show among devices, this patch adds 2 more detection attempts/delays to already existing 5s.
 
 Just set delay_root to an appropriate value, as mentioned in
 https://wiki.openwrt.org/doc/uci/fstab#example_configuration

 
 Regards
 Jonas



More information about the Lede-dev mailing list