This is a multi-part message in MIME format.
[resent from my subscribed email]
"mkfs.ext4 /dev/sda" will create/format an ext4 partition taking up the
entire device, which will then easily be automounted.
"mkfs.ext4 /dev/sda1" can work, but only if you have already created a partition table on /dev/sda and created at least one partition in it.
It probably won't automount because the system doesn't know which of the possibly several partitions on the device should be mounted, but I
haven't tested.
On 10/23/24 10:34 PM, syscon edm wrote:
It was my error, the command should be:
mkfs.ext4 /dev/sda
The usb was auto-mounted as soon as the command finished.
It has been some time since I run it, but looking at some
documentation on-line a lot of instructions show to run:
sudo mkfs.ext4 /dev/sdX1
eg: https://unix.stackexchange.com/questions/422656/how-to-make-an-ext4-formatted-usb-drive-with-full-rw-permissions-for-any-linux-m
Even Google AI if one search: "gentoo format usb as ext4"
it shows to run:
sudo mkfs -t ext4 /dev/sdb1
this will work but the disk will not automount in XFCE,
it should be:
sudo mkfs.ext4 /dev/sdX
On Wed, Oct 23, 2024 at 8:20 PM Mitchell Dorrell <[email protected]> wrote:
On Wed, Oct 23, 2024, 20:35 syscon edm <[email protected]> wrote:
I format usb as ext4
mkfs.ext4 /dev/sda1
but XFCE does not automount the partition
my other usb (ext4 as well) shows up automatically under
/run/media/joseph/disk_name
I think you're correct that if something is automounting your USB
storage device, it's probably XFCE (or some part of it).
I don't personally use XFCE, but I'm sure others here probably do.
If you don't get any responses on this mailing list, then perhaps
try the #gentoo-xfce IRC channel. If that's also quiet, you might
try another venue that focuses specifically on XFCE, such as the
official XFCE links at https://www.xfce.org/community .
-Mitchell Dorrell
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>[resent from my subscribed email]<br>
</p>
<p>"mkfs.ext4 /dev/sda" will create/format an ext4 partition taking
up the entire device, which will then easily be automounted.</p>
<p>"mkfs.ext4 /dev/sda1" can work, but only if you have already
created a partition table on /dev/sda and created at least one
partition in it. It probably won't automount because the system
doesn't know which of the possibly several partitions on the
device should be mounted, but I haven't tested.</p>
<p></p>
<div class="moz-cite-prefix">On 10/23/24 10:34 PM, syscon edm wrote:<br>
</div>
<blockquote type="cite" cite="mid:
CAEVFJ_D+V2_7-VZ6NQp04eQT1RiFUNTpLkwXZU6441k-d18pMA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">It was my error, the command should be:
<div>mkfs.ext4 /dev/sda<br>
</div>
<div>The usb was auto-mounted as soon as the command finished.</div>
<div><br>
</div>
<div>It has been some time since I run it, but looking at some
documentation on-line a lot of instructions show to run:</div>
<div>sudo mkfs.ext4 /dev/sdX1<br>
</div>
<div><br>
</div>
<div>eg:</div>
<div><a href="
https://unix.stackexchange.com/questions/422656/how-to-make-an-ext4-formatted-usb-drive-with-full-rw-permissions-for-any-linux-m"
moz-do-not-send="true" class="moz-txt-link-freetext">
https://unix.stackexchange.com/questions/422656/how-to-make-an-ext4-formatted-usb-drive-with-full-rw-permissions-for-any-linux-m</a><br>
</div>
<div>Even Google AI if one search: "gentoo format usb as ext4"</div>
<div>it shows to run:</div>
<div>sudo mkfs -t ext4 /dev/sdb1<br>
</div>
<div><br>
</div>
<div>this will work but the disk will not automount in XFCE, <br>
</div>
<div>it should be:</div>
<div>sudo mkfs.ext4 /dev/sdX<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2024 at
8:20 PM Mitchell Dorrell <<a href="mailto:
[email protected]"
moz-do-not-send="true" class="moz-txt-link-freetext">
[email protected]</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Oct 23, 2024,
20:35 syscon edm <<a
href="mailto:
[email protected]" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">
[email protected]</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I format usb as ext4
<div>mkfs.ext4 /dev/sda1<br>
</div>
<div><br>
</div>
<div>but XFCE does not automount the partition </div>
<div>my other usb (ext4 as well) shows up
automatically under</div>
<div>/run/media/joseph/disk_name</div>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div dir="auto">I think you're correct that if something
is automounting your USB storage device, it's probably
XFCE (or some part of it).</div>
<div dir="auto"><br>
</div>
<div dir="auto">I don't personally use XFCE, but I'm sure
others here probably do. If you don't get any responses
on this mailing list, then perhaps try the #gentoo-xfce
IRC channel. If that's also quiet, you might try another
venue that focuses specifically on XFCE, such as the
official XFCE links at <a
href="
https://www.xfce.org/community" target="_blank"
moz-do-not-send="true" class="moz-txt-link-freetext">
https://www.xfce.org/community</a>
.</div>
<div dir="auto"><br>
</div>
<div dir="auto">-Mitchell Dorrell</div>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</body>
</html>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)