1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/mkinitrd/initrdfs.8

68 lines
1.1 KiB
Groff
Raw Normal View History

2017-06-03 15:27:30 -04:00
.Dd October 7, 2015
2015-10-07 15:24:39 -04:00
.Dt INITRDFS 8
.Os
.Sh NAME
.Nm initrdfs
.Nd view initialization ramdisk
.Sh SYNOPSIS
2017-05-19 17:40:06 -04:00
.Nm
.Ar initrd
cat
.Ar path ...
.Nm
.Ar initrd
extract
.Op Fl C Ar destination
.Ar path ...
.Nm
2015-10-07 15:24:39 -04:00
.Ar initrd
ls
.Op Fl a
2017-05-19 17:40:06 -04:00
.Ar path ...
2015-10-07 15:24:39 -04:00
.Sh DESCRIPTION
.Nm
opens a
.Xr initrd 7
made with
.Xr mkinitrd 8
and lets you view the stored directories and files.
.Pp
The options are as follows:
.Bl -tag -width "12345678"
.It Fl a
.Sy ( ls )
Include directory entries whose names begin with a
dot
.Pq Sq \&. .
2017-05-19 17:40:06 -04:00
.It Fl C Ar destination
.Sy ( extract )
Extract to the specified
.Ar destination
rather than the default current directory.
2015-10-07 15:24:39 -04:00
.El
.Pp
.Nm
supports these commands:
2017-05-19 17:40:06 -04:00
.Bl -tag -width "12345678"
2015-10-07 15:24:39 -04:00
.It Sy cat
2017-05-19 17:40:06 -04:00
Show the contents of each
.Ar path .
.It Sy extract
Extract each
.Ar path
recursively to the current directory.
.It Sy ls
List each directory
.Ar path .
2015-10-07 15:24:39 -04:00
.El
.Sh EXIT STATUS
.Nm
will exit 0 on success and non-zero otherwise.
.Sh SEE ALSO
.Xr initrd 7 ,
.Xr mkinitrd 8
.Sh BUGS
.Nm
2017-05-19 17:40:06 -04:00
is feature limited and doesn't let you view all the contained meta information.
It's also not a filesystem driver.