summaryrefslogtreecommitdiff
path: root/package/block-mount
Commit message (Collapse)AuthorAgeFilesLines
* block-mount: add a delay between sto pand start in fstab init restart ↵Jo-Philipp Wich2012-12-192-2/+6
| | | | | | action, fixes a lock race condition observed in VirtualBox SVN-Revision: 34784
* block-mount: additionally try to umount disk by mountpoint (#12056)Jo-Philipp Wich2012-09-102-2/+4
| | | | 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: invoke blkid without cache file, this seems to fix mounts by ↵Jo-Philipp Wich2012-03-211-2/+2
| | | | | | uuid or label SVN-Revision: 31049
* 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-282-6/+7
| | | | SVN-Revision: 28650
* block-mount: remove explicit lock waits, solves some potential race conditionsJo-Philipp Wich2011-06-193-27/+21
| | | | SVN-Revision: 27226
* Revert "[package/block-mount] remove example config file"Mirko Vogt2011-06-082-0/+22
| | | | | | This isn't needed anymore due to commit 27138 SVN-Revision: 27139
* remove example config fileMirko Vogt2011-06-082-22/+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 base-files: Added additional check to pi_include to ensure that ↵Daniel Dickinson2011-04-051-2/+2
| | | | | | a directory used with pi_include actually contains files matching the souring pattern because if not the shell dies due to an empty string in for statement. Added /lib/functions/fsck as an empty dir to block-mount. This combination fixes a warning which generates a lot of bug reports, without panicking the kernel like the last attempt. SVN-Revision: 26479
* block-mount: Revert 26468: it causes a kernel panic due to pi_include ↵Daniel Dickinson2011-04-051-2/+2
| | | | | | failing due to the included directory being empty. SVN-Revision: 26476
* block-mount: Removed duplicated directory creation in the package install ↵Daniel Dickinson2011-04-041-4/+1
| | | | | | section. The duplicates were a result of the mergin the block-* packages. SVN-Revision: 26469
* block-mount: Fixed warning of missing /lib/functions/fsck during boot when ↵Daniel Dickinson2011-04-041-1/+2
| | | | | | no scripts are installed in the directory. Thanks to Maarten Bezemer. SVN-Revision: 26468
* block-mount: Merged block-mount, block-extroot, and block-hotplug into a ↵Daniel Dickinson2011-03-276-16/+220
| | | | | | single binary package called block-mount. SVN-Revision: 26314
* block-mount block-extroot: Bump packages versions forgetten during previous ↵Daniel Dickinson2011-03-271-1/+1
| | | | | | two commits SVN-Revision: 26313
* 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 busybox: Removed busybox versions of blkid and swap-utils since ↵Daniel Dickinson2011-03-201-0/+1
| | | | | | they are only used by block-mount and block-extroot, and those packages don't have as much need for the image space-savings of busybox versions, especially at the cost of including it in all images even those with no external storage. SVN-Revision: 26245
* 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
* package/block-mount: mark /etc/config/fstab as conffiles (closes: #7130)Nicolas Thill2010-04-151-1/+5
| | | | SVN-Revision: 20875
* package/block-mount: disable config options altering busybox configuration, ↵Nicolas Thill2010-04-061-24/+1
| | | | | | fix dependencies SVN-Revision: 20727
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ↵Felix Fietkau2010-02-269-0/+795
automount functionality SVN-Revision: 19877