aboutsummaryrefslogtreecommitdiffstats
path: root/package/block-mount/files
Commit message (Collapse)AuthorAgeFilesLines
* block-mount: additionally try to umount disk by mountpoint (#12056)Jo-Philipp Wich2012-09-101-1/+3
| | | | SVN-Revision: 33357
* Fix extroot by UUIDJo-Philipp Wich2012-07-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | Extroot works fine when the target device is specified by a path. It fails however if the device is specified by UUID (the target partition gets mounted much later by hotplug hooks). This is because the blkid command is no longer compiled into BusyBox (since changeset [1]) so it's unavailable for the preinit phase. The closest bug report I was able to find is [2], although the reporting person mentions that /tmp/overlay-disabled showed up which wasn't there in my case. This patch sets PATH and LD_LIBRARY_PATH environment variables so that the blkid command installed on the target device can be used by that particular preinit script. [1] https://dev.openwrt.org/changeset/26245 [2] https://dev.openwrt.org/ticket/10653 Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com> SVN-Revision: 32567
* /etc/functions.sh => /lib/functions.shJo-Philipp Wich2012-06-051-1/+1
| | | | SVN-Revision: 32062
* block-mount: add missing chunk of previous commitJo-Philipp Wich2012-03-211-1/+1
| | | | SVN-Revision: 31050
* block-mount: do not auto-mount anonymous mtdblock devices (fixes #10960, #10850)Felix Fietkau2012-02-131-2/+7
| | | | SVN-Revision: 30501
* block-mount: Fixed module loading (double cat is wrong)Daniel Dickinson2011-11-021-1/+1
| | | | SVN-Revision: 28717
* package/blockmount: simplify extroot module loading logicNicolas Thill2011-10-281-3/+4
| | | | SVN-Revision: 28650
* block-mount: remove explicit lock waits, solves some potential race conditionsJo-Philipp Wich2011-06-192-26/+20
| | | | SVN-Revision: 27226
* Revert "[package/block-mount] remove example config file"Mirko Vogt2011-06-081-0/+20
| | | | | | This isn't needed anymore due to commit 27138 SVN-Revision: 27139
* remove example config fileMirko Vogt2011-06-081-20/+0
| | | | | | | | Having this file prevents the possibility of having target-specific fstab config files (as target/linux/${target}/base-files/etc/config/fstab). There is no need of a non-working example file on the target anyway. SVN-Revision: 27136
* block-mount: Reverting 26503. Was already fixed in a better way in commit 26474.Daniel Dickinson2011-04-071-1/+1
| | | | SVN-Revision: 26505
* block-mount: fsck.sh should only call pi_include() if dir ↵Vasilis Tsiligiannis2011-04-061-1/+1
| | | | | | | | | | | | | | | | | /lib/functions/fsck exists. /etc/functions.sh:pi_include() checks if the argument exists and prints a warning if not. To prevent this warning if package block-mount is installed but not package e2fsprogs, the script should check if this directory exists before calling pi_include() A wrong patch to suppress this warning was previously posted with subject: [PATCH] Fix typo in name of to be included file Signed-off-by: Mark Vels <mark.vels@team-embedded.nl> SVN-Revision: 26503
* block-mount: Merged block-mount, block-extroot, and block-hotplug into a ↵Daniel Dickinson2011-03-274-0/+183
| | | | | | single binary package called block-mount. SVN-Revision: 26314
* block-mount block-extroot: Add commands /etc/init.d/fstab overlay_enable and ↵Daniel Dickinson2011-03-271-0/+25
| | | | | | /etc/init.d/fstab whole_root_enable to renable a disable rootfs. SVN-Revision: 26312
* block-mount block-extroot: Rename /tmp/rom-disabled to ↵Daniel Dickinson2011-03-271-1/+1
| | | | | | /tmp/whole_root-dsibled for disabled mounts of a non-overlay external rootfs. SVN-Revision: 26311
* block-mount: Changed default filesystem for /e/c/fstab to be ext4 instead of ↵Daniel Dickinson2011-03-141-1/+1
| | | | | | ext3 SVN-Revision: 26156
* extroot: block-mount block-extroot: Added ability to do a whole disk extroot ↵Daniel Dickinson2011-03-131-0/+7
| | | | | | instead of only an overlay-based extroot. SVN-Revision: 26109
* block-mount: Fixed shell error on empty string due to -eq to number for the ↵Daniel Dickinson2011-02-281-3/+3
| | | | | | optional find_root variable SVN-Revision: 25787
* block-mount,block-extroot: Modify mount.sh so that block-extroot mounts ↵Daniel Dickinson2011-02-281-4/+13
| | | | | | target /overlay as rootfs (use if is_rootfs is now deprecated) when block-extroot is installed, and as /tmp/overlay-disabled otherwise SVN-Revision: 25786
* block-mount: fix fstab.init for IB and buildrootJo-Philipp Wich2010-10-071-2/+5
| | | | SVN-Revision: 23296
* base/block-extroot, base/block-mount: Modified preinit and block-extroot and ↵Daniel Dickinson2010-09-232-3/+3
| | | | | | | | block-mount so that use of block-mount and block-extroot do not require that block-extroot, block-mount, nor the kernel modules they depend, on are required to included in the image. That is block-extroot and dependencies may now be installed as modules onto the jffs2 part of a squashfs system and it will work. In addition packages which are installed into the jffs2 of a squashfs system may now affect preinit, so long as they do not require execution of commands that occur before the merging of the jffs2 and built-in (squashfs) preinit scripts is done. Thanks jow for the preinit merge stuff! SVN-Revision: 23110
* block-mount: Attempt swapon a after mounting as well as before. This ensures ↵Daniel Dickinson2010-07-121-0/+1
| | | | | | that swap on a filesystem is enabled. SVN-Revision: 22150
* block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where ↵Daniel Dickinson2010-07-121-3/+7
| | | | | | /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use. SVN-Revision: 22148
* block-mount: Enable swap before doing fsck so that large filesystem checks ↵Daniel Dickinson2010-07-121-1/+1
| | | | | | have swap as well as memory (as they take large memory for large partitions). Closes #7599. SVN-Revision: 22147
* block-extroot, block-mount: Fixed multiple bugs which prevented e2fsck from ↵Daniel Dickinson2010-06-302-16/+12
| | | | | | being executed on the external root filesystem before mounting it as root. Added /etc/e2fsck.conf which indicates that the clock is broken (since most OpenWRT devices don't have a battery backed RTC) so that e2fsck will not exit with fatal error when the rdat has not yet been run (i.e. before network). SVN-Revision: 22002
* block-mount: Fixed mount deadlocks due to buggy use of locks in ↵Daniel Dickinson2010-06-291-14/+20
| | | | | | /lib/functions/block.sh SVN-Revision: 21987
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵Felix Fietkau2010-02-268-0/+709
automount functionality SVN-Revision: 19877