From 21d093b1fa4dbe5bcc020180eb4671a4140e4433 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 25 Jun 2023 20:54:37 +0200 Subject: [PATCH] initrd: Rename test-ext2fs to mount-ext2fs --- initrd/etc/init/02-ext2fs | 2 +- initrd/sbin/mount-ext2fs | 2 ++ initrd/sbin/test-ext2fs | 4 ---- 3 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 initrd/sbin/mount-ext2fs delete mode 100644 initrd/sbin/test-ext2fs diff --git a/initrd/etc/init/02-ext2fs b/initrd/etc/init/02-ext2fs index eeaf3c3e..a03c3bce 100644 --- a/initrd/etc/init/02-ext2fs +++ b/initrd/etc/init/02-ext2fs @@ -1,3 +1,3 @@ Name=ext2fs -Script=/sbin/test-ext2fs +Script=/sbin/mount-ext2fs Wait=true diff --git a/initrd/sbin/mount-ext2fs b/initrd/sbin/mount-ext2fs new file mode 100644 index 00000000..94bdf961 --- /dev/null +++ b/initrd/sbin/mount-ext2fs @@ -0,0 +1,2 @@ +mkdir /mnt +mount -t ext2 /dev/cd0p2 /mnt diff --git a/initrd/sbin/test-ext2fs b/initrd/sbin/test-ext2fs deleted file mode 100644 index e172354c..00000000 --- a/initrd/sbin/test-ext2fs +++ /dev/null @@ -1,4 +0,0 @@ -# (for testing) Remove this automatic mount once ext2 is working. - -mkdir /mnt -mount -t ext2 /dev/cd0p2 /mnt