Project

General

Profile

Actions

Bug #2930

closed

beadm should sort by creation date

Added by Gary Mills almost 11 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2012-06-25
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

This is something I've found annoying for some time.

$ beadm list
BE             Active Mountpoint Space Policy Created
oi_151a        -      -          60.0K static 2011-11-27 23:00
oi_151a2       -      -          59.0K static 2012-03-18 08:22
oi_151a2_upd01 NR     /          9.88G static 2012-03-18 13:53
oi_151a_cons   -      -          59.0K static 2012-02-08 15:26
oi_151a_upd13  -      -          730M  static 2012-03-09 08:20
oi_151a_upd14  -      -          998M  static 2012-03-10 12:07
openindiana    -      -          15.3M static 2011-11-14 04:15

Normally you want to see the boot environments arranged by creation date, so that they newest one is active and you can delete the oldest one. With the current arrangement, it can be difficult to identify the oldest one. Sorting by creation date should be the default.

Actions #1

Updated by Igor Kozhukhov almost 11 years ago

I think sort by name is correct.
but we can implement additional flag for additional sort types.

Actions #2

Updated by sham pavman almost 11 years ago

  • Assignee set to sham pavman

Working on it...

Actions #3

Updated by sham pavman almost 11 years ago

  • % Done changed from 0 to 30
Actions #4

Updated by Electric Monk about 8 years ago

  • Status changed from New to Closed
  • % Done changed from 30 to 100

git commit 4adca7e7219d20c7ca20933b5006222e781ff0e9

commit  4adca7e7219d20c7ca20933b5006222e781ff0e9
Author: Toomas Soome <tsoome@me.com>
Date:   2015-03-06T20:30:16.000Z

    2930 beadm should sort by creation date
    Reviewed by: Marcel Telka <marcel@telka.sk>
    Reviewed by: Josef ‘Jeff’ Sipek <jeffpc@josefsipek.net>
    Reviewed by: Gary Mills <gary_mills@fastmail.fm>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions

Also available in: Atom PDF