Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jun 2015 20:14:39 GMT
From:      mihai@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r287178 - soc2015/mihai
Message-ID:  <201506162014.t5GKEdWN020851@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mihai
Date: Tue Jun 16 20:14:39 2015
New Revision: 287178
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=287178

Log:
  soc2015: mihai: minimal mtree file for booting FreeBSD on ARM

Added:
  soc2015/mihai/ramdisk.mtree

Added: soc2015/mihai/ramdisk.mtree
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ soc2015/mihai/ramdisk.mtree	Tue Jun 16 20:14:39 2015	(r287178)
@@ -0,0 +1,16 @@
+#mtree v2.0
+
+# Setting the default type to "dir" allows pathnames to be implicitly created
+# for components leading up to the file.
+/set type=dir mode=0755 uid=0 gid=0 flags=none
+
+./dev		type=dir mode=0555  flags=uarch
+./sbin/init	type=file mode=0555 contents="${ODIR}/sbin/init"
+./bin/sh	type=file mode=0555 contents="${ODIR}/rescue/rescue"
+
+# hard-links to the statically-linked  rescue binary (aka /bin/sh)
+./bin/sysctl	type=link mode=0555 link=/bin/sh
+./bin/reboot	type=link mode=0555 link=/bin/sh
+./bin/ls	type=link mode=0555 link=/bin/sh
+
+# ... etc. Put in as many as you want from /rescue/*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506162014.t5GKEdWN020851>