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 <m...@psc.edu> wrote:

> On Wed, Oct 23, 2024, 20:35 syscon edm <syscon...@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
>
>>

Reply via email to