[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[RFC PATCH 1/3] Add '.log' to fsck log output file, and document its existence (Closes: #780352)



Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
 initramfs-tools.8 | 6 ++++++
 scripts/functions | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 1cbedd5..969aa1d 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -585,6 +585,12 @@ lsinitramfs /boot/initrd.img\-3.16\-3\-amd64
 .RE
 

+.SH FILES
+.TP
+.I /run/initramfs/fsck.log
+Log of fsck commands run within the initramfs, with their output.
+
+
 .SH AUTHOR
 The initramfs-tools are written by Maximilian Attems <maks@debian.org>,
 Jeff Bailey <jbailey@raspberryginger.com> and numerous others.
diff --git a/scripts/functions b/scripts/functions
index d2266da..b6cfb97 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -340,7 +340,7 @@ _checkfs_once()
 	if [ "$NAME" = "/" ] ; then
 		NAME="root"
 	fi
-	FSCK_LOGFILE=/run/initramfs/fsck
+	FSCK_LOGFILE=/run/initramfs/fsck.log
 
 	TYPE=$(get_fstype "$1")
 


-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: