1E2MKDIR(1) User commands E2MKDIR(1)
2
3
4
6 e2mkdir - creates a directory on an ext2 filesystem
7
9 e2mkdir [options] directory...
10
12 The e2mkdir command creates directories on an ext2 filesystem. It
13 behaves similar to `mkdir -p'.
14
16 -G gid Set the default group to gid.
17
18 -O uid Set the default file owner to uid.
19
20 -P mode
21 Set the file permissions (ie 755, 666).
22
23 -v Be verbose.
24
25 Note
26 This program expects to have a full ext2 file specification for each
27 argument.
28
30 This creates the directory `/boot/grub` with on `boot.img` with the
31 current user and group ids:
32
33 e2mkdir boot.img:/boot/grub
34
35 To override the default ownership and permissions:
36
37 e2mkdir -O 100 -P 700 /dev/hdb1:/data/backup
38
40 e2tools(7), e2ln(1), e2ls(1), e2mv(1), e2cp(1), e2rm(1), e2tail(1).
41
43 The e2tools were written by Keith Sheffield <sheff@pobox.com>.
44
45 This manual page was written by Lucas Wall <lwall@debian.org>, for the
46 Debian project (but may be used by others).
47
48
49
50Linux 2020-02-05 E2MKDIR(1)