🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: de.comp.os.unix.linux.misc
1 messages
1 total messages Started by Christian Garbs Fri, 16 Oct 2026 20:20
mke2fs (was: Re: LinuxMint zena :Alte HDD aus Windows ntfs auf ext4 formatieren und nutzen)
#363
Author: Christian Garbs
Date: Fri, 16 Oct 2026 20:20
47 lines
3069 bytes
Mahlzeit!

Sieghard Schicktanz <Sieghard.Schicktanz@schs.de.invalid> wrote:

> (Soweit ich zu wissen meine, wird eine Benutzerzuordnung für "/" bei Linux
> bzw. ext4 nicht beim Mount nicht berücksichtigt. Beim "mke2fs" kannn man
> jedenfalls keine Rechte angeben.)

Doch, das wird sie, sonst könnte man /home/$USER nicht auf eine eigene
Partition legen.  Das ist sogar ein anschauliches Beispiel, weil
(zumindest als ich das mal so hatte) der leere Mountpoint /home/$USER
root gehörte und nach dem Mounten gehörte das Verzeichnis dann $USER,
weil der halt in dem gemountedten Dateisystem Besitzer des
Wurzeleintrages war.

Ich wollte gerade schreiben, dass das nicht schlimm ist, wenn mke2fs
dafür keine Option hat, ZFS hat das auch nicht, muss man halt
nachträglich ein chown absetzen - aber:

mke2fs kann das!  Wusste ich bis eben noch gar nicht.

Aus der manpage mke2fs(8):
| OPTIONS
| […]
| -E extended-options
| […]
|     root_owner[=uid:gid]
|         Specify the numeric user and group ID of the root directory.
|         […]
|     root_perms[=permissions]
|         Specify the root directory permissions in octal format.
|         […]

Keine Ahnung, seit wann es das gibt. Das ist

| mke2fs 1.47.2 (1-Jan-2025)
|         Using EXT2FS Library version 1.47.2

aus Debian Trixie, e2fsprogs 1.47.2-3+b12

Gruß
Christian
-- 
....Christian.Garbs....................................https://www.cgarbs.de
<@Rjx> my uncle used to tell me that there were 3 rings of marriage
<@Rjx> the engagement ring, the wedding ring, and the suffering
                                                   (qdb.us #146181)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads