public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] format usb as ext4
Date: Thu, 24 Oct 2024 14:16:55 +0100	[thread overview]
Message-ID: <1809306.VLH7GnMWUR@rogueboard> (raw)
In-Reply-To: <CAEVFJ_DBQk+5XT4mQmUK+4_Hd=p4MTCTx_OqhrkNyuqYxDgQKg@mail.gmail.com>

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

On Thursday 24 October 2024 14:11:12 BST syscon edm wrote:
> 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"

If you want to run "mkfs.ext4 /dev/sda1" then first you must create a 
partition label (e.g DOS, GPT) and add a partition on the device using fdisk, 
parted, etc.  The mkfs command will error out complaining about /dev/sda1 not 
found or something like that.

If the device has no partitions on it, then "mkfs.ext4 /dev/sda" is what you 
have to run.  It will format an ext4 fs on the whole device, like a floppy 
disk.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2024-10-24 13:17 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
2024-10-24 13:16         ` Michael [this message]
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=1809306.VLH7GnMWUR@rogueboard \
    --to=confabulate@kintzios.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