Previous Thread
Next Thread
Print Thread
gparted 1.3 Glitch on Manjaro #685 06/09/21 03:01 PM
Joined: Nov 2008
Posts: 271
M
Muniac Offline OP
enthusiast
OP Offline
enthusiast
M
Joined: Nov 2008
Posts: 271
I upgraded my Manjaro (20.2 64bit MATE) system per the usual method. The laptop is a Dell Precision M4800 w/K2100 graphics. The upgrade took GParted from V1.2 to V1.3 and the new version no longer picks up my SD card slot. All this worked fine on the old V1.2 GParted. On occasion I need to format the SD cards and/or MicroSD cards through the SD card adapter. The SD card comes up as mmcblk0, USB as sdb and the hard drive as sda. Both these devices are recognized fine, just the SD card is missing. From the command line you can issue GParted /dev/mmcblko as a quick work around. Or whatever your SD card slot produces. The script below will do this automatically by building a command line arg for all mounted devices. I named it gparted.sh

Quote
#!/bin/bash
#
# gparted when upgraded to 1.3.0 from 1.2.0 doesn't pickup the SD card for some
# reason. gparted takes a command line with blank separated mount points. The
# script below does an lsblk piped to grep to list all the mounted devices. It includes
# the word "disk" as requested by the -o switch. This is then replaced with a blank
# to cleanup the list of mounted devices passed to gparted. The list ends up in a
# variable "mounted" which is passed to gparted as a command line argument.
#
mounted="$(lsblk -o "type,path" | grep -i 'disk')"
mounted=${mounted//"disk"/" "}
echo $mounted
gparted $mounted
exit 0

Put this script where you want it. I just put it in my home directory but it can go anywhere. Right click on the GParted desktop icon and select properties. Change the Command field to bash /home/your folder/gparted.sh. Where the red type is adjusted to agree with your system. This will start GParted and pass it a list of mounted devices.


Evolve and simplify!
Scott Bridgman, Why not join and post your own comments??
scott@muniac.com (email me)
BACK HOME
Re: gparted 1.3 Glitch on Manjaro [Re: Muniac] #686 06/09/21 05:02 PM
Joined: Nov 2008
Posts: 271
M
Muniac Offline OP
enthusiast
OP Offline
enthusiast
M
Joined: Nov 2008
Posts: 271
I did send an email to Curtis on the GParted development team. His response below:

Quote
This is a known regression that was introduced in GParted 1.3. See:

MR 82 - Fix recognition of SD/MMC device names
https://gitlab.gnome.org/GNOME/gparted/-/merge_requests/83

This fix will be included in the next release of GParted.


I thanked him for the quick response.


Evolve and simplify!
Scott Bridgman, Why not join and post your own comments??
scott@muniac.com (email me)
BACK HOME

Search w/Google
Google
 
GLCD/TLCD Projects
Fab Ads
Legacy Travel Content
Fab Ads
Top Posters(All Time)
OldRebel 304
Muniac 271
Jeannie 48
8850 8
Gil B 4
Who's Online Now
0 registered members (), 4 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Powered by UBB.threads™ PHP Forum Software 7.7.3