33 Commits (232b7aa65ba1c274fa2063680882a0f73731fcdd)

Author SHA1 Message Date
Jo-Philipp Wich 2419c1370a block-mount: add missing chunk of previous commit 13 years ago
Jo-Philipp Wich 88866c9484 block-mount: invoke blkid without cache file, this seems to fix mounts by uuid or label 13 years ago
Felix Fietkau 904ecc2159 block-mount: do not auto-mount anonymous mtdblock devices (fixes #10960, #10850) 13 years ago
Daniel Dickinson c4e9e4d27e block-mount: Fixed module loading (double cat is wrong) 13 years ago
Nicolas Thill 3bcb16b305 package/blockmount: simplify extroot module loading logic 13 years ago
Jo-Philipp Wich a434ed2fc6 block-mount: remove explicit lock waits, solves some potential race conditions 14 years ago
Mirko Vogt 4798e27247 Revert "[package/block-mount] remove example config file" 14 years ago
Mirko Vogt 4cbdfb6d92 remove example config file 14 years ago
Daniel Dickinson abf0b4b9a2 block-mount: Reverting 26503. Was already fixed in a better way in commit 26474. 14 years ago
Vasilis Tsiligiannis 5f6a87f6c4 block-mount: fsck.sh should only call pi_include() if dir /lib/functions/fsck exists. 14 years ago
Daniel Dickinson d5542b4f59 block-mount base-files: Added additional check to pi_include to ensure that 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. 14 years ago
Daniel Dickinson b62e95c11b block-mount: Revert 26468: it causes a kernel panic due to pi_include failing due to the included directory being empty. 14 years ago
Daniel Dickinson c319b73399 block-mount: Removed duplicated directory creation in the package install section. The duplicates were a result of the mergin the block-* packages. 14 years ago
Daniel Dickinson 581793d2c4 block-mount: Fixed warning of missing /lib/functions/fsck during boot when no scripts are installed in the directory. Thanks to Maarten Bezemer. 14 years ago
Daniel Dickinson 7f8fb5cb78 block-mount: Merged block-mount, block-extroot, and block-hotplug into a single binary package called block-mount. 14 years ago
Daniel Dickinson 657d0a265c block-mount block-extroot: Bump packages versions forgetten during previous two commits 14 years ago
Daniel Dickinson 9298073e80 block-mount block-extroot: Add commands /etc/init.d/fstab overlay_enable and /etc/init.d/fstab whole_root_enable to renable a disable rootfs. 14 years ago
Daniel Dickinson 544d1c045e block-mount block-extroot: Rename /tmp/rom-disabled to /tmp/whole_root-dsibled for disabled mounts of a non-overlay external rootfs. 14 years ago
Daniel Dickinson 4c85b8562d block-mount busybox: Removed busybox versions of blkid and swap-utils since 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. 14 years ago
Daniel Dickinson 9d0b7371e8 block-mount: Changed default filesystem for /e/c/fstab to be ext4 instead of ext3 14 years ago
Daniel Dickinson 183b4d1a28 extroot: block-mount block-extroot: Added ability to do a whole disk extroot instead of only an overlay-based extroot. 14 years ago
Daniel Dickinson 47370c1fa4 block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable 14 years ago
Daniel Dickinson db0bff2724 block-mount,block-extroot: Modify mount.sh so that block-extroot mounts target /overlay as rootfs (use if is_rootfs is now deprecated) when block-extroot is installed, and as /tmp/overlay-disabled otherwise 14 years ago
Jo-Philipp Wich 613a513fe4 block-mount: fix fstab.init for IB and buildroot 14 years ago
Daniel Dickinson 18b473ca9b base/block-extroot, base/block-mount: Modified preinit and block-extroot and 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. 14 years ago
Daniel Dickinson b9dfb5d483 block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled. 15 years ago
Daniel Dickinson 117590a2ce block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use. 15 years ago
Daniel Dickinson b6d521ea33 block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599. 15 years ago
Daniel Dickinson d9e8e8b4ec block-extroot, block-mount: Fixed multiple bugs which prevented e2fsck from 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). 15 years ago
Daniel Dickinson e56dcdcffd block-mount: Fixed mount deadlocks due to buggy use of locks in /lib/functions/block.sh 15 years ago
Nicolas Thill ed4a1186c6 package/block-mount: mark /etc/config/fstab as conffiles (closes: #7130) 15 years ago
Nicolas Thill a98a5a907a package/block-mount: disable config options altering busybox configuration, fix dependencies 15 years ago
Felix Fietkau bfeb96126d add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality 15 years ago