Print this page
2882 implement libzfs_core
2883 changing "canmount" property to "on" should not always remount dataset
2900 "zfs snapshot" should be able to create multiple, arbitrary snapshots at once
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Chris Siden <christopher.siden@delphix.com>
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Bill Pijewski <wdp@joyent.com>
Reviewed by: Dan Kruchinin <dan.kruchinin@gmail.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/Targetdirs
          +++ new/usr/src/Targetdirs
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # fields enclosed by brackets "[]" replaced with your own identifying
  16   16  # information: Portions Copyright [yyyy] [name of copyright owner]
  17   17  #
  18   18  # CDDL HEADER END
  19   19  #
  20   20  
  21   21  #
  22   22  # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  23   23  # Copyright 2011, Richard Lowe
  24   24  # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
       25 +# Copyright (c) 2012 by Delphix. All rights reserved.
  25   26  #
  26   27  
  27   28  #
  28   29  # It is easier to think in terms of directory names without the ROOT macro
  29   30  # prefix.  ROOTDIRS is TARGETDIRS with ROOT prefixes.  It is necessary
  30   31  # to work with ROOT prefixes when controlling conditional assignments.
  31   32  #
  32   33  
  33   34  DIRLINKS=       $(SYM.DIRS)
  34   35  $(BUILD64)      DIRLINKS += $(SYM.DIRS64)
↓ open down ↓ 989 lines elided ↑ open up ↑
1024 1025  $(ROOT)/usr/lib/libuuid.so.1:=          REALPATH=../../lib/libuuid.so.1
1025 1026  $(ROOT)/usr/lib/libuuid.so:=            REALPATH=../../lib/libuuid.so.1
1026 1027  $(ROOT)/usr/lib/libuutil.so.1:=         REALPATH=../../lib/libuutil.so.1
1027 1028  $(ROOT)/usr/lib/libuutil.so:=           REALPATH=../../lib/libuutil.so.1
1028 1029  $(ROOT)/usr/lib/libw.so.1:=             REALPATH=../../lib/libw.so.1
1029 1030  $(ROOT)/usr/lib/libw.so:=               REALPATH=../../lib/libw.so.1
1030 1031  $(ROOT)/usr/lib/libxnet.so.1:=          REALPATH=../../lib/libxnet.so.1
1031 1032  $(ROOT)/usr/lib/libxnet.so:=            REALPATH=../../lib/libxnet.so.1
1032 1033  $(ROOT)/usr/lib/libzfs.so.1:=           REALPATH=../../lib/libzfs.so.1
1033 1034  $(ROOT)/usr/lib/libzfs.so:=             REALPATH=../../lib/libzfs.so.1
     1035 +$(ROOT)/usr/lib/libzfs_core.so.1:=      REALPATH=../../lib/libzfs_core.so.1
     1036 +$(ROOT)/usr/lib/libzfs_core.so:=        REALPATH=../../lib/libzfs_core.so.1
1034 1037  $(ROOT)/usr/lib/llib-ladm.ln:=          REALPATH=../../lib/llib-ladm.ln
1035 1038  $(ROOT)/usr/lib/llib-ladm:=             REALPATH=../../lib/llib-ladm
1036 1039  $(ROOT)/usr/lib/llib-laio.ln:=          REALPATH=../../lib/llib-laio.ln
1037 1040  $(ROOT)/usr/lib/llib-laio:=             REALPATH=../../lib/llib-laio
1038 1041  $(ROOT)/usr/lib/llib-lavl.ln:=          REALPATH=../../lib/llib-lavl.ln
1039 1042  $(ROOT)/usr/lib/llib-lavl:=             REALPATH=../../lib/llib-lavl
1040 1043  $(ROOT)/usr/lib/llib-lbsm.ln:=          REALPATH=../../lib/llib-lbsm.ln
1041 1044  $(ROOT)/usr/lib/llib-lbsm:=             REALPATH=../../lib/llib-lbsm
1042 1045  $(ROOT)/usr/lib/llib-lc.ln:=            REALPATH=../../lib/llib-lc.ln
1043 1046  $(ROOT)/usr/lib/llib-lc:=               REALPATH=../../lib/llib-lc
↓ open down ↓ 80 lines elided ↑ open up ↑
1124 1127  $(ROOT)/usr/lib/llib-ltsol.ln:=         REALPATH=../../lib/llib-ltsol.ln
1125 1128  $(ROOT)/usr/lib/llib-ltsol:=            REALPATH=../../lib/llib-ltsol
1126 1129  $(ROOT)/usr/lib/llib-lumem.ln:=         REALPATH=../../lib/llib-lumem.ln
1127 1130  $(ROOT)/usr/lib/llib-lumem:=            REALPATH=../../lib/llib-lumem
1128 1131  $(ROOT)/usr/lib/llib-luuid.ln:=         REALPATH=../../lib/llib-luuid.ln
1129 1132  $(ROOT)/usr/lib/llib-luuid:=            REALPATH=../../lib/llib-luuid
1130 1133  $(ROOT)/usr/lib/llib-lxnet.ln:=         REALPATH=../../lib/llib-lxnet.ln
1131 1134  $(ROOT)/usr/lib/llib-lxnet:=            REALPATH=../../lib/llib-lxnet
1132 1135  $(ROOT)/usr/lib/llib-lzfs.ln:=          REALPATH=../../lib/llib-lzfs.ln
1133 1136  $(ROOT)/usr/lib/llib-lzfs:=             REALPATH=../../lib/llib-lzfs
     1137 +$(ROOT)/usr/lib/llib-lzfs_core.ln:=     REALPATH=../../lib/llib-lzfs_core.ln
     1138 +$(ROOT)/usr/lib/llib-lzfs_core:=        REALPATH=../../lib/llib-lzfs_core
1134 1139  $(ROOT)/usr/lib/nss_compat.so.1:=       REALPATH=../../lib/nss_compat.so.1
1135 1140  $(ROOT)/usr/lib/nss_dns.so.1:=          REALPATH=../../lib/nss_dns.so.1
1136 1141  $(ROOT)/usr/lib/nss_files.so.1:=        REALPATH=../../lib/nss_files.so.1
1137 1142  $(ROOT)/usr/lib/nss_nis.so.1:=          REALPATH=../../lib/nss_nis.so.1
1138 1143  $(ROOT)/usr/lib/nss_user.so.1:=         REALPATH=../../lib/nss_user.so.1
1139 1144  $(ROOT)/usr/lib/fm/libfmevent.so.1:=    REALPATH=../../../lib/fm/libfmevent.so.1
1140 1145  $(ROOT)/usr/lib/fm/libfmevent.so:=      REALPATH=../../../lib/fm/libfmevent.so.1
1141 1146  $(ROOT)/usr/lib/fm/llib-lfmevent.ln:=   REALPATH=../../../lib/fm/llib-lfmevent.ln
1142 1147  $(ROOT)/usr/lib/fm/llib-lfmevent:=      REALPATH=../../../lib/fm/llib-lfmevent
1143 1148  
↓ open down ↓ 226 lines elided ↑ open up ↑
1370 1375  $(ROOT)/usr/lib/$(MACH64)/libw.so:= \
1371 1376          REALPATH=../../../lib/$(MACH64)/libw.so.1
1372 1377  $(ROOT)/usr/lib/$(MACH64)/libxnet.so.1:= \
1373 1378          REALPATH=../../../lib/$(MACH64)/libxnet.so.1
1374 1379  $(ROOT)/usr/lib/$(MACH64)/libxnet.so:= \
1375 1380          REALPATH=../../../lib/$(MACH64)/libxnet.so.1
1376 1381  $(ROOT)/usr/lib/$(MACH64)/libzfs.so:= \
1377 1382          REALPATH=../../../lib/$(MACH64)/libzfs.so.1
1378 1383  $(ROOT)/usr/lib/$(MACH64)/libzfs.so.1:= \
1379 1384          REALPATH=../../../lib/$(MACH64)/libzfs.so.1
     1385 +$(ROOT)/usr/lib/$(MACH64)/libzfs_core.so:= \
     1386 +        REALPATH=../../../lib/$(MACH64)/libzfs_core.so.1
     1387 +$(ROOT)/usr/lib/$(MACH64)/libzfs_core.so.1:= \
     1388 +        REALPATH=../../../lib/$(MACH64)/libzfs_core.so.1
1380 1389  $(ROOT)/usr/lib/$(MACH64)/libfdisk.so.1:= \
1381 1390          REALPATH=../../../lib/$(MACH64)/libfdisk.so.1
1382 1391  $(ROOT)/usr/lib/$(MACH64)/libfdisk.so:= \
1383 1392          REALPATH=../../../lib/$(MACH64)/libfdisk.so.1
1384 1393  $(ROOT)/usr/lib/$(MACH64)/llib-ladm.ln:= \
1385 1394          REALPATH=../../../lib/$(MACH64)/llib-ladm.ln
1386 1395  $(ROOT)/usr/lib/$(MACH64)/llib-laio.ln:= \
1387 1396          REALPATH=../../../lib/$(MACH64)/llib-laio.ln
1388 1397  $(ROOT)/usr/lib/$(MACH64)/llib-lavl.ln:= \
1389 1398          REALPATH=../../../lib/$(MACH64)/llib-lavl.ln
↓ open down ↓ 76 lines elided ↑ open up ↑
1466 1475  $(ROOT)/usr/lib/$(MACH64)/llib-ltsol.ln:= \
1467 1476          REALPATH=../../../lib/$(MACH64)/llib-ltsol.ln
1468 1477  $(ROOT)/usr/lib/$(MACH64)/llib-lumem.ln:= \
1469 1478          REALPATH=../../../lib/$(MACH64)/llib-lumem.ln
1470 1479  $(ROOT)/usr/lib/$(MACH64)/llib-luuid.ln:= \
1471 1480          REALPATH=../../../lib/$(MACH64)/llib-luuid.ln
1472 1481  $(ROOT)/usr/lib/$(MACH64)/llib-lxnet.ln:= \
1473 1482          REALPATH=../../../lib/$(MACH64)/llib-lxnet.ln
1474 1483  $(ROOT)/usr/lib/$(MACH64)/llib-lzfs.ln:= \
1475 1484          REALPATH=../../../lib/$(MACH64)/llib-lzfs.ln
     1485 +$(ROOT)/usr/lib/$(MACH64)/llib-lzfs_core.ln:= \
     1486 +        REALPATH=../../../lib/$(MACH64)/llib-lzfs_core.ln
1476 1487  $(ROOT)/usr/lib/$(MACH64)/llib-lfdisk.ln:= \
1477 1488          REALPATH=../../../lib/$(MACH64)/llib-lfdisk.ln
1478 1489  $(ROOT)/usr/lib/$(MACH64)/nss_compat.so.1:= \
1479 1490          REALPATH=../../../lib/$(MACH64)/nss_compat.so.1
1480 1491  $(ROOT)/usr/lib/$(MACH64)/nss_dns.so.1:= \
1481 1492          REALPATH=../../../lib/$(MACH64)/nss_dns.so.1
1482 1493  $(ROOT)/usr/lib/$(MACH64)/nss_files.so.1:= \
1483 1494          REALPATH=../../../lib/$(MACH64)/nss_files.so.1
1484 1495  $(ROOT)/usr/lib/$(MACH64)/nss_nis.so.1:= \
1485 1496          REALPATH=../../../lib/$(MACH64)/nss_nis.so.1
↓ open down ↓ 134 lines elided ↑ open up ↑
1620 1631          /usr/lib/libuuid.so \
1621 1632          /usr/lib/libuuid.so.1 \
1622 1633          /usr/lib/libuutil.so \
1623 1634          /usr/lib/libuutil.so.1 \
1624 1635          /usr/lib/libw.so \
1625 1636          /usr/lib/libw.so.1 \
1626 1637          /usr/lib/libxnet.so \
1627 1638          /usr/lib/libxnet.so.1 \
1628 1639          /usr/lib/libzfs.so \
1629 1640          /usr/lib/libzfs.so.1 \
     1641 +        /usr/lib/libzfs_core.so \
     1642 +        /usr/lib/libzfs_core.so.1 \
1630 1643          /usr/lib/llib-ladm \
1631 1644          /usr/lib/llib-ladm.ln \
1632 1645          /usr/lib/llib-laio \
1633 1646          /usr/lib/llib-laio.ln \
1634 1647          /usr/lib/llib-lavl \
1635 1648          /usr/lib/llib-lavl.ln \
1636 1649          /usr/lib/llib-lbsm \
1637 1650          /usr/lib/llib-lbsm.ln \
1638 1651          /usr/lib/llib-lc \
1639 1652          /usr/lib/llib-lc.ln \
↓ open down ↓ 78 lines elided ↑ open up ↑
1718 1731          /usr/lib/llib-ltsol \
1719 1732          /usr/lib/llib-ltsol.ln \
1720 1733          /usr/lib/llib-lumem \
1721 1734          /usr/lib/llib-lumem.ln \
1722 1735          /usr/lib/llib-luuid \
1723 1736          /usr/lib/llib-luuid.ln \
1724 1737          /usr/lib/llib-lxnet \
1725 1738          /usr/lib/llib-lxnet.ln \
1726 1739          /usr/lib/llib-lzfs \
1727 1740          /usr/lib/llib-lzfs.ln \
     1741 +        /usr/lib/llib-lzfs_core \
     1742 +        /usr/lib/llib-lzfs_core.ln \
1728 1743          /usr/lib/nss_compat.so.1 \
1729 1744          /usr/lib/nss_dns.so.1 \
1730 1745          /usr/lib/nss_files.so.1 \
1731 1746          /usr/lib/nss_nis.so.1 \
1732 1747          /usr/lib/nss_user.so.1 \
1733 1748          /usr/lib/fm/libfmevent.so \
1734 1749          /usr/lib/fm/libfmevent.so.1 \
1735 1750          /usr/lib/fm/llib-lfmevent \
1736 1751          /usr/lib/fm/llib-lfmevent.ln
1737 1752  
↓ open down ↓ 118 lines elided ↑ open up ↑
1856 1871          /usr/lib/$(MACH64)/libuuid.so \
1857 1872          /usr/lib/$(MACH64)/libuuid.so.1 \
1858 1873          /usr/lib/$(MACH64)/libuutil.so \
1859 1874          /usr/lib/$(MACH64)/libuutil.so.1 \
1860 1875          /usr/lib/$(MACH64)/libw.so \
1861 1876          /usr/lib/$(MACH64)/libw.so.1 \
1862 1877          /usr/lib/$(MACH64)/libxnet.so \
1863 1878          /usr/lib/$(MACH64)/libxnet.so.1 \
1864 1879          /usr/lib/$(MACH64)/libzfs.so \
1865 1880          /usr/lib/$(MACH64)/libzfs.so.1 \
     1881 +        /usr/lib/$(MACH64)/libzfs_core.so \
     1882 +        /usr/lib/$(MACH64)/libzfs_core.so.1 \
1866 1883          /usr/lib/$(MACH64)/llib-ladm.ln \
1867 1884          /usr/lib/$(MACH64)/llib-laio.ln \
1868 1885          /usr/lib/$(MACH64)/llib-lavl.ln \
1869 1886          /usr/lib/$(MACH64)/llib-lbsm.ln \
1870 1887          /usr/lib/$(MACH64)/llib-lc.ln \
1871 1888          /usr/lib/$(MACH64)/llib-lcmdutils.ln \
1872 1889          /usr/lib/$(MACH64)/llib-lcontract.ln \
1873 1890          /usr/lib/$(MACH64)/llib-lctf.ln \
1874 1891          /usr/lib/$(MACH64)/llib-lcurses.ln \
1875 1892          /usr/lib/$(MACH64)/llib-ldevice.ln \
↓ open down ↓ 26 lines elided ↑ open up ↑
1902 1919          /usr/lib/$(MACH64)/llib-ltermcap.ln \
1903 1920          /usr/lib/$(MACH64)/llib-ltermlib.ln \
1904 1921          /usr/lib/$(MACH64)/llib-lthread.ln \
1905 1922          /usr/lib/$(MACH64)/llib-lthread_db.ln \
1906 1923          /usr/lib/$(MACH64)/llib-ltsnet.ln \
1907 1924          /usr/lib/$(MACH64)/llib-ltsol.ln \
1908 1925          /usr/lib/$(MACH64)/llib-lumem.ln \
1909 1926          /usr/lib/$(MACH64)/llib-luuid.ln \
1910 1927          /usr/lib/$(MACH64)/llib-lxnet.ln \
1911 1928          /usr/lib/$(MACH64)/llib-lzfs.ln \
     1929 +        /usr/lib/$(MACH64)/llib-lzfs_core.ln \
1912 1930          /usr/lib/$(MACH64)/nss_compat.so.1 \
1913 1931          /usr/lib/$(MACH64)/nss_dns.so.1 \
1914 1932          /usr/lib/$(MACH64)/nss_files.so.1 \
1915 1933          /usr/lib/$(MACH64)/nss_nis.so.1 \
1916 1934          /usr/lib/$(MACH64)/nss_user.so.1 \
1917 1935          /usr/lib/fm/$(MACH64)/libfmevent.so \
1918 1936          /usr/lib/fm/$(MACH64)/libfmevent.so.1 \
1919 1937          /usr/lib/fm/$(MACH64)/llib-lfmevent.ln
1920 1938  
1921 1939  #
1922 1940  # usr/src/Makefile uses INS.dir for any member of ROOTDIRS, the fact
1923 1941  # these are symlinks to files has no bearing on this.
1924 1942  #
1925 1943  $(FILELINKS:%=$(ROOT)%):= \
1926 1944      INS.dir= -$(RM) $@; $(SYMLINK) $(REALPATH) $@
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX