public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: syscon edm <syscon780@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] format usb as ext4
Date: Thu, 24 Oct 2024 07:11:12 -0600	[thread overview]
Message-ID: <CAEVFJ_DBQk+5XT4mQmUK+4_Hd=p4MTCTx_OqhrkNyuqYxDgQKg@mail.gmail.com> (raw)
In-Reply-To: <a632b1cb-f457-45ff-9d4c-54bfaa1b0b76@users.sourceforge.net>

[-- Attachment #1: Type: text/plain, Size: 2310 bytes --]

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 PM 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-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 <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
>>> 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
>>
>>>

[-- Attachment #2: Type: text/html, Size: 5409 bytes --]

  reply	other threads:[~2024-10-24 13:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-24  0:34 [gentoo-user] format usb as ext4 syscon edm
2024-10-24  2:19 ` Mitchell Dorrell
2024-10-24  2:34   ` syscon edm
2024-10-24  2:42     ` Jack Ostroff
2024-10-24 13:11       ` syscon edm [this message]
2024-10-24 13:16         ` Michael
2024-10-24  3:01     ` Mitchell Dorrell
2024-10-24  8:33       ` Jacques Montier
2024-11-03 23:35       ` Wol
2024-11-04  2:11         ` Matt Jolly
2024-11-04  7:35           ` Wols Lists
2024-11-04  8:32             ` Viorel Munteanu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEVFJ_DBQk+5XT4mQmUK+4_Hd=p4MTCTx_OqhrkNyuqYxDgQKg@mail.gmail.com' \
    --to=syscon780@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox