From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75174158042 for ; Thu, 24 Oct 2024 13:11:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 01E7FE0903; Thu, 24 Oct 2024 13:11:28 +0000 (UTC) Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 94B57E08A0 for ; Thu, 24 Oct 2024 13:11:27 +0000 (UTC) Received: by mail-vs1-xe2a.google.com with SMTP id ada2fe7eead31-4a74a77878dso309490137.0 for ; Thu, 24 Oct 2024 06:11:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729775486; x=1730380286; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=tz4lQNwlI0kgZ9z1kt1quWnhh+ZoSpZm4vawWPfmRUw=; b=HS0wFI5oyd+SK1qyLCokRdqbCqk59aqUwxBe57WxO6MrV/Bp5/nrhT6m50oSun5hDa glx4wa8nWElsjKXnliwonEJooYgtIuIZigCHS+Efv4W4HwVCb9+pCYEZwhvDt1exqKXf t3s2HuYVgldpzvs1W6C0mP04eYpwd3EIkiAmebp0JqdXTeVUPxF0xOk0kHedgk+cRlJ8 /DSlc3y54yAMCw24cTY6S8NtNw4AVW3qDXDm4Akhu8TaWm20p5ObDD/h+xdGqjDfBleY kLNTNMH5E7gg6xXdX2QL+fQig3e+igVS9X7WDfohO5M8fRIBPzR8BPPsW0ZFUr0BFLlT 0GUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729775486; x=1730380286; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tz4lQNwlI0kgZ9z1kt1quWnhh+ZoSpZm4vawWPfmRUw=; b=DEhhgd3Cxwjz7c1oqsAF77J9Y0I2pahkgdpntp1AU0YFc2t6xuwOHhu4NRU1AYPaO6 iHiWthDcKdT0X24x8zIHdZbEwndgsS0EMtoLOwsuu+J8ooZA+uAB7fLyRbaB0SFd3dPY SeGEP5SAiYP8ih0snjNTZVcl9tNMPV/HUpm+JSrsAIUzmuEpeeMCcXvZ4BqBaPbdXsdn ksXiBLPHNlgdMkwvloJ12rNp9MtWm2Sh8sEmplxdb8+BlwCfF/i5PrXyo7BxM2pFhj05 0XsXjezfpp/N+tJ5uJRM6B5OhzE6Pjeo7d5emYX5llIe6ysYbNGssDh3rNX5PJbv4PVB iaOw== X-Gm-Message-State: AOJu0YwX3A/f+AtbigoiyyGd8hGj+1Nta8xy8C53xpfUChgMcysOFwNp +Uy886OVw0G3StKT+AeQiiHyi1CBZ40QG4VyVVPF1ffsS3veknZFXkHJdWSZOMKF25PP20tJwkh oEu/aJn5jTZZHFg8MEqfw0bhbuLNo2BHl X-Google-Smtp-Source: AGHT+IGv1r+Y/zYuAF+kdfQssAikAVVzTWcP/ye38gASTMtnJd+qEGrznV6XBDk4VwOWHbzZsQas4xWG3UIONjUQnGY= X-Received: by 2002:a05:6102:3747:b0:4a4:7671:7588 with SMTP id ada2fe7eead31-4a8711b52dbmr2834993137.22.1729775486297; Thu, 24 Oct 2024 06:11:26 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: In-Reply-To: From: syscon edm Date: Thu, 24 Oct 2024 07:11:12 -0600 Message-ID: Subject: Re: [gentoo-user] format usb as ext4 To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="00000000000066ed10062538bd19" X-Archives-Salt: 7198550d-a569-4d26-aa93-64b88bcb8792 X-Archives-Hash: 44719bbe67048439f719aa3e9f6a1cdf --00000000000066ed10062538bd19 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, you are right. doing "mkfs.ext4 /dev/sda1" worked, but I could only manually mount, for automount it has to be entire partition "mkfs.ext4 /dev/sda" On Wed, Oct 23, 2024 at 8:43=E2=80=AFPM Jack Ostroff < ostroffjh@users.sourceforge.net> wrote: > [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-forma= tted-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=E2=80=AFPM Mitchell Dorrell wr= ote: > >> On Wed, Oct 23, 2024, 20:35 syscon edm 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 storag= e >> 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 yo= u >> 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 ve= nue >> that focuses specifically on XFCE, such as the official XFCE links at >> https://www.xfce.org/community . >> >> -Mitchell Dorrell >> >>> --00000000000066ed10062538bd19 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, you=C2=A0are right.
doing "mkfs.e= xt4 /dev/sda1" worked, but I could only manually mount,=C2=A0
for automount it has to be entire partition "mkfs.ext4 /dev/sda&= quot;

On Wed, Oct 23, 2024 at 8:43=E2=80=AFPM Jack Ostroff <ostroffjh@users.sourceforge.net= > wrote:
= =20 =20 =20

[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 alrea= dy created a partition table on /dev/sda and created at least one partition in it.=C2=A0 It probably won't automount because the sy= stem 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:
=20
It was my error, the command should be:
mkfs.ext4 /dev/sda
The=C2=A0usb 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:
Even Google AI if one search: "gentoo format usb as ext4&= quot;
it shows to run:
sudo mkfs -t ext4 /dev/sdb1

this will work but the disk will not automount in XFCE,=C2=A0<= br>
it should be:
sudo mkfs.ext4 /dev/sdX



On Wed, Oct 23, 2024 at 8:20=E2=80=AFPM Mitchell Dorrell <mwd@psc.edu> wrote:
On Wed, Oct 23, 2024, 20:35 syscon edm <syscon780@gmail.com> wrote:
I format usb as ext4
mkfs.ext4 /dev/sda1

but XFCE does not automount the partition=C2=A0
my other usb (ext4 as well) shows up automatically under
/run/media/joseph/disk_name

I think you're correct that if somethin= g 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 anothe= r venue that focuses specifically on XFCE, such as the official XFCE links at https://www.xfce.org/community .

-Mitchell Dorrell
--00000000000066ed10062538bd19--