SORT the disks listed in the unassigned drive pull-down list


Lev

Recommended Posts

With a large number of unassigned disks, the list in the pull-down menu when assigning them can be quite long. There does not appear to be any logical order to how the disks are listed. Any logical order would be an improvement.

 

Unless there's a better sort method preferred by the developers, seems like the list would be in ascending order of the disk letter, example: sdb, sdc, sdd...

 

@bonienl @Squid just FYI if this is something to add into the on-going GUI improvements.

 

Link to comment

I think I would prefer that it sorts on serial so similar drives ends up beside each other - the sda, sdb, ... name depends on in which order the kernel detects the drives so is often not a good sort order unless you already happen to know that you want "sdh" based on something you have read in some log file.

Link to comment

I made a update which does the following sorting (grouping) of devices

 

1. Sort on disk size. Largest disks first

2. Within same disk size, sort on disk model. This groups same vendor + model together

3. Within same disk size and same disk model, sort on name assignment (sdX).

 

image.png.db5fe976eec6daa508819f2b4193890f.png

  • Like 2
  • Upvote 1
Link to comment
6 hours ago, bonienl said:

I made a update which does the following sorting (grouping) of devices

 

1. Sort on disk size. Largest disks first

2. Within same disk size, sort on disk model. This groups same vendor + model together

3. Within same disk size and same disk model, sort on name assignment (sdX).

 

image.png.db5fe976eec6daa508819f2b4193890f.png

Nice improvement.   Should perhaps step 3 be on serial number rather than I’d as (although rare) id’s can vary on a reboot whereas serial number will not.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.