e2mkdir(1)

e2mkdir1

Creates a directory on an ext2 filesystem

Usage

e2mkdir [options] directory ...

Overview

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

Releases

11 releases since Debian 3.1 (Sarge); the text changed 2 times.

  1. 3.1–5.0
  2. 6.0–10
  3. 11–13

Author

The e2tools were written by Keith Sheffield <[email protected]>.

This manual page was written by Lucas Wall <[email protected]>, for the Debian project (but may be used by others).

From e2tools 0.1.2-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.