Linux repositories inspector

e2mkdir(1)

Linux
2020-02-05

e2tools

utilities for manipulating files in an ext2/ext3 filesystem

NAME

e2mkdir - creates a directory on an ext2 filesystem

SYNOPSIS

e2mkdir [options] directory...

DESCRIPTION

The e2mkdir command creates directories on an ext2 filesystem. It behaves similar to ‘mkdir -p’.

OPTIONS

-G gid Set the default group to gid.
-O uid Set the default file owner to uid.
-P mode Set the file permissions (ie 755, 666).
-v Be verbose.

Note

This program expects to have a full ext2 file specification for each argument.

EXAMPLES

This creates the directory ‘/boot/grub‘ with on ‘boot.img‘ with the current user and group ids:
e2mkdir boot.img:/boot/grub
To override the default ownership and permissions:
e2mkdir -O 100 -P 700 /dev/hdb1:/data/backup

AUTHOR

The e2tools were written by Keith Sheffield <>.
This manual page was written by Lucas Wall <>, for the Debian project (but may be used by others).
⇧ Top