emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54305: closed (disk utility fail format fat)


From: GNU bug Tracking System
Subject: bug#54305: closed (disk utility fail format fat)
Date: Sun, 27 Aug 2023 20:05:02 +0000

Your message dated Sun, 27 Aug 2023 23:04:27 +0300
with message-id <09c4cc615eb9591e3f5a0d2703b6faa06d7dc033.camel@riabenko.com>
and subject line Re: disk utility fail format fat
has caused the debbugs.gnu.org bug report #54305,
regarding disk utility fail format fat
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
54305: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54305
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: disk utility fail format fat Date: Wed, 09 Mar 2022 02:27:14 +0200 User-agent: Evolution 3.42.1
Hello

When initiating formatting of a USB flash drive in GNOME Files
(Nautilus), GNOME Disks (gnome-disk provided by gnome-disk-utility
package) opens followed by the volume formatting dialog. Currently, by
default, it is only possible to format the disk in Ext4. Other options
are grayed out, except for FAT, but choosing this option results in the
following error:

Error creating file system: Error spawning command-line `mkfs.vfat -l -
n "'/dev/sdb": Failed to execute child process "mkfs.vfat" (No such
file or directory) (g-exec-error-quark, 8) (udisks-error-quark, 0) 

(Here /dev/sdb is my flash drive.) I fixed this error by adding
dosfstools to the system profiles packages in config.scm:

(specification->package "dosfstools")

I see two issues here.

1. The FAT option was not grayed out in the formatting dialog. For
comparison, the NTFS option was grayed out until I added ntfs-3g to the
system profile too. May be GNOME Disks expects mkfs.vfat to be present,
so it does not check whether it is present like it does for other file
systems. 

So, it would be great for GNOME Disks to check whether mkfs.vfat is
available before proceeding like it does for other filesystems. It
could be easier to make dosfstools a dependency of gnome-disk-utility.
But, for comparison, the approach for UDisks seems to be to patch the
library instead of propagating system utilities:
https://issues.guix.gnu.org/41247#10

Possibly relevant patches:
https://issues.guix.gnu.org/40480
https://issues.guix.gnu.org/49128

2. GNOME Disks utility ignored the dosfstools package which I installed
in my user profile. For comparison, this applies to ntfs-3g too. In
relation to ntfs-3g with UDisks this seems to be expected behavior, but
it seemed to me as a bug at first:
https://guix.gnu.org/en/manual/devel/en/html_node/Desktop-Services.html#index-udisks_002dservice

I do not know what is necessary to make GNOME Disk utility recognize
the tools in the user profile and I am not sure it is necessary. It
just seemed against the spirit of guix that the user is forced to
reconfigure the system.

Roman



--- End Message ---
--- Begin Message --- Subject: Re: disk utility fail format fat Date: Sun, 27 Aug 2023 23:04:27 +0300 User-agent: Evolution 3.46.4
У вт, 2022-05-24 у 10:38 +0300, Roman Riabenko пише:
> The upstream implemented the check for vfat and closed the issue.
> https://gitlab.gnome.org/GNOME/gnome-disk-utility/-/commit/15462f9c87c08c5af77a31993c1d87cb34d04861
> 
> (It is not included in Disks version 42.0, so I haven't tested it
> yet.)
> > > 

The issue was fixed upstream and I do not experience it anymore with
the current version of Disks (44.0) in Guix.

Roman

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]