Article View: de.comp.os.unix.linux.misc
Article #363mke2fs (was: Re: LinuxMint zena :Alte HDD aus Windows ntfs auf ext4 formatieren und nutzen)
From: Christian Garbs
Date: Fri, 16 Oct 2026 20:20
Date: Fri, 16 Oct 2026 20:20
47 lines
3069 bytes
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)
Technical Details
Message-ID:
<11au0uv$d2nc$2@yggdrasil.dn.cgarbs.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.cgarbs.de!yggdrasil.dn.cgarbs.de!.POSTED.localhost!not-for-mailReferences:
<nh1q3aFtka9U1@mid.individual.net> <118gdd2$6irv$1@dont-email.me> <nh1u09Fu75sU1@mid.individual.net> <slrn11ank4l.15v3t.hjp-usenet4@trintignant.hjp.at> <nh245qFktdU1@mid.individual.net> <slrn11annr8.17s2g.hjp-usenet4@trintignant.hjp.at> <nh26upF12usU1@mid.individual.net> <slrn11ao2nu.1cii6.hjp-usenet4@trintignant.hjp.at> <3pqtnm-c9f.ln1@news.martinen.de> <20260918215508.72c33cac@Achmuehle.WOR>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.cgarbs.de!yggdrasil.dn.cgarbs.de!.POSTED.localhost!not-for-mail
From: Christian Garbs <mitch@cgarbs.de>
Newsgroups: de.comp.os.unix.linux.misc
Subject: mke2fs (was: Re: LinuxMint zena :Alte HDD aus Windows ntfs auf ext4 formatieren und nutzen)
Date: Fri, 16 Oct 2026 20:20:47 -0000 (UTC)
Organization: ya mine owne server
Message-ID: <11au0uv$d2nc$2@yggdrasil.dn.cgarbs.de>
References: <nh1q3aFtka9U1@mid.individual.net> <118gdd2$6irv$1@dont-email.me> <nh1u09Fu75sU1@mid.individual.net> <slrn11ank4l.15v3t.hjp-usenet4@trintignant.hjp.at> <nh245qFktdU1@mid.individual.net> <slrn11annr8.17s2g.hjp-usenet4@trintignant.hjp.at> <nh26upF12usU1@mid.individual.net> <slrn11ao2nu.1cii6.hjp-usenet4@trintignant.hjp.at> <3pqtnm-c9f.ln1@news.martinen.de> <20260918215508.72c33cac@Achmuehle.WOR>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 16 Oct 2026 20:20:47 -0000 (UTC)
Injection-Info: yggdrasil.dn.cgarbs.de; posting-host="localhost:127.0.0.1";
logging-data="428780"; mail-complaints-to="mitch@cgarbs.de"
User-Agent: tin/2.6.5-20250409 ("Helmsdale") (Linux/6.12.111+deb13-amd64 (x86_64))
Cancel-Lock: sha1:GC4IFrWy8/HfxMwq6l89qGvdP4U=