summaryrefslogtreecommitdiff
path: root/usr/src/lib/libbe
AgeCommit message (Collapse)AuthorFilesLines
2022-01-0714340 libbe: 'menu_fp' may be used uninitializedToomas Soome1-2/+1
Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Dan McDonald <danmcd@joyent.com>
2021-01-1913451 beadm needs to do more with temporary BE activationAndy Fiddaman2-2/+62
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2020-12-1813367 beadm activate -t should not promote new BE datasetsAndy Fiddaman1-27/+30
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Alexander Eremin <aeremin@tintri.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-11-137537 want nextboot (one time boot) supportToomas Soome5-17/+71
Reviewed by: Jason King <jason.brian.king+illumos@gmail.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-2212776 libbe: missing typedef in libbe.hAurelien Larcher1-1/+1
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-05-0412454 remove lint library machineryRichard Lowe6-13/+9
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Dan McDonald <danmcd@joyent.com>
2020-01-0612141 libbe cannot handle vfstab updates in NGZAndy Fiddaman4-6/+54
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: C Fraire <cfraire@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-09-1011634 installboot should support ESP updatesToomas Soome2-7/+9
Reviewed by: Alexander Eremin <a.eremin@nexenta.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
2019-06-2511157 libbe: NULL pointer errorsToomas Soome2-4/+4
Reviewed by: John Levon <john.levon@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-02-1310361 usr/lib - stop lint library generation and packagingAndy Fiddaman1-29/+0
Reviewed by: Jason King <jason.king@joyent.com> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Reviewed by: Frederik Wessels <wessels147@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2019-01-3010117 libbe needs smatch fixesJohn Levon1-2/+3
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
2018-10-179892 Most consumers of be_list() do not need snapshotsAndy Fiddaman5-16/+32
Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jim Klimov <jim@cos.ru> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2018-10-179891 libbe slow building snapshot listAndy Fiddaman1-87/+73
Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Jim Klimov <jim@cos.ru> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2018-10-179889 libbe reads defaults too oftenAndy Fiddaman1-9/+9
Reviewed by: Dominik Hassler <hadfl@omniosce.org> Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Jim Klimov <jim@cos.ru> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Joshua M. Clulow <josh@sysmgr.org> Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
2018-07-098983 libbe: be_do_installboot() fails with vdev replacingToomas Soome1-117/+109
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Yuri Pankov <yuripv@yuripv.net> Reviewed by: Ken Mays <kmays2000@gmail.com> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
2018-02-069027 Makefiles need to specify C99 mode consistentlyYuri Pankov1-1/+1
Reviewed by: Rich Lowe <richlowe@richlowe.net> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
2017-01-137767 6464's call to mount() is incompleteToomas Soome1-2/+5
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: Jason King <jason.brian.king@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-12-277615 libbe: cleanup compile warningsToomas Soome4-10/+5
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2016-12-226464 libbe shouldn't mangle zfs mountpointsAlexander Pyhalov1-66/+87
Reviewed by: Igor Kozhukhov <igor@dilos.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-09-226706 disable grub menu management in bootadm (loader project)Toomas Soome2-6/+21
6707 disable grub menu management in libbe (loader project) Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2016-09-226702 libbe should support x86 installboot command (loader project)Toomas Soome2-20/+64
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Alexander Eremin <a.eremin@nexenta.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-09-226699 be_get_boot_args interface implementation in libbe (loader project)Toomas Soome4-11/+224
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Albert Lee <trisk@omniti.com> Approved by: Robert Mustacchi <rm@joyent.com>
2016-06-096314 buffer overflow in dsl_dataset_nameMatthew Ahrens4-21/+16
Reviewed by: George Wilson <george.wilson@delphix.com> Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2016-05-156902 speed up listing of snapshots if requesting name only and sorting by nameMartin Matuska2-5/+10
Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Pawel Dawidek <pjd@freebsd.org> Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Garrett D'Amore <garrett@damore.org>
2016-03-256817 libbe should not free string from nvlist_lookup_string()Toomas Soome1-1/+0
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> Approved by: Dan McDonald <danmcd@omniti.com>
2016-02-276659 nvlist_free(NULL) is a no-opJosef 'Jeff' Sipek2-18/+9
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
2016-02-176646 libbe be_do_copy_grub_cap() is broken when pool root dataset is not mountedToomas Soome1-45/+42
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-11-066408 libbe shouldn't run installgrub on offline/unavail/faulted vdevsHans Rosenfeld1-0/+16
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Approved by: Dan McDonald <danmcd@omniti.com>
2015-09-236159 libbe should proactively handle future architecturesToomas Soome1-1/+5
Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Reviewed by: Dan McDonald <danmcd@omniti.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2015-09-166085 export libbe installboot functionToomas Soome3-21/+146
6086 add install bootblock option for bootadm Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Adam Števko <adam.stevko@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Approved by: Robert Mustacchi <rm@joyent.com>
2015-08-236080 libbe should support installbootToomas Soome4-161/+317
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Alexander Pyhalov <apyhalov@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Robert Mustacchi <rm@joyent.com>
2015-07-236073 libbe be_run_cmd() bad indentation in function bodyToomas Soome1-1/+1
Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Josef Sipek <jeffpc@josefsipek.net> Approved by: Dan McDonald <danmcd@omniti.com>
2015-07-195960 zfs recv should prefetch indirect blocksPaul Dagnelie1-4/+2
5925 zfs receive -o origin= Reviewed by: Prakash Surya <prakash.surya@delphix.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com>
2015-06-115679 be_sort_list(): Possible null pointer dereferenceGary Mills2-20/+39
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gwr@nexenta.com>
2015-04-225831 "beadm umount <dir>" core dumpIgor Kozhukhov1-1/+1
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Marcel Telka <marcel@telka.sk> Reviewed by: Andy Stormont <astormont@racktopsystems.com> Approved by: Robert Mustacchi <rm@joyent.com>
2015-03-062930 beadm should sort by creation dateToomas Soome3-11/+188
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>
2015-02-205561 support root pools on EFI/GPT partitioned disksHans Rosenfeld2-51/+148
5125 update zpool/libzfs to manage bootable whole disk pools (EFI/GPT labeled disks) Reviewed by: Jean McCormack <jean.mccormack@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Dan McDonald <danmcd@omniti.com>
2014-03-283993 zpool(1M) and zfs(1M) should support -p for "list" and "get"Adam Stevko1-1/+1
4700 "zpool get" doesn't support -H or -o options Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
2013-12-034220 beadm mount of old BE with zones fails "Read only filesystem"Alexander Eremin1-13/+10
4235 beadm(1M) mount options undocumented in man page Reviewed by: Ilya Usvyatsky <ilya.usvyatsky@nexenta.com> Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net> Approved by: Garrett D'Amore <garrett@damore.org>
2013-08-304072 make clobber leaves trashGordon Ross1-0/+2
Reviewed by: Albert Lee <trisk@nexenta.com> Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Marcel Telka <marcel.telka@nexenta.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Garrett D'Amore <garrett@damore.org>
2013-08-263845 beadm doesn't work in non-global zonesAlexander Eremin9-103/+468
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com> Reviewed by: Andrew Stormont <andyjstormont@gmail.com> Reviewed by: Richard Lowe <richlowe@richlowe.net> Approved by: Dan McDonald <danmcd@nexenta.com>
2012-12-103352 would like 64bit install librariesTheo Schlossnagle4-2/+63
Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Christopher Siden <chris.siden@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-09-222933 compiler warning gags need better granularityRichard Lowe1-1/+4
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
2012-04-272635 'zfs rename -f' to perform force unmountEric Schrock1-1/+2
Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: George Wilson <George.Wilson@delphix.com> Reviewed by: Bill Pijewski <wdp@joyent.com> Reviewed by: Richard Elling <richard.elling@richardelling.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2012-04-092451 beadm umount should report if there is nothing to unmountAlexander Eremin1-1/+20
2450 beadm umount should support mountpoint name Reviewed by: Dan Kruchinin <dkruchinin@acm.org> Reviewed by: Michael Schuster <michaelsprivate@gmail.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Gordon Ross <gwr@nexenta.com>
2011-11-171699 beadm destroy complains "device busy" if hampered by snapshotsAlexander Eremin1-0/+38
Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@nexenta.com> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
2011-11-171644 add ZFS "clones" propertyMatthew Ahrens1-2/+2
1645 add ZFS "written" and "written@..." properties 1646 "zfs send" should estimate size of stream 1647 "zfs destroy" should determine space reclaimed by destroying multiple snapshots 1708 adjust size of zpool history data Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: George Wilson <gwilson@zfsmail.com> Reviewed by: Albert Lee <trisk@opensolaris.org> Approved by: Garrett D'Amore <garret@nexenta.com>
2011-07-191116 beadm *_snap commands shouldn't existAlexander Eremin1-1/+1
1208 beadm doesn't show BE snapshots Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Gary Mills <mills@cc.umanitoba.ca> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>
2011-07-19backout 1116 beadm *_snap commands shouldn't exist (incorrect user)eschrock1-1/+1
2011-07-191116 beadm *_snap commands shouldn't existeschrock1-1/+1
1208 beadm doesn't show BE snapshots Reviewed by: Dan McDonald <danmcd@nexenta.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Gary Mills <mills@cc.umanitoba.ca> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Eric Schrock <Eric.Schrock@delphix.com>