From 2fbc9e84f3a96967b6e64017136b44f60d19cd1c Mon Sep 17 00:00:00 2001 From: Xiangfu Date: Wed, 20 Jun 2012 11:31:52 +0800 Subject: [PATCH] milkymist: files: automatic mount exroot at /dev/sda1 --- .../{data/m1 => }/files/etc/config/dhcp | 0 .../{data/m1 => }/files/etc/config/firewall | 0 milkymist-files/files/etc/config/fstab | 19 +++++++++++++++++++ .../{data/m1 => }/files/etc/config/network | 0 .../{data/m1 => }/files/etc/config/uhttpd | 0 5 files changed, 19 insertions(+) rename milkymist-files/{data/m1 => }/files/etc/config/dhcp (100%) rename milkymist-files/{data/m1 => }/files/etc/config/firewall (100%) create mode 100644 milkymist-files/files/etc/config/fstab rename milkymist-files/{data/m1 => }/files/etc/config/network (100%) rename milkymist-files/{data/m1 => }/files/etc/config/uhttpd (100%) diff --git a/milkymist-files/data/m1/files/etc/config/dhcp b/milkymist-files/files/etc/config/dhcp similarity index 100% rename from milkymist-files/data/m1/files/etc/config/dhcp rename to milkymist-files/files/etc/config/dhcp diff --git a/milkymist-files/data/m1/files/etc/config/firewall b/milkymist-files/files/etc/config/firewall similarity index 100% rename from milkymist-files/data/m1/files/etc/config/firewall rename to milkymist-files/files/etc/config/firewall diff --git a/milkymist-files/files/etc/config/fstab b/milkymist-files/files/etc/config/fstab new file mode 100644 index 0000000..b2c8def --- /dev/null +++ b/milkymist-files/files/etc/config/fstab @@ -0,0 +1,19 @@ +config global automount + option from_fstab 1 + option anon_mount 1 + +config global autoswap + option from_fstab 1 + option anon_swap 0 + +config mount + option target /overlay + option device /dev/sda1 + option fstype ext4 + option options rw,sync + option enabled 1 + option enabled_fsck 0 + +config swap + option device /dev/sda2 + option enabled 1 diff --git a/milkymist-files/data/m1/files/etc/config/network b/milkymist-files/files/etc/config/network similarity index 100% rename from milkymist-files/data/m1/files/etc/config/network rename to milkymist-files/files/etc/config/network diff --git a/milkymist-files/data/m1/files/etc/config/uhttpd b/milkymist-files/files/etc/config/uhttpd similarity index 100% rename from milkymist-files/data/m1/files/etc/config/uhttpd rename to milkymist-files/files/etc/config/uhttpd