Port-amiga archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 1.5.1 miniroot broken?
On Wed, 18 Jul 2001, Lars Hecking wrote:
> Gunther Nikl writes:
>
> > If you mount / rw, delete the stampfile (its a dot file) and then start
> > the script again it should work fine.
> > Note: Its probably enough to mount / rw and start the script.
>
> How? I tried mount -u {root_device|/kern/root_device} /, but all fails
> because there is no fstab. /etc/fstab is linked to /tmp/fstab.shadow.
> Which for obvious reasons cannot exist.
>
> David Brownlee writes:
> > Is anyone interested in testing a simple patch for this?
> > You'll need to be able to build your own miniroot...
>
> Very interested. If I can build the miniroot under 1.5 somehow.
You should be able to run a 'make' from /usr/src/distrib
--
David/absolute -- www.netbsd.org: No hype required --
Index: distrib/amiga/miniroot/install.md
===================================================================
RCS file: /cvsroot/basesrc/distrib/amiga/miniroot/install.md,v
retrieving revision 1.11.8.3
diff -u -B -r1.11.8.3 install.md
--- distrib/amiga/miniroot/install.md 2000/11/15 19:49:14 1.11.8.3
+++ distrib/amiga/miniroot/install.md 2001/07/23 16:50:53
@@ -65,11 +65,14 @@
md_makerootwritable() {
# Mount root rw for convenience of the tester ;-)
- if [ ! -e /tmp/.root_writable ]; then
+ cp /dev/null /tmp/.root_writable_test >/dev/null 2>&1
+ if [ ! -e /tmp/.root_writable_test ]; then
__mount_kernfs
# XXX: Use /kern/rootdev instead?
mount -u /kern/rootdev / > /dev/null 2>&1
- cp /dev/null /tmp/.root_writable
+ else
+ # Remove file to avoid problems with restarting r/o
+ rm -f /tmp/.root_writable_test
fi
}
Home |
Main Index |
Thread Index |
Old Index