Sortix
Sortix Download Manual Development Source Code News Blog More
current nightly

NAME

initrdfs — view initialization ramdisk

SYNOPSIS

initrdfs [--check] initrd [ls [-a] path | cat path]

DESCRIPTION

initrdfs opens a initrd(7) made with mkinitrd(8) and lets you view the stored directories and files.
The options are as follows:
-a
(ls) Include directory entries whose names begin with a dot (‘.’).
--check
Exit unsucessfully if the checksum is invalid.
initrdfs supports these commands:
ls
List the directory path.
cat
Show the contents of the file path.

EXIT STATUS

initrdfs will exit 0 on success and non-zero otherwise.

SEE ALSO

initrd(7), mkinitrd(8)

BUGS

initrdfs is severely feature limited and doesn't actually let you extract an initrd or view all the contained meta information. It's also not a filesystem driver.
Copyright 2011-2025 Jonas 'Sortie' Termansen and contributors.
Sortix's source code is free software under the ISC license.
#sortix on irc.sortix.org
@sortix_org