aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/fstools/files
Commit message (Collapse)AuthorAgeFilesLines
* fstools: update to latest Git HEADJo-Philipp Wich2019-08-281-2/+2
| | | | | | | | | 6a61b9a probe: fallback to libblkid.so.1 when libblkid.so does not exist Also remove deprecation notices from init script while we're at it. Fixes: FS#2274 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: block-mount: fix restart of fstab serviceKarel Kočí2019-06-211-0/+4
| | | | | | | | | | | | | | | Restarting service causes file-systems to be unmounted without being mounted back. When this service was obsoleted it should have been implemented in a way that all actions are ignored. Up to this commit default handler was called when restart was requested. This default handler just simply calls stop and start. That means that stop called unmount but start just printed that this service is obsoleted. This instead implements restart that just prints same message like start does. It just calls start in reality. This makes restart unavailable for call. Signed-off-by: Karel Kočí <karel.koci@nic.cz>
* fstools: media change detection (eg:sdcard) using kernel pollingMatthias Badaire2019-01-221-0/+8
| | | | | | | | | | | | | | | | | | | Linux kernel has a polling mechanism that can be activated by changing the parameter /sys/module/block/parameters/events_dfl_poll_msecs which is deactivated by default or the /sys/block/[device]/events_poll_msecs for one device. This patch set the events_poll_msecs when a disk is inserted. Once the media disk change event is sent by the kernel then we force a re-read of the devices using /sbin/block info. With this patch, insertion and ejection of sd card will automatically generate partition devices in /dev. Signed-off-by: Matthias Badaire <mbadaire@gmail.com> [rewrap commit message, fix bashisms, fix non-matching condition, bump pkg release] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* fstools: filter unknown action in mount.hotplug scriptRosy Song2018-10-071-1/+1
| | | | Signed-off-by: Rosy Song <rosysong@rosinson.com>
* fstools: snapshot: handle jffs2 conversion using upgradedMatthias Schiffer2017-05-291-6/+8
| | | | | | | We can reuse the kill_remaining and run_ramfs facilities of the stage2 run by upgraded. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: clean up trailing whitespace in snapshot scriptMatthias Schiffer2017-05-291-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* fstools: add blockdJohn Crispin2017-03-061-0/+21
| | | | | | this daemon replaces mountd. Signed-off-by: John Crispin <john@phrozen.org>
* fstools: remove bogus warning in the fstab scriptJohn Crispin2016-06-131-4/+6
| | | | | | | | | | | | | /etc/init.d/fstab had some warnings in it to let users know that they should call "block mount" directly. these ended up in the bootlog. fix this by splitting the code into boot() and start(). this way the system will boot without warning but manually starting the script will lead to the message. fixes FS#3 Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: John Crispin <john@phrozen.org>
* fstools: fix snapshot supportJohn Crispin2016-04-291-4/+4
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* fstools: fstab.init fix spellingJohn Crispin2015-07-081-2/+2
| | | | | | | | fix a very minor typo in warning message Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> SVN-Revision: 46273
* fstools: fix exit code of uci-defaults scriptJo-Philipp Wich2015-01-281-0/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44180
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-141-3/+3
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* fstools: update to latest git HEADJohn Crispin2014-04-074-15/+6
| | | | | | | | this adds the /sbin/ubi tool that can be used for sysupgrading ubi volumes Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40415
* fstools: scripts should propagate the cmdlineJohn Crispin2014-04-052-2/+2
| | | | | | Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 40383
* fs-tools: add back mount_root, jffs2reset and ffs2mark functionalityJohn Crispin2014-03-253-0/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 40018
* fstools: add the new fstools packageJohn Crispin2014-03-124-0/+127
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39895