Commit graph

12 commits

Author SHA1 Message Date
Daniel Dickinson
9d0b7371e8 block-mount: Changed default filesystem for /e/c/fstab to be ext4 instead of ext3
SVN-Revision: 26156
2011-03-14 02:12:38 +00:00
Daniel Dickinson
183b4d1a28 extroot: block-mount block-extroot: Added ability to do a whole disk extroot instead of only an overlay-based extroot.
SVN-Revision: 26109
2011-03-13 09:24:24 +00:00
Daniel Dickinson
47370c1fa4 block-mount: Fixed shell error on empty string due to -eq to number for the optional find_root variable
SVN-Revision: 25787
2011-02-28 01:46:46 +00:00
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
SVN-Revision: 25786
2011-02-28 01:46:24 +00:00
Jo-Philipp Wich
613a513fe4 block-mount: fix fstab.init for IB and buildroot
SVN-Revision: 23296
2010-10-07 15:15:54 +00:00
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.
Thanks jow for the preinit merge stuff!

SVN-Revision: 23110
2010-09-23 13:58:05 +00:00
Daniel Dickinson
b9dfb5d483 block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
SVN-Revision: 22150
2010-07-12 17:28:50 +00:00
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.
SVN-Revision: 22148
2010-07-12 16:35:39 +00:00
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.
SVN-Revision: 22147
2010-07-12 16:25:09 +00:00
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).
SVN-Revision: 22002
2010-06-30 23:09:13 +00:00
Daniel Dickinson
e56dcdcffd block-mount: Fixed mount deadlocks due to buggy use of locks in /lib/functions/block.sh
SVN-Revision: 21987
2010-06-29 10:07:45 +00:00
Felix Fietkau
bfeb96126d add the block-mount package by Daniel Dickinson (cshore), replacing existing automount functionality
SVN-Revision: 19877
2010-02-26 22:45:39 +00:00