1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561
|
2001-11-28 Philippe Troin <phil@fifi.org>
* libamu/mount_fs.c (mnt_flags): Drop nolock from generic mount
opts.
(compute_nfs_args): Added nolock handling.
Adapted from an original patch from Avery Pennarun <apenwarr@nit.ca>.
2001-06-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.7 ***
*******************************************************************
2001-06-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* config.guess, config.sub, doc/texinfo.tex: updates from the
latest GNU distributions.
* INSTALL, doc/am-utils.texi (Supported Platforms): update info on
freebsd5.0
* LSM.am-utils, NEWS, README.y2k, ChangeLog: make sure all
am-utils URL references use www.am-utils.org, not the columbia
URL.
2001-05-24 Erez Zadok <ezk@fsl-gw.fsl.cs.sunysb.edu>
* conf/transp/transp_sockets.c (create_nfs_service): cast to u_long
to ensure clean compile on freebsd5 and bsdi2.
2001-05-19 Erez Zadok <ezk@kosh.dyn.optonline.net>
* conf/mount/mount_linux.c: typo: added comma after '0' element.
2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* conf/mount/mount_linux.c (linux_nfs_error): don't special case
the 0 result, just put it into the translation list
2001-05-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* conf/mount/mount_linux.c (linux_nfs_error): don't report success
(0) as error (NE_IO)!
2001-05-18 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* amd/amfs_host.c (amfs_host_mount): don't fail the mount if at
least one share is already mounted
2001-05-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.6 ***
*******************************************************************
2001-05-01 Ion Badulescu <ionut@gonzales.dev.hydraweb.com>
* conf/mount/mount_linux.c: fixed stupid error in the linux
nfs_errormap[], which was mapping ENOENT to success!!!
2001-04-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* BUGS: added info about the direct mount problems on Linux and
about the kernel patches on www.am-utils.org.
* amd/autil.c (forcibly_timeout_mp): always log a message when the
forced unmount request is ignored
2001-04-23 Ion Badulescu <ionut@buggy.dev.hydraweb.com>
* amd/ops_autofs.c (autofs_lookuppn): renamed
CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS
(leftover from 03/29/01)
2001-04-14 Erez Zadok <ezk@whitestar.dyn.optonline.net>
* COPYING: update copyright year
* amd/amfs_auto.c, amd/amfs_host.c, amd/amfs_nfsx.c,
amd/amfs_toplvl.c, amd/amfs_union.c, amd/conf.c, amd/info_nis.c,
amd/info_nisplus.c, amd/mapc.c, amd/nfs_subr.c, amd/ops_nfs.c,
amd/rpc_fwd.c, amd/srvr_amfs_auto.c, amd/srvr_nfs.c,
conf/autofs/autofs_solaris_v1.c, conf/mtab/mtab_file.c,
conf/mtab/mtab_isc3.c, conf/mtab/mtab_svr4.c,
conf/transp/transp_sockets.c, conf/transp/transp_tli.c,
libamu/mount_fs.c, libamu/mtab.c: rewritten various dlog/plog
messages for clarity, to avoid duplication, to better recognize
what the message means and where it ran, and to fix typos.
* amd/nfs_subr.c (nfsproc_lookup_2_svc): moved trace message of
function's name to the beginning of the function, before any other
messages are logged.
2001-04-05 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* include/am_defs.h: define NFSCLIENT, NFS, PCFS, LOFS, RFS,
MSDOSFS, MFS and CD9660 to 1, so that both #if FOO and #ifdef FOO
work (needed for MacOS X); removed duplicate definition of NFS.
2001-04-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.6s2
2001-03-29 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* amd/amd.h, amd/amfs_auto.c, amd/conf.c,
doc/am-utils.texi,
scripts/amd.conf-sample, scripts/amd.conf.5:
renamed selectors_on_default to selectors_in_defaults,
kept the former as a deprecated option;
renamed CFM_ENABLE_DEFAULT_SELECTORS to CFM_SELECTORS_IN_DEFAULTS;
renamed gopt_selectors_on_default() to gopt_selectors_in_defaults()
2001-03-15 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* conf/mount/mount_linux.c (parse_opts): added support for lofs
(mount_linux): support lofs through bind mounts and/or FiST lofs
* scripts/ctl-hlfsd.in: search for /var/spool/mail in addition to
/var/mail and /usr/spool/mail
* conf/nfs_prot/nfs_prot_linux.h (MS_BIND): add define for it, if
kernel is newer than 2.4.0
(MNTTYPE_LOFS): ditto
* acconfig.h: added MNT2_GEN_OPT_BIND
* configure.in: bumped up library patchlevel; added detection for
the MS_BIND generic mount option
2001-02-28 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* aux/macros/check_mount_trap.m4,
aux/macros/check_nfs_fh_dref.m4,
aux/macros/check_nfs_prot_headers.m4,
aux/macros/type_recvfrom_fromlen.m4,
aux/macros/type_yp_order_outorder.m4:
Fixed newer freebsd's fh type, expanded more aix3, osf2, hpux9 to
aix[1-3], osf[1-3] and hpux[6-9].
2001-02-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* check_mount_style.m4, check_mount_trap.m4,
check_network_transport_type.m4, check_nfs_fh_dref.m4,
check_nfs_prot_headers.m4, check_nfs_sa_dref.m4,
check_nfs_socket_connection.m4, os_cflags.m4,
type_yp_order_outorder.m4: small fixes to Ion's cleanup, and more
cleanup (use [[0-1]] instead of M4 changequote commands).
* Makefile.am: removed unused conf/trap/trap_hpux11.h
2001-02-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* aux/macros/check_network_transport_type.m4,
aux/macros/check_mount_style.m4,
aux/macros/check_mount_trap.m4,
aux/macros/check_network_transport_type.m4,
aux/macros/check_nfs_fh_dref.m4,
aux/macros/check_nfs_prot_headers.m4,
aux/macros/check_nfs_sa_dref.m4,
aux/macros/check_nfs_socket_connection.m4,
aux/macros/os_cflags.m4,
aux/macros/type_auth_create_gidlist.m4,
aux/macros/type_recvfrom_fromlen.m4,
aux/macros/type_yp_order_outorder.m4:
Reworked the scripts, so that a new _unknown_ version of a known OS
will use the option for the newest _known_ version of that OS. For
example, when freebsd6 comes out, it will use the stuff for
freebsd5, not the stuff for freebsd2. This makes configure more
likely to succeed on new systems/versions.
2001-02-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_darwin.h in
distributions.
2001-02-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mtab.c: added the functions hasmnteq and haseq to
ease checks for non-numeric values in opt=value strings.
Recoded hasmntval to qualify input as numeric, allow hex and
octal strings on rhs of =, and log when the value is missing
or invalid.
* conf/mount/mount_linux.c: revised mount_linux to use new
hasmnteq function to extract type of non-nfs mounts, and added
a log message to catch possible failure of strdup.
* amd/am_ops.c: revised merge_ops to use new haseq function
* amd/srvr_nfs.c: revised find_nfs_srvr to use hasmnteq to
discover protocol setting.
* include/am_utils.h: added function prototypes for hasmnteq
and haseq
2001-02-19 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* include/mount_headers2.h (_LINUX_NFS3_H): define it, to avoid
pulling in unwanted declarations from 2.2.19pre and 2.4.1ac
* include/am_defs.h (_LINUX_NFS3_H): ditto
* conf/nfs_prot/nfs_prot_linux.h: whitespace, comments
2001-02-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_fs_mntent.m4 (ac_safe): remove debugging "echo"
command.
2001-02-18 Erez Zadok <ezk@earth.cs.columbia.edu>
* released snapshot am-utils-6.0.6s1
* aux/macros/mount_headers.m4, include/mount_headers[12].h: split
mount_headers.h in two because one relative header (nfs_prot.h)
file cannot be included inside another from the start directory of
the first (it's relative to the directory of the first).
2001-02-09 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* AUTHORS: added Ahmon Dancy <dancy@franz.com>
* (all): added Darwin/Rhapsody/Apple OS X support from Ahmon Dancy
* aux/macros/mount_headers.m4: moved all the C code into a
separate file, include/mount_headers.h; the effect is that
configure goes down in size by a factor of 2.5!
* include/mount_headers.h: new file, with C code from
aux/macros/mount_headers.m4
2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* conf/mount/mount_linux.c: made linux_nfs_error() more robust.
2001-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.5 ***
*******************************************************************
2001-02-01 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* conf/nfs_prot/nfs_prot_linux.h (nfs_error): moved the definition
of nfs_error here, from mount_linux.c, so that it can actually be
used.
* conf/mount/mount_linux.c: added unused errno 41 to the
nfs_errormap array, lest the following errno's get shifted up by
one!
2001-01-12 Ion Badulescu <ionut@buggy.dev.hydraweb.com>
* include/am_defs.h: don't allow linux/fs.h to be sucked in via
linux/auto_fs.h, it breaks the compile on glibc platforms.
Sat Jan 13 00:04:38 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* amd/amd.h (autofs_lookuppn): Fixup whitespace.
* amd/amfs_auto.c (amfs_auto_bgmount): Likewise.
* amd/amfs_error.c: (amfs_error_match): Likewise.
* amd/amfs_host.c (fetch_fhandle): Fixup whitespace. Remove
unnecessary temporary variable.
* amd/info_file.c (read_line): Likewise.
(search_or_reload_file): Likewise.
* amd/info_ldap.c (get_ldap_timestamp): Likewise.
* amd/nfs_prot_svc.c: Likewise.
* amd/ops_TEMPLATE.c (foofs_match, foofs_lookuppn,
foofs_readlink, foofs_ffserver): Likewise.
* amd/ops_autofs.c (autofs_bgmount): Likewise.
* amd/ops_lofs.c (lofs_match): Likewise.
* amd/ops_nfs.c (got_nfs_fh): Fixup whitespace.
* amd/ops_xfs.c (xfs_match): Likewise.
* amd/srvr_amfs_auto.c (srvrlog): Line break.
* amd/srvr_nfs.c (got_portmap, call_portmap, nfs_pinged,
nfs_srvr_port): Fixup whitespace.
* conf/nfs_prot/nfs_prot_bsdi2.h: Likewise.
* conf/nfs_prot/nfs_prot_hpux.h: Likewise.
* conf/nfs_prot/nfs_prot_hpux11.h: Likewise.
* conf/nfs_prot/nfs_prot_irix5.h: Likewise.
* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
* conf/nfs_prot/nfs_prot_nextstep.h: Likewise.
* conf/nfs_prot/nfs_prot_osf2.h: Likewise.
* conf/nfs_prot/nfs_prot_osf4.h: Likewise.
* conf/nfs_prot/nfs_prot_osf5_1.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos3.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos4.h: Likewise.
* conf/nfs_prot/nfs_prot_ultrix.h: Likewise.
* conf/transp/transp_tli.c (get_mount_client): Likewise.
* hlfsd/nfs_prot_svc.c: Likewise.
* include/am_defs.h (sys_errlist): Likewise.
* include/am_utils.h (am_get_progname, am_get_hostname,
amq_program_1): Likewise.
(nfsxprt): Moved declaration.
Fri Jan 12 23:46:31 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* hlfsd/hlfsd.h (HLFSD_VERSION): Bump copyright year to 2001.
Fri Jan 12 23:31:45 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Removed support for amq -M.
* acconfig.h (ENABLE_AMQ_MOUNT): Removed.
* aux/macros/opt_amq_mount.m4: Removed.
* Makefile.am (EXTRA_DIST_AUX): Don't distribute
opt_amq_mount.m4.
* configure.in (AC_OPT_AMQ_MOUNT): Removed invocation.
* amd/amq_subr.c (ok_security, amqproc_mount_1_svc): Removed.
* amd/amq_svc.c (amq_program_1): Removed amq -M support.
* amq/amq.c (mount_map): Removed.
(main): Removed -M option handling.
Removed transport-type specific CLIENT creation.
(get_secure_amd_client, amq_bind_resv_port, privsock): Removed.
* amq/amq.8: Removed -M documentation.
* doc/am-utils.texi (Top-level Filesystem): Removed amq -M
reference, but retain comment on mount -t amd.
(Controlling Amd): Likewise.
* tasks: Removed this task.
2001-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* Makefile.am (EXTRA_DIST): distribute new LDAP files.
* README.ldap, ldap-id.txt, ldap-id.ms: LDAP status information,
proposed Schema, and internet draft.
Fri Jan 12 22:27:07 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* Support Tru64 UNIX V5.1:
* conf/nfs_prot/nfs_prot_osf5_1.h: New file.
* Makefile.am (EXTRA_DIST_CONF): Distribute it.
* aux/macros/check_nfs_prot_headers.m4: Tru64 UNIX V5.1 has
AutoFS, need to disable it until a port exists.
* INSTALL, doc/am-utils.texi (Supported Platforms): Mention new
minor port.
2001-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* ALL: bump copyright year to 2001.
2001-01-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* acconfig.h: correct comments for NODEV/NONDEV mount options
Fri Jan 5 05:12:02 2001 Erez Zadok <ezk@subzero.cs.columbia.edu>
* libamu/xdr_func.c: removed ugly casts to "groups*", now that
irix6's nfs_prot.h is fixed.
* conf/nfs_prot/nfs_prot_irix6.h: copied relevant parts of
<rpcsvc/mount.h> here so we don't have to include this header.
2001-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_irix6.h: redefine "groups" typedef to
struct groups, not the pointer to this struct.
* include/am_xdr_func.h: prototype should take "groups *" as 2nd
arg.
* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): change
casting of second arg of xdr_groups to "groups *". It's only
needed for irix6, due to problems with xdr_groups on that platform.
(xdr_groups): prototype should take "groups *" as 2nd arg.
* conf/nfs_prot/nfs_prot_aix*.h: correct xdr_groups extern
definition. Report from Ahmon Dancy <dancy@franz.com>.
2000-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.5s4
* minor port i386-unknown-freebsd4.2 (documented)
2000-12-07 Ion Badulescu <lionut@gonzales.dev.hydraweb.com>
* configure.in (LIBTOOL_LDFLAGS): fix libtool version
2000-12-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* doc/am-utils.texi (opts Option): document lock/nolock
* libamu/mount_fs.c (mnt_flags): allow the use of the "nolock"
option
* include/am_defs.h: don't include <linux/fs.h> on a glibc2 system
* include/am_compat.h: define the "nolock" mnttab option if the
NONLM NFS mount option is defined
* acconfig.h: added MNT2_NFS_OPT_NONLM
* configure.in: added detection of the NONLM Linux NFS mount
option; added a clarification for the library versioning rules and
increased the patchlevel
2000-11-27 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* libamu/wire.c (getwire_lookup): truncate the hostname to
MAXHOSTNAMELEN characters.
2000-11-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_utils.h (MAXHOSTNAMELEN): if not defined, set this to
256 bytes, not 64. Suggestion form Kris Kennaway
<kris@FreeBSD.org>.
2000-11-26 Erez Zadok <ezk@dmath5.geometrie.tuwien.ac.at>
* configure.in (AC_CHECK_MNT2_NFS_OPTS): check for NFS mount
options kerb, rdirplus, readdirsize, and xlatecookie
(NetBSD-1.5K).
* acconfig.h: recognize NFS mount options rdirplus, readdirsize,
and xlatecookie (NetBSD-1.5K)
2000-11-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/srvr_nfs.c: comment on NFS proto search order.
* libamu/xutil.c (real_plog): don't try to write the last byte of
the fmt buf. Security suggestion from NetBSD: Thomas Klausner
<wiz@danbala.ifoer.tuwien.ac.at>
2000-11-22 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* amd/amfs_auto.c (amfs_auto_bgmount),
amd/ops_autofs.c (autofs_bgmount): removed the initialization of
fattr.na_fileid, it is now done in map.c when the map is initialized
* amd/map.c (init_map): initialize fattr.na_fileid to am_gen, not
to 0, to avoid cache aliasing problems on Linux (and to follow the
NFS spec!)
2000-11-22 Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>
* libamu/mount_fs.c (mount_fs): avoid using extra limited-size buf
(security)
* libamu/xutil.c, fsinfo/fsinfo.h, include/am_utils.h: use
__attribute__, __format__, and __printf__ for GCC string auditing.
* wire-test/wire-test.8: this is not a section 8L man page.
* libamu/xutil.c (expand_error): don't use sys_nerr on systems
that support strerror().
(dplog): fmt is const
(plog): fmt is const
(real_plog): fmt is const. use new expand_error function with its
new return value. be more careful about running off the end of
char[] fixed size buffers.
* libamu/wire.c (getwire): fix alignment error on alpha using an
extra automatic storage variable ifrpool.
* hlfsd/hlfsd.c (fatal): use proper printf style to plog.
* fsinfo/fsinfo.c (find_username): getlogin() returns a const.
* fsinfo/fsi_util.c (error, lerror, lwarning, fatal, log): use
vfprintf.
* fsinfo/fsi_lex.l (yyerror): use vfprintf.
* fixmount/fixmount.8: this is not a section 8L man page.
* doc/am-utils.texi (Hesiod maps): fixed typo.
* amd/sched.c (do_task_notify): typo in comment.
* amd/opts.c (expand_op): expand_error[] is a const char *.
* amd/amd.c (main): use proper printf style to plog.
2000-11-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (mnt_flags, compute_nfs_args): recognize
proplist mnttab flag. Bug fix from Wolfram Klaus
<klaus@physik.fu-berlin.de>.
2000-11-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.5s3
* updated config.guess, config.sub, and doc/texinfo.tex from
mirrors
* Makefile.am (update): proper updating of config.* and texinfo
from mirrors.
* aux/macros/check_nfs_prot_headers.m4: newer netbsd systems
reports their system name as "netbsdelf" in config.guess.
2000-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.5s2
2000-11-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (opts Option): document new mount option
"proplist"
* include/am_compat.h: define amd mount option "proplist" if the
system doesn't recognize it, but the NFS bit flag exists.
* configure.in, acconfig.h: recognize/support "proplist" NFS mount
option in Amd, useful under DU-4.0 to process ACLs over NFS
mounts.
2000-11-10 Ion Badulescu <ib42@earth.cs.columbia.edu>
* conf/mount/mount_linux.c (mount_linux): removed unnecessary
rsize/wsize defaults -- performance killers on 2.2.18+ and 2.4.0+
2000-11-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* MIRRORS (Note): added a mirror at ufl.edu
2000-10-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/am-eject.in: accept "cdrom" and "floppy" as arguments.
2000-10-11 Erez Zadok <ezk@lorien.dev.hydraweb.com>
* amq/amq.8: synchronize Amq's options with reality
* amq/amq.c (main): synchronize Amq's usage() string with reality
2000-10-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-amd.in: add targets condrestart (redhat) and
reload.
2000-10-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/lostaltmail.in (vrfy_user): ensure that MAILDIR is
defined.
2000-10-02 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* aux/macros/mount_headers.m4: only include <linux/fs.h>
on a non-glibc2 system
* aux/macros/try_compile_anyfs.m4: ditto
* aux/macros/check_mount_type.m4: linux 2.4 stores loadable modules
in a different directory structure
* aux/macros/check_mnttab_type.m4: ditto
* aux/macros/check_fs_mntent.m4: ditto; also, replace the nfs3
linux hack with a hopefully more stable hack
2000-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/opts.c (backslash): Bell char (ASCII 007) should be \g, not
\a.
2000-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_utils.h: removed unused field opt_autopref
* amd/opts.c: removed unused variable $autopref
2000-09-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.5s1
2000-09-11 Ion Badulescu <ionut@moisil.dev.hydraweb.com>
* aux/macros/check_fs_mntent.m4 (_LINUX_NFS_XDR_H): define it so
linux/nfs_xdr.h doesn't get included (not intended for user space)
2000-09-05 Erez Zadok <ezk@aladdin.dev.hydraweb.com>
* conf/mtab/mtab_svr4.c (lockfile): function not needed unless
MOUNT_TABLE_ON_FILE is defined.
mtlckname static var is onlyneeded if MOUNT_TABLE_ON_FILE.
(update_mnttab_fields): only needed if MOUNT_TABLE_ON_FILE.
2000-09-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* buildall (Usage): typo in usage string
2000-08-25 Erez Zadok <ezk@lynn.soscorp.com>
* conf/mount/mount_linux.c (mount_linux): MNT2_NFS_OPT_VER3 may
is no defined on older Linux systems (kernel 2.0.36)
2000-08-19 Erez Zadok <ezk@earth.cs.columbia.edu>
* scripts/amd.conf.5: correct swapped descriptions for ldap_base
and ldap_hostports.
* doc/am-utils.texi: correct swapped descriptions for ldap_base
and ldap_hostports.
* scripts/amd.conf-sample: swap examples for ldap_base and
ldap_hostports.
2000-08-13 Erez Zadok <ezk@earth.cs.columbia.edu>
* scripts/amd.conf-sample: -O is CLI equivalent to "os"
amd.conf parameter
2000-07-30 Erez Zadok <ezk@earth.cs.columbia.edu>
* scripts/amd.conf-sample (nfs_retransmit_counter): correct
meaning and use of parameter
2000-07-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi: updated URLs to www.am-utils.org.
2000-07-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.4 ***
*******************************************************************
2000-07-08 Erez Zadok <ezk@earth.cs.columbia.edu>
* configure.in: update shared library information
2000-07-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* INSTALL: document osf4.0f
* doc/am-utils.texi (Supported Platforms): document osf4.0f
2000-06-19 Erez Zadok <ezk@vir.cs.columbia.edu>
* doc/am-utils.texi (dollar Selector Variable): document
${dollar}.
* amd/opts.c: special new variable ${dollar} which expands into a
literal '$' sign. Otherwise there is no way to include a literal
dollar symbol in an amd map.
2000-06-11 Erez Zadok <ezk@earth.cs.columbia.edu>
* amd/opts.c: correct comment name at top of opt_fields.
2000-06-11 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* config.guess.long: munge config.guess' output so that intel
linux appears as i386-pc-linux
Fri Jun 9 16:06:56 2000 Erez Zadok <ezk@defiant.dev.hydraweb.com>
* conf/nfs_prot/nfs_prot_bsdi2.h: getifaddrs() on bsdi2 is broken.
Don't use it.
2000-06-09 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* amd/mapc.c (maptypes): Change default allocation mode to
MAPC_INC where reload support is missing to avoid warning in
mapc_create().
2000-06-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos5_5.h: turn off autofs support for
solaris 2.5 until a full port can be done.
2000-06-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.4s5
* Makefile.am, aux/GNUmakefile: fix maintainer rules to update
config.* and texinfo.tex files.
* amd/nfs_subr.c (nfsproc_getattr_2_svc): Don't conditionalize the
mtime update of the symlinks on the SYMTTL option, but rather
delay unmount of what was looked up using am_timeo_w. Patch from
Nick Williams <Nick.Williams@msdw.com>. As Nick says "Basically:
during unmount, increment the parent dir's mtime (fixes people
doing amq -u). During stat, increase the TTL (to fix bad-luck
timeouts), but leave the mtime alone."
(nfsproc_lookup_2_svc, nfsproc_readlink_2_svc, unlink_or_rmdir,
nfsproc_readdir_2_svc): correctly update d_drops stats for amq -s.
Patch from Nick Williams <Nick.Williams@msdw.com>.
* amd/map.c (unmount_mp): update mtime of amd symlink to further
reduce the chances of race conditions between unmounting and
looking up an entry again. Patch from Nick Williams
<Nick.Williams@msdw.com>.
* README: updated instructions
* bootstrap: remove log file before existing
2000-06-06 Erez Zadok <ezk@aladdin.dev.hydraweb.com>
* configure.in: no longer using aux/ subdir. don't force autoconf
2.14. comment out (but leave explanation) everything that's needed
for autoconf 2.14, so for now it works with autoconf-2.13, but the
code is ready for 2.14 when it is released. Similar changes to
make code work with automake-1.4, until the next release comes
out.
* libamu/Makefile.am: include definitions that are required in
automake 1.4, but won't be necessary when the next release of
automake comes out (see XXX comments).
* cache_check_dynamic.m4, check_checkmount_style.m4,
check_mnttab_style.m4, check_mount_style.m4,
check_network_transport_type.m4, check_nfs_prot_headers.m4,
check_umount_style.m4: use symlink creation code that works for
both autoconf 2.13 and 2.14 (when the latter comes out).
* bootstrap: new script for maintainers to run to update autoconf,
automake, and libtool related files. Has the same effect as
"buildall -K".
* removed dependencies on CVS versions of autoconf, automake, and
libtool, especially the modified automake I had. This is so that
maintainers could built the auto* files out of the latest released
GNU autoconf, automake, and libtool. However, without my nice
patches to automake, many files that used to live in the aux/
subdir now were moved to the top level source directory: acconfig.h,
acinclude.m4, aclocal.m4, aux_conf.h.in, config.guess,
config.guess.long, config.h.in, config.sub, configure.in, depcomp,
install-sh, ltconfig, ltmain.sh, missing, and mkinstalldirs. Also
texinfo.tex and mdate-sh moved from aux/ dir to doc/ dir.
2000-06-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* cvs-server.txt: instructions for maintainers to access the CVS
server for am-utils.
2000-06-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/am_ops.c (ops_match): changed XLOG_USER messages about
merging addopts options to the more appropriate XLOG_INFO. Patch
submitted by Tom Schmidt <tschmidt@micron.com>.
* config.{guess,sub}: make sure chmod'ed a+rx. Updated from
latest GNU copies.
2000-05-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.4s4
2000-05-29 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* conf/transp/transp_sockets.c (amu_svc_getcaller): cast result of
svc_getcaller() to sockaddr_in, to appease glibc 2.2
2000-05-28 Erez Zadok <ezk@mulberry.mcl.cs.columbia.edu>
* doc/am-utils.texi (Network Filesystem Group): minor typos
2000-05-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amfs_auto.c (amfs_auto_readdir_browsable): cast pointers to
long for 64-bit architectures.
* libamu/xutil.c (amu_release_controlling_tty): eliminate an
unused variable "tempfile"
* libamu/wire.c (getwire_lookup): handle calling irs_gen_acc with
one or two arguments (bsdi3 vs. bsdi4)
2000-05-26 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* libamu/xutil.c (amu_release_controlling_tty): close standard
file descriptors, re-open them as /dev/null
* include/am_defs.h: don't try to include both <ndbm.h> and
<db1/ndbm.h>, it really doesn't work
2000-05-16 Ion Badulescu <ib42@earth.cs.columbia.edu>
* hlfsd/stubs.c (nfsproc_lookup_2_svc): added code to update mtime
on lookup if MNT2_NFS_OPT_SYMTTL is not defined (copied from
getattr). This fixes the problem introduced by the Linux nfsv3
patches.
2000-04-30 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
* include/am_defs.h, aux/macros/mount_headers.m4,
aux/macros/try_compile_anyfs.m4: include linux/kdev_t.h and
linux/list.h before including linux/fs.h, and define __KERNEL__
for those two headers. All of this to get a couple of definitions
that are needed in the new struct vfsmount.
* aux/configure.in: look for <linux/kdev_t.h> and <linux/list.h>.
* include/am_defs.h, aux/macros/mount_headers.m4: avoid conflicts
between linux/in.h. and netinet/in.h (linux-2.3.99-pre6), by
defining _LINUX_IN_H so it doesn't get included.
2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new ports: i686-pc-linux-gnu-rh6.2,
i386-unknown-freebsdelf3.4, i586-pc-linux-gnu-rh6.2.
2000-04-03 Erez Zadok <ezk@vir.cs.columbia.edu>
* aux/acconfig.h: move all #undef macros above @TOP@, so they can
be recognized by pickier autoconf.
2000-04-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/cache_check_dynamic.m4 (ac_tmp): use correct echo -n
or \c.
2000-03-25 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
* include/am_defs.h: ditto
* aux/macros/{mount_headers,try_compile_anyfs}.m4: force
non-inclusion of <linux/string.h>. Breaks build on newer 2.3
kernels.
2000-02-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Amq -w option): document new amq -w option.
* amq/amq.8: document new amq -w option.
* amq/amq.c: disable last remains of insecure amq -M code.
(main): add amq -H option to show usage.
(main): new amq -w option, translates getpwd() into an amd path.
2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new port: alphaev6-dec-osf5.0
* doc/am-utils.texi (Supported Platforms): hpux-11 supports NFSv3,
but only for UDP.
* released snapshot am-utils-6.0.4s3
* conf/nfs_prot/nfs_prot_hpux11.h: support NFSv3 in hpux-11. Note
that hpux-11 NFSv3 supports UDP only, and trying TCP locks up the
kernel! Must set nfs_proto=udp in amd.conf [global].
* aux/config.guess.long: set and export PATH separately. DU5
/bin/sh doesn't like setting it on the command line in a
back-tick'ed `script`.
2000-02-24 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* Makefile.am: removed struct_nfs_mount_data.m4
* aux/macros/struct_nfs_mount_data.m4: deleted
* aux/acconfig.h: removed definition for HAVE_NFS_MOUNT_DATA
* aux/configure.in: removed check for struct nfs_mount_data
2000-02-24 Ion Badulescu <ib42@beetle.mcl.cs.columbia.edu>
* amd/amfs_auto.c (amfs_auto_bgmount): changed log message to
avoid having 'failed' in a message not indicating a failure
(amfs_auto_lookuppn): ditto
* amd/ops_autofs.c (autofs_bgmount): ditto
(autofs_lookuppn): ditto
2000-02-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* added .cvsignore files into the CVS repository.
* remove files which can be regenerated: .in, configure, some
files in aux/, and more.
2000-02-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (nfs_vers/nfs_proto): description of two
parameters was reversed. Reported by Paul Jenner
<p.jenner@eim.surrey.ac.uk>.
2000-02-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.4s2
* amd/mntfs.c (realloc_mntfs): don't fallback on certain ops such
as inherit, error, and toplvl (failover code).
* amd/conf.c (gopt_nfs_vers, gopt_nfs_proto): two new (documented)
global options in amd.conf: one to set the NFS version globally
(i.e., nfs_vers=2), and one to set the NFS protocol globally
(i.e., nfs_proto=udp).
* amd/mntfs.c (realloc_mntfs): attempt to fix the failover code,
so when a matching mount entry failed, try the next one.
2000-02-15 Erez Zadok <ezk@moisil.cs.columbia.edu>
* amd/amfs_auto.c: a new debug option "readdir" to trace the
progress of the browsable_dirs code.
* conf/mount/mount_linux.c (mount_linux): ensure that the new
linux NFSv3 code works for v2-only machines.
2000-02-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: cleanup unused dnl entries.
* conf/mount/mount_linux.c (parse_opts): typo: check for string
equality, not string inequality for pcfs and cdfs.
* aux/acconfig.h: look for MNT2_NFS_OPT_INTR as well.
* libamu/mount_fs.c (compute_mount_flags): check for INTR and
NOINTR options as well (intr was never passed to linux mount
syscall).
2000-02-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.4s1
* aux/GNUmakefile: buildall -k (for maintainers) temporarily now
ignores autoconf warnings: "The macro `AC_OUTPUT_COMMANDS' is
obsolete". It is harmless but annoying, and will be fixed when
autoconf and automake in their respective CVS trees are working
and in sync again.
* scripts/amd.conf.5: document -D hrtime,xdrtrace
* all man pages: update copyright to 2000.
* doc/am-utils.texi: update copyright to 2000.
Wed Feb 9 14:22:31 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* include/am_utils.h (D_XDRTRACE): Define.
(D_TEST): Disable here.
* libamu/xutil.c (dbg_opt): Handle it.
* doc/am-utils.texi (-D-Option): Document it.
* libamu/xdr_func.c: Use it instead of D_TRACE.
* include/am_utils.h (D_HRTIME): Define.
* doc/am-utils.texi (-D-Option): Document it.
* libamu/xutil.c (show_time_host_and_name): Print high-resolution
timestamp if available and activated.
* aux/configure.in (clock_gettime): Check for it in -lrt and
-lposix4.
* hlfsd/hlfsd.c (mnttab_file_name): Initialize to MNTTAB_FILE_NAME
if defined, even for some systems with in kernel mount tables.
2000-02-08 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* aux/macros/mount_headers.m4: remove #if 0 around linux/nfs.h to
allow compiles against libc5
* aux/macros/check_mnttab_type.m4: avoid detecting nfs3 under
linux when the kernel doesn't support it
* include/am_compat.h: add workaround for linux efs
2000-02-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: test for ANSI C compiler (before AC_C_CONST).
Comment out unused AC_STRUCT_ST_RDEV (which is obsolete anyway).
2000-02-07 Ion Badulescu <ionut@moisil.cs.columbia.edu>
* libamu/mount_fs.c (compute_nfs_args): turn on VER3 option for
nfs (linux NFSv3).
* include/am_defs.h: avoid reinclusion of some header files under
linux.
* conf/nfs_prot/nfs_prot_linux.h: support NFSv3.
* conf/mount/mount_linux.c (mount_linux): support nfs mount
(implementation) version 4 for NFSv3.
* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS.
* aux/macros/mount_headers.m4: don't include <linux/fs.h> (may
need to fix the code on other linux machines).
* aux/macros/check_mnttab_type.m4 (ac_safe): ditto.
* aux/macros/check_fs_mntent.m4 (ac_safe): check for nfs3 option
under linux (depends on ac_cv variable, is that a good idea?)
* added NFSv3 support for linux
* aux/{configure.in,acconfig.h}: new option ver3
* aux/macros/mount_headers.m4: commented out inclusion of
linux/fs.h, it's not needed on rh61 (and actually generates
conflicts), we should see if it's still needed on libc5 systems
* aux/macros/try_compile_nfs.m4: use AC_MOUNT_HEADERS rather than
try to have its own (out of date) list of headers and ifdef's and
...
2000-02-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.3 ***
*******************************************************************
2000-02-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_default.c: dummy empty file to work around a
limitation of automake (it looks for LIBBOBJS in aclocal.m4 and
processes them even if they are optional, enclosed in if/else).
2000-01-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.3s5
2000-01-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* update to use latest version of autoconf, automake, and libtool.
* aux/GNUmakefile (depcomp): "make update" should also update the
depcomp script.
* Makefile.am (EXTRA_DIST_AUX): include depcomp in distribution.
* aux/configure.in: use renamed AC_CHECK_AMU_FS.
* aux/macros/check_amu_fs.m4: renamed macro name and file name to
say AMU_FS, not AM_FS.
* aux/acconfig.h: renamed HAVE_AM_FS_* to HAVE_AMU_FS_* because
latest version of autoconf doesn't handle it (bug in 2.14a)
* aux/configure.in: require version 2.14 of autoconf.
* amd/mapc.c (mapc_reload_map): more fixes from Nick Williams.
* doc/am-utils.texi (Automount Filesystem): document type:=auto
map browsability option.
* amd/mapc.c (make_entry_chain): patch from Steven Danz
<sdanz@awc.kc.noaa.gov> to allow browsable auto maps.
2000-01-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.3s4
* amd/mapc.c (mapc_reload_map): fixes to sync maps even if they
are set to mapcache:=sync. Fix from Nick Williams
<Nick.Williams@msdw.com>.
2000-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.3s3
* minor port to i386-unknown-netbsd1.4.1
* amd/nfs_subr.c (nfsproc_getattr_2_svc): patch from Nick Williams
<Nick.Williams@msdw.com> to fix (or reduce the incidence of) stale
file handles when doing rapid mounts and umounts in succession
such as "ls /vol/foo ; amq -u /vol/foo ; ls /vol/foo"
2000-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor port to i386-pc-bsdi4.1.
2000-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/wire.c (getwire_lookup): pass NULL as conf_file (2nd)
argument to irs_gen_acc(), which was changed in bsdi 4.1.
2000-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/get_args.c (get_args): don't use MNTTAB_FILE_NAME for
systems with in-kernel mount tables unless this macro is defined
(Solaris 8).
2000-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* ALL: bump copyright year to 2000.
1999-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_svr4.c (mount_svr4): optionstr exists on
solaris 7, but should not be used unless MAX_MNTOPT_STR also
exists (solaris 8).
* doc/am-utils.texi (opts Option): document new mount option:
optionstr.
Fri Dec 10 01:31:53 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* conf/trap/trap_svr4.h (MOUNT_TRAP): Pass mount option string to
mount_svr4().
(mount_svr4): Adapt prototype.
* conf/mount/mount_svr4.c (mount_svr4): Pass them to kernel so
they are evaluated and show up in Solaris 8 in-kernel mnttab.
* aux/configure.in: Check for new Solaris 8 MS_OPTIONSTR mount(2)
option.
* aux/acconfig.h (MNT2_GEN_OPT_OPTIONSTR): Provide template.
1999-12-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.3s2
1999-12-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (opts Option): document noexec and nomnttab
(new to Solaris 8).
* Makefile.am (EXTRA_DIST_CONF): include nfs_prot_sunos5_8.h in
distribution.
* applied fixes from Reiner Orth for Solaris 8.
* libamu/wire.c (getwire): increment the cp pointer in the loop
body, because the ioctl() inside the "for" loop will overwrite the
ifr structure, thus not detecting all of the interfaces. Bug
reported and fixed by Amitha Perera <perera@cs.rpi.edu>.
Thu Dec 9 19:09:38 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* conf/mtab/mtab_svr4.c (unlockmnttab, lockmnttab): No-ops if
MOUNT_TABLE_ON_FILE.
* amd/get_args.c (get_args): Initialize mnttab_file_name even for
in-kernel mount table. conf/mtab/mtab_svr4.c (read_mtab) depends
on a non-NULL value.
* amd/info_ldap.c (get_ldap_timestamp): Don't peek into opaque
LDAP structure to get error code, but use it directly.
(amu_ldap_search): Likewise.
* conf/nfs_prot/nfs_prot_sunos5_7.h: Rip superfluous and wrong
ldap support.
* conf/nfs_prot/nfs_prot_sunos5_8.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos5_8.h: New file, doesn't typedef
nfsstat, already in <nfs/nfs.h>.
* aux/macros/check_nfs_prot_headers.m4: Use it for all Solaris
versions beyond 7.
Allow for micro versions of SunOS 5.[67].
* aux/configure.in: Check for new Solaris 8 Beta Refresh
MS_NOMNTTAB mount(2) option.
* aux/macros/check_mnttab_location.m4: Use it to test for
mntfs-based in-kernel mnttab.
* aux/macros/os_cflags.m4: Treat Solaris 8 and higher like 2.6/7.
* aux/macros/check_fs_headers.m4: Revert test for duplicate
objects.
* aux/macros/check_fs_mntent.m4: Likewise
* aux/macros/HEADER: Fixed typo.
* include/am_defs.h: Likewise.
1999-12-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/*.m4: prepare for hpux-12 (assume same as hpux-11)
1999-11-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* BUGS: document glibc-2.1 nis file descriptor leak in yp_bind.
* amd/info_ldap.c (string2he): updated function which does not
corrupt strings when called more than once. Patch from
JOHANN.PFEFFERL.JP@germany.agfa.com.
1999-11-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* MIRRORS (Asia): two new mirrors in Japan.
1999-11-10 Erez Zadok <ezk@kosh.cs.columbia.edu>
* doc/am-utils.texi: document new variables for ${uid} and ${gid}.
* amd/nfs_subr.c (nfsproc_lookup_2_svc): find the uid/gid of the
last lookup from the RPC credentials.
* aux/configure.in: upped version-info to 4:0:2 because I've added
a new interface to libamu.
* libamu/misc_rpc.c (getcreds): moved function from hlfsd to here,
so it can be used by amd.
* amd/opts.c: new variables ${uid} and ${gid}.
1999-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-amd.in: add "status" command that tells you if amd
is running on not (same output as RedHat scripts).
Added start_msg and stop_msg targets as they are used on HPUX.
reported by Jon Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
1999-10-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.3s1
1999-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amd.c (main): On AIX you must lower the stack size using
ulimit() before calling plock. Otherwise plock will reserve a lot
of memory space based on your maximum stack size limit. Since it
is not easily possible to tell what should the limit be, I print a
warning before calling plock(). See the manual pages for
ulimit(1,3,4) on your AIX system.
* include/am_defs.h: define default extern for vsnprintf()
* aux/configure.in: check for extern definition for vsnprintf()
1999-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amfs_auto.c (amfs_auto_bgmount): patch from Nick Williams
<njw@ms.com>. SYMPTOMS: 'occasionally' sublinks do not point to
the correct location, but to the top level of the mountpoint and
an (error-hook) is seen being mounted in the log file. This causes
things to Go Wrong(TM).
CAUSE: When evaluating two locations which are requested
'practically simultaneously', and the two locations resolve to the
same NFS mountpoint (but different sublinks), the later request
will be "deferred" and retried after wakeup when the first mount
succeeds. To do this, it rewinds the options location string to
re-evaluate the location when the mount is retried. However, it
shouldn't rewind the options for two reasons: (a) the semantics of
the map language say you shouldn't and (b) the NFS mount reference
is not reset at the same time, meaning that on the retry it will
have an options structure out-of-sync with the mount
structure. The "shortcut" code when retrying the mount sees the
mount structure is already filled in and does not fully evaluate
the options structure.... so if the first location is not the one
which ties in with the mountpoint (see ordering in the
recreate-by), you're now well messed up.
* BUGS: mention aix4.3 plock() bug (memory usage blows up and
plock fails)
1999-10-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/GNUmakefile: certain files should be copied if they are
newer, not also if they are bigger: install-sh, ltconfig,
ltmain.sh, mdate-sh, missing, mkinstalldirs, and texinfo.tex.
* minor new port: i586-pc-linux-gnu-rh6.1 (RedHat Linux 6.1)
1999-10-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_nfs_prot_headers.m4: prepare for OSF-5.
* aux/macros/check_nfs_fh_dref.m4: prepare for Tru64, aka OSF-5.
1999-09-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.2 ***
*******************************************************************
1999-09-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_linux.c (mount_linux): print the updated mount
flags.
* doc/am-utils.texi: document $full_os and $vendor.
* scripts/amd.conf-sample: examples of $full_os and $vendor.
* scripts/amd.conf.5: document $full_os and $vendor.
* amd/conf.c: add support for $full_os and $vendor.
1999-09-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (netgrp Selector Function): don't give
examples with old single '=' assignment variable. Use foo:=bar.
* amd/amfs_auto.c (amfs_auto_bgmount): corectly indent long
comment describing this complex function.
* doc/Makefile.am (alldocs): do install-ps last (because distiller
is slow) and install-html next to last (because texi2html is also
slow).
* amd/amd.8: Major fixes to the description of the option -t
timeout.retransmit.
* doc/am-utils.texi: better description of "trace" debug option.
amd -H (not -v) shows log_options and debug_options. Major fixes
to the description of amd -t timeout.retransmit, and the amd.conf
parameters nfs_retransmit_counter and nfs_retry_interval.
* scripts/amd.conf.5: better description of "trace" debug option.
amd -H (not -v) shows log_options and debug_options. Major fixes
to the description of the parameters nfs_retransmit_counter and
nfs_retry_interval.
1999-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Automount Filesystem): cache:= is not a mount
option, but a mount map option.
* libamu/xutil.c (switch_to_logfile): log the name of the log file
we switched into, after the log file had been [re]opened.
1999-09-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/mapc.c (mapc_reload_map): count and show the number of times
a map was reloaded. Only reload a map if its modify-time was
updated. But amq -f forced a reload no matter what.
* amd/amd.h: new flag to struct mnt_map to count number of times a
map was reloaded.
* amd/mapc.c (mapc_reload_map): attempt to reload the map without
losing current data by reloading into a temp copy, and switching
the hashes round only if the reload was successful. Patch from Jon
Peatfield <J.S.Peatfield@damtp.cam.ac.uk>.
(mapc_sync): mapc_reload_map() always succeeds.
1999-09-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_ldap.c (amu_ldap_rebind): don't busy-loop trying to
rebind to an LDAP server forever. Try up to 10 times.
* fsinfo/fsi_lex.l (yyerror): rework code that will never happen
* released snapshot am-utils-6.0.2s2
* aux/configure.in: bumped library version-info to 3:2:1, since
some libamu code got changed.
* libamu/xutil.c (real_plog): use vsnprintf, not vsprintf, which
is better and more secure. Fix from "David O'Brien"
<obrien@NUXI.com>.
* aux/configure.in: check for vsnprintf.
1999-09-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/linux_headers.m4: use AC_MSG_ERROR.
* aux/macros/opt_{cppflags,ldflags,libs,amu_cflags}.m4: the ARG is
not optional. Make sure ARG is supplied else flag an error.
1999-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor port i386-unknown-freebsdelf3.3
* released snapshot am-utils-6.0.2s1
1999-09-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in (AC_CHECK_FUNCS): check for getitimer().
* include/am_defs.h: extern definition for getitimer().
* aux/configure.in: use AC_CHECK_EXTERNS. Look for getitimer()
extern.
* aux/macros/check_extern.m4: define a simple AC_CHECK_EXTERNS
that calls AC_CHECK_EXTERN in a loop. This saves repeated code in
configure.
* aux/macros/type_auth_create_gidlist.m4: AIX 4.x systems use
'int' as the 5th arg to authunix_create().
* aux/macros/type_recvfrom_fromlen.m4: all AIX 4.x systems use a
size_t for the 6th arg of recvfrom().
* aux/macros/os_cflags.m4: define _XOPEN_EXTENDED_SOURCE for
aix4.x systems.
* libamu/mount_fs.c (print_nfs_args): cast some values to int, to
avoid gcc -Wall errors.
* scripts/expn.in: use sockaddr_in(), not pack() to correctly fill
in a struct sockaddr_in. On Solaris x86 hosts, using pack()
results in byte-misaligned values. Bug fix from Jeffrey C Honig
<jch@BSDI.COM>.
* libamu/mount_fs.c (compute_automounter_mount_flags): turn on
automntfs (ignore on bsdi-4.1) flag.
(compute_automounter_nfs_args): ditto.
* aux/acconfig.h: add new flag for automntfs (ignore)
* aux/configure.in: check for new automntfs flag (bsdi-4.1).
1999-09-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* MIRRORS: added new site in Germany. Updated status of umn.edu
and ferginc.com, who may no longer be mirroring am-utils.
1999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0.1 ***
*******************************************************************
1999-09-08 Erez Zadok <ezk@cs.columbia.edu>
* aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
netexport defined.
* aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
struct netexport defined.
1999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_field.m4 (ac_upcase_var_name): include
<ifaddrs.h> so we can detect fields within struct ifaddrs.
* libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
getifaddrs() and struct ifaddrs has no ifa_next field.
* aux/configure.in: check if 'struct ifaddrs' has a field
ifa_next.
* include/amq_defs.h (AMQ_STRLEN): double size of amq string
length to 2048 bytes.
* conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
header files and ufs/ufs/ufsmount.h. Bug reported by <Christos
Zoulas> christos@zoulas.com.
* aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
Bug reported by <Christos Zoulas> christos@zoulas.com.
* aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
1999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/xutil.c (expand_error): use strerror if available instead
of sys_errlist. Bug reported by <Christos Zoulas>
christos@zoulas.com.
* hlfsd/hlfsd.c (fatal): use strerror if available instead of
sys_errlist.
* amq/amq.c (show_mi): use strerror if available instead of
sys_errlist.
* aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
nfs_prot header is used for any future (1.5 etc.) netbsd systems.
* amq/pawd.c (find_mt): check for type nfsl as well. Fix from
"Andrew J. Korty" <ajk@purdue.edu>
1999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Supported Platforms): updates for redhat
systems.
* INSTALL: updates for redhat systems.
* libamu/wire.c (getwire_lookup): spell "succeeded" correctly
1999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-amd.in: sleep 1 second between killing amd and
restarting it, because amq may respond that amd is down, where in
fact it is still trying to unmount itself after unmapping itself
from the portmapper.
* aux/config.guess.long: new script to print long version of
config.guess output.
* buildall (host_alias): use long version of config.guess.
1999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
scripts.
1999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s11
* libamu/xutil.c (expand_error): make sure expanding the string
with textual version of errno doesn't overrun the 1024 bytes
buffer.
(real_plog): null terminate msg, just in case.
* amq/amq.c (main): don't getopt -M option and don't process it
unless ENABLE_AMQ_MOUNT is on.
* amd/amq_svc.c (amq_program_1): all code that relates to amq -M
is conditional on #ifdef ENABLE_AMQ_MOUNT.
* amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
when amq -M code is disabled. Not taking any chances.
1999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s10
Sun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu>
* libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
128.59.16.0), try to shift the network out of zeros (e.g.,
128.59.16) and try again. Irix 6.4 requires short network
numbers.
1999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/wire.c (getwire_lookup): correctly compute subnet using
netmask.
* libamu/mount_fs.c (compute_automounter_nfs_args): require that
Amd's own NFS mounts use reserved ports (if possible). IP packet
security fix from Jeffrey C Honig <jch@BSDI.COM>.
* conf/transp/transp_tli.c (create_autofs_service): use correct
autofs_port. IP packet security fix from Jeffrey C Honig
<jch@BSDI.COM>.
* conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
function. IP packet security fix from Jeffrey C Honig
<jch@BSDI.COM>.
(create_nfs_service): use bind_resv_port() directly. ensure that
privileged ports are used. IP packet security fix from Jeffrey C
Honig <jch@BSDI.COM>.
* amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
from reserved ports and from a local IP address. IP packet
security fix from Jeffrey C Honig <jch@BSDI.COM>.
* amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
hard-coded 1024. IP packet security fix from Jeffrey C Honig
<jch@BSDI.COM>.
(amqproc_mount_1_svc): provide information on the caller making an
amq -M request. IP packet security fix from Jeffrey C Honig
<jch@BSDI.COM>.
* amd/map.c (free_map_if_success): If the program doing an unmount
of a program filesystem fails, amd tries to interpret the return
code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>.
* amd/info_nis.c (determine_nis_domain): don't always print
warning about NIS domain name not being set, even if NIS is not in
use.
1999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
(amu_ldap_search): initialize variable err.
1999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/wire.c: written using getifaddrs() for BSD systems,
contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
1999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
* aux/configure.in: check for irs.h and ifaddrs.h.
Increase libamu.so --version-info to 3:1:1 since we've changed the
source code for the library.
Check for getifaddrs() function.
1999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (print_nfs_args): print fields namlen and
bsize if they exist.
* conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
and ->bsize fields correctly, if those fields exist. This is a
bug in that amd neglected to set these fields, but told the
kernel it is mounting the nfs_args_t structure using mount version
3 (which requires both bsize and namlen fields).
* aux/configure.in: test for two new nfs_args_t fields (used on
newer linux with mount versions 2 and 3): bsize and namlen.
* doc/am-utils.texi (netgrpd Selector Function): document new
selector function.
* amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
test if the current host (fully-qualified name) is in the ARG host
netgroup. The netgrp() function uses the short form of a host
name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
* doc/am-utils.texi (automount2amd): document new script.
* scripts/Makefile.am: create, install, and distribute
automount2amd perl script and its man page.
* scripts/automount2amd.8: new man page for automount2amd.
* scripts/automount2amd.in: new file, contributed a in 1993 by
Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for
any automount map options specified.
1999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s9
1999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
* amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
1.
(amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
(amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
(u_int)~0.
* amd/mapc.c (make_entry_chain): NFS cookies should be
monotonically increasing, because Linux 2.3 expects that, even
though it is not in the spec (RFC-1094) for NFS V2.
1999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_lib_funcs.m4: removed unused macro.
* aux/macros/linux_headers.m4: new macro to ensure that linux
kernel headers match running kernel version.
* aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
amd is configured on linux hosts that run one kernel but have
headers for a different version.
* amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
logic which uses nis_isup and has_yp_order. Make sure it is used
correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from
Peter Breitenlohner <peb@mppmu.mpg.de>.
* include/am_defs.h: fix conflicts on linux 2.2 systems with older
libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
* scripts/lostaltmail.in: use sockaddr_in(), not pack() to
correctly fill in a struct sockaddr_in. On Solaris x86 hosts,
using pack() results in byte-misaligned values.
1999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use
better macros for case statement.
* conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
unless ldap is actually available.
* use updated config.guess and config.sub. Use newer automake
that fixes problems with distributing optional libamu files
(clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
and ualarm.c)
1999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor port i386-unknown-openbsd2.5
1999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor ports to freebsdelf 3.[0-2] and 4.0 completed
* aux/macros/check_nfs_prot_headers.m4: support freebsdelf
* aux/macros/check_nfs_socket_connection.m4: support freebsdelf
1999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s8
1999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
* include/am_defs.h: avoid various header conflicts on
RedHat/Linux 6.0 and kernels 2.2.10 or newer.
* aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
kernel 2.2.10)
* amd/amfs_program.c (amfs_program_exec): make sure logfp is
initialized dynamically to stderr if needed.
* libamu/xutil.c (dplog): make sure logfp is initialized
dynamically to stderr if needed.
(plog): ditto.
* amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
not initialized.
* libamu/xutil.c: don't initialize logfp statically to stderr,
because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
be manipulated like a variable.
* include/am_defs.h: avoid more conflicts between <linux/fs.h> and
<sys/mount.h> on 2.2 linux kernels.
include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
1999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
won't attempt to add it to the header files to distribute.
1999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/GNUmakefile: invoke aclocal with new --altdir flag.
1999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new port: i386-unknown-netbsd1.4 (ALPHA)
* aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
and <isofs/cd9660/cd9660_mount.h> because they are also included
from MOUNT_HEADERS. Causes multiple inclusion of unprotected
headers on netbsd-1.4_ALPHA.
1999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
sys_errlist extern doesn't end with [].
* aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
1999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* newer automake wants texinfo.tex to be in aux/ not doc/
1999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf_parse.y: alloca support.
* fsinfo/fsi_gram.y: alloca support.
* libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
needed.
* aux/configure.in: test for alloca support. Needed because bison
generates parsers that use alloca, and hpux9 does have alloca and
its /bin/cc doesn't support it builtin (the way gcc does).
* libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken
verbatim from bison-1.25.
* include/am_defs.h: fixed typo #errir -> #error
* released snapshot am-utils-6.0.1s7
* README.y2k: more information about am-utils' compatibility, from
Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
* scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
compliant format. Patch from Paul Balyoz
<pbalyoz@sedona.ch.intel.com>
* doc/am-utils.texi (Supported Platforms): hpux10.20 could have
nfs v.3 support (with some vendor patches), but it is turned off.
* aux/macros/os_cflags.m4: use ansi compiler options on hpux.
* conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
confusing am-utils. 10.20 with some patches has incomplete
support. Patch from Jon Peatfield
<J.S.Peatfield@damtp.cam.ac.uk>.
1999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor port i386-pc-bsdi4.0.1
1999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Supported Platforms): add forgotten listing
for powerpc-linux.
1999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/amd.conf.5: fix typo. From Jeffrey C Honig
<jch@BSDI.COM>.
* doc/am-utils.texi: document iso9660 options norrip, gens, and
extatt.
(opts Option): documented dumbtimr and noauto options. From
Jeffrey C Honig <jch@BSDI.COM>.
* include/am_compat.h: define default strings for options norrip,
gens, and extatt.
* amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
extatt.
* aux/macros/mount_headers.m4: also include
<isofs/cd9660/cd9660_mount.h> as needed.
* aux/configure.in: check for isofs mount options for bsdi4:
norrip, gens, and extatt. Reported by Jeffrey C Honig
<jch@BSDI.COM>.
* aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
(bsdi4).
1999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
* conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
1999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* get latest copies of config.guess, config.sub, ltconfig, and
ltmain.sh from libtool-1.2f.
* all Makefile.am: don't use continuation lines (using \) for
short lists of files.
* libamu/Makefile.am (DISTCLEANFILES): make distclean should
remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
Reported by Jeffrey C Honig <jch@BSDI.COM>.
* fixmount/Makefile.am (DISTCLEANFILES): make distclean should
remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>.
* Makefile.am (DISTCLEANFILES): make distclean should remove
amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by
Jeffrey C Honig <jch@BSDI.COM>.
1999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s6
1999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* INSTALL: document freebsdelf.
* doc/am-utils.texi (Supported Platforms): document freebsdelf.
1999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new ports: i386-unknown-freebsdelf3.1 and
i386-unknown-freebsdelf4.0
* aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
* aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
* aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
* amd/opts.c (eval_opts): changed log level of "executing
negated..." message from USER to INFO, as per Guntram Wolski
<gwolsk@sei.com>.
1999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* */Makefile.am (LDADD): force linking against an installed
libamu.{a,so}.
* doc/am-utils.texi (addopts Option): document remopts interaction
with addopts.
* amd/am_ops.c (ops_match): if addopts are specified, apply them
to the value of remopts as well as opts.
* amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
1999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s5
* conf/mount/mount_linux.c (mount_linux): set default nfs_args
options for ac{reg,dir}{min,man} as per the mount-2.8a package,
but only if noac option was not used.
1999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu>
* conf/mount/mount_linux.c (mount_linux): print nfs_args again
since it was updated.
(mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
and newer. Bug was found by Neil Conway
<nconway.list@ukaea.org.uk>
1999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s4
1999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amq/amq.c (main): don't list -M as a valid amq option unless
configure'd with --enable-amq-mount.
Wed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* amd/nfs_start.c (amd_use_autofs): Define.
(mount_automounter): Create autofs service listener only if
necessary to avoid unnecessary clashes with e.g. automountd.
* amd/amd.h (amd_use_autofs): Declare.
* amd/conf.c (gopt_mount_type): Set amd_use_autofs.
(ropt_mount_type): Likewise.
1999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_mnt2_nfs_opt.m4:: ditto
* aux/macros/check_mnt2_cdfs_opt.m4: ditto
* aux/macros/check_mnt2_gen_opt.m4: ditto
* aux/macros/check_mnttab_opt.m4: new macro in this file to loop
over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot.
* conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from
christos@zoulas.com (Christos Zoulas).
* amd/info_hesiod.c: some forward declarations. Patch from
christos@zoulas.com (Christos Zoulas).
1999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
option if it was already in that state. Patch from David
Wolfskill <dhw@whistle.com>.
1999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: automake nowadays supports LTLIBOBJS (but not
LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool
rebuild make rules.
* Makefile.am: new rules to remake libtool (maintainers only)
* amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
if -D trace was used.
1999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* buildall: all if statements should have an else clause because
of Ultrix's /bin/sh.
1999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amq/amq.c: removed dummy variables.
* amq/pawd.c: removed dummy variable.s
* fixmount/fixmount.c (usage): removed dummy variables.
* fsinfo/fsinfo.c: removed dummy variables.
* hlfsd/hlfsd.c: removed dummy variables.
* wire-test/wire-test.c: removed dummy variables.
* mk-amd-map/mk-amd-map.c: removed dummy variables.
* doc/texinfo.tex: updates from GNU mirror.
* aux/GNUmakefile (../doc/texinfo.tex): new rule to update
doc/texinfo.tex from GNU mirror.
* released snapshot am-utils-6.0.1s3
* Makefile.am (install-snapshot): better snapshot and new
install-snapshot and test-snapshot rules (maintainer).
* amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
args may be NULL.
Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from
Bill Paul <wpaul@ctr.columbia.edu>
1999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* check for experimental generic 'ignore' mount flag on freebsd3.
* Update library -version-info to 3:0:1 (will result in 2.1.0 .so
version, which is backwards compatible with older versions.) Only
one new interface was added to libamu.
* amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
that are specific to automounter mounts.
* aux/configure.in: update libamu.so age and revision since a new
interface was added to libamu/mount_fs.c
(compute_automounter_mount_flags).
* libamu/mount_fs.c (compute_automounter_mount_flags): new
function to compute generic mount flags that are specific to mount
points only.
* aux/{configure.in,acconfig.h}: add support for generic mount
entry ignore option.
* released snapshot am-utils-6.0.1s2
* amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
* libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
of knc_semantics from u_long to u_int.
* aux/macros/check_mount_style.m4: freebsd3 no longer needs a
special mount helper.
1999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
amu_nfs_conf.h should always be found in $top_builddir.
Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
to avoid wrong reports from show_fstypes.
* conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
* conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* hlfsd/homedir.c (delay): Cast child to long, adapt format.
(hlfsd_getpwent): Likewise for pw_uid.
* amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
format.
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
tv_sec to int to match format.
(get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
formats.
* amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
long, adapt format.
* include/am_defs.h: Handle __attribute__ if available. From
GNU fileutils 4.0 lib/errors.h.
Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
match format.
* hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
adapt format.
(nfsproc_lookup_2_svc): Likewise.
(nfsproc_readlink_2_svc): Likewise for userid, groupid.
* hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
format.
* hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
format.
* amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
long, adapt format.
* amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
unsigned long, adapt format.
(got_nfs_fh): Likewise.
(prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
format.
(call_mountd): Likewise, mnt_version also.
(mount_nfs_fh): Likewise.
* amd/ops_autofs.c (autofs_program_1): Cast args to int to match
format.
(autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
unsigned long, adapt formats.
(autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
(autofs_bgmount): Use long format to match arg.
(autofs_lookuppn): Removed superfluous arg.
* amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
format.
(got_portmap): Likewise for port.
(recompute_portmap): Likewise for fs->fs_version, mnt_version.
(find_nfs_srvr): Likewise for nfs_version.
* amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
format.
* amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
to unsigned long, adapt format.
Cast tvv.tv_sec to int to match format.
* amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
format.
* amd/map.c (root_fh): Cast pid to long, adapt format.
(timeout_mp): Cast time_t to long, adapt format.
* amd/clock.c (reschedule_timeouts): Use long format, cast time_t
arg.
* amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
match format.
(amfs_host_fmount): Likewise.
(amfs_host_umounted): Likewise. Removed superfluous arg.
* amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
long, adapt format.
(amfs_auto_bgmount): Use long format, cast time_t arg.
(amfs_auto_lookuppn): Removed superfluous arg.
* amd/amd.c (main): Cast geteuid() result to long, adapt format.
* conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
to int to match format.
* include/am_utils.h: Declare plog, dplog as printf-like.
* conf/mount/mount_irix6.c (mount_irix): Print type as char *.
Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* amd/info_hesiod.c (hesiod_isup): New function.
* amd/mapc.c (maptypes): Add it.
1999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0.1s1
1999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* ALL: bump copyright year to 1999.
Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
too.
* aux/macros/check_mtype_printf_type.m4: Adapt corresponding
printf type.
Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
* conf/nfs_prot/nfs_prot_irix6.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
* conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
* Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
automake.
Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
in current automake.
Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* doc/am-utils.texi: Added some missing inter-punctation after
@xref, or use @pxref/@ref as appropriate. Spotted by makeinfo
from texinfo 3.12b.
1999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/texinfo.tex: updated off of latest GNU mirror.
1999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Supported Platforms): update platforms that
support NFS v.3. Nicer postscript printing on double-sided pages.
* amd/info_hesiod.c: add extern definition for hesiod_init()
1999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0 ***
*******************************************************************
1998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos5_7.h: support ldap in solaris 2.7.
1998-12-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_bsdi3.h: don't use reserved ports on
bsdi4 for NFS V3/nfs mounts.
1998-12-26 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* using latest libtool (1.2e + patches), now supporting shared
libraries on many more systems. Also using latest autoconf and
automake (unreleased GNU CVS'd versions.)
* minor new ports: hppa2.0w-hp-hpux11.00,
i386-unknown-netbsd1.3.3, mips-sgi-irix6.5.
* fsinfo/fsinfo.h (yywrap): define it for systems (osf4) that
have /usr/bin/flex but not libfl.
1998-12-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* lots of code cleanup, to make sure libamu.so does not use
undefined symbols. Some system's shared libraries cannot handle
that.
1998-12-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_defs.h: only defined seteuid extern if function also
exists and is not superceded by setresuid (hpux).
* amd/ops_autofs.c (autofs_bgmount, autofs_lookuppn): put explicit
braces to avoid confusion with nested if-then-else clauses.
* aux/config.{sub,status}, aux/{ltmain.sh,ltconfig,mkinstalldirs:
updated from latest versions.
1998-12-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new port: i386-pc-bsdi4.0
* conf/nfs_prot/nfs_prot_bsdi3.h: add missing hesiod header
definitions for bsdi4.
* {amd,fsinfo}/Makefile.am: force path to .y/.l files, because
some make programs (bsdi4) do not support VPATH correctly.
1998-12-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_aix.c: minor code cleanup
* aux/configure.in: check for extern definition to xdr_groups.
1998-12-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new port: powerpc-ibm-aix4.3.1.0
* aux/macros/*.m4: updates for aix 4.3
1998-12-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* minor new port: i386-unknown-openbsd2.4
* aux/configure.in: don't check for xfs on openbsd because
openbsd-2.4 introduces a new file system named xfs, but different
than Irix's XFS. Sigh.
* minor new port: i386-unknown-freebsd2.2.8
1998-12-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amfs_nfsl.c (amfs_nfsl_ffserver): use case insensitive host
name match. Bug fix from Douglas K. Rand" <rand@aero.und.edu>.
1998-11-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-amd.in: wait4amd2die runs in the stop action, to
avoid race conditions when shutting down systems running amd.
* Makefile.am: add a dist-hook to change modes of the directories
in the tar file so they are not world writable.
* conf/nfs_prot/nfs_prot_freebsd3.h: turned on NFSv3 support,
since it is now finally defined in the header files and
(hopefully) stable.
* amd/srvr_nfs.c (find_nfs_srvr): allow overriding if nfsv2 option
is specified in mount options. freebsd patches from David
O'Brien.
* amq/amq.c (main), fixmount/fixmount.c (main), hlfsd/hlfsd.c
(main), fsinfo/fsinfo.c (fsi_get_args), hlfsd/hlfsd.c (main),
amd/get_args.c (get_args): posix: use -1 to check for return from
getopt() (not EOF), as per posix.
* amd/amq_subr.c (xdr_amq_mount_tree_node): patches from "David
O'Brien" <obrien@NUXI.com>, from the FreeBSD source tree. Use
real variable whose pointer is on the stack for decoding a long
int.
1998-11-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-{amd,hlfsd}.in: include comments useful for redhat's
chkconfig utility.
1998-11-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0b2s3
* conf/transp/transp_sockets.c (create_nfs_service): remove C++
style comments.
1998-11-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0b2s2
* created CVS package
* amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
condition between unmounting and re-mounting an entry, by
increasing the ttl of a looked up entry before unmounting it.
Patch from Mike Mitchell <mcm@unx.sas.com>.
* All files: spell comments and strings.
1998-11-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: look for yp_all in libnsl only if yp_all not
already found elsewhere (in libc or other default libraries).
This is so RedHat 5.1 systems could find yp functions in libnsl,
but also so AIX 4.2.1 will NOT include libnsl, because the latter
has broken nis functionality that also exists and works ok in libc.
1998-10-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amd.c (main): bug fix: swapped arguments to kill(2). Fix
from Danny Rathjens <dkr@cs.fiu.edu>.
1998-10-28 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0b2s1
1998-10-27 Erez Zadok <ezk@spruce.mcl.cs.columbia.edu>
* aux/macros/*.m4: support bsdi4 as bsdi3.
* aux/macros/os_ldflags.m4: enable detection of LDAP on solaris
2.7 (libraries located in /usr/lib/fn). This is off until Sun
includes LDAP header information.
1998-10-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0b1 ***
*******************************************************************
1998-10-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* mk-amd-map/mk-amd-map.c (main): use perror not strerror.
(main): set return type to int if no ndbm maps.
* include/am_defs.h: avoid conflicts with <sys/mount.h> in 2.1
kernels.
1998-10-18 Erez Zadok <ezk@london.mcl.cs.columbia.edu>
* A.i386-unknown-netbsd1.3.2/amu_nfs_prot.h: trim down and cleanup
for netbsd 1.3.2.
1998-10-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: check for yp_all in libnsl, b/c redhat 5.1
systems put NIS functions there.
* mk-amd-map/mk-amd-map.c: patch from "David O'Brien"
<obrien@NUXI.com> merged in. Use POSIX -1 return code from
getopt(), not EOF. Use .db extentions for systems that use it,
instead of .{pag,dir}.
1998-10-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* wire-test/wire-test.c, hlfsd/hlfsd.c, fixmount/fixmount.c,
amd/amd.c (main): avoid overrunning hostname buffer. Bug fix from
"David O'Brien" <obrien@NUXI.com>.
* scripts/amd.conf.5: minor typo reported by "David O'Brien"
<obrien@NUXI.com> in .TH section of man page.
* amd/info_nis.c (am_yp_all): don't leak key-val entries. Patch
from Thomas Richter <richter@chemie.fu-berlin.de>.
1998-10-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Program Filesystem): minor typo fixed as per
Andreas Stolcke <stolcke@speech.sri.com>.
* minor new ports: sparc64-unknown-linux-gnu, i386-pc-solaris2.7,
and sparc-sun-solaris2.7.
* conf/mount/mount_freebsd3.c (mount_freebsd3): freebsd 3.0 is now
a 4.4lite kernel, and somethings were removed, such as
INITMOUNTNAMES.
* amd/ops_autofs.c (autofs_lookuppn): don't leak memory while
processing /defaults. Free temporary opts. Patch from
dsr@mail.lns.cornell.edu (Daniel S. Riley)
* amd/amfs_auto.c (amfs_auto_lookuppn): don't leak memory while
processing /defaults. Free temporary opts. Patch from
dsr@mail.lns.cornell.edu (Daniel S. Riley)
* conf/mtab/mtab_osf.c (read_mtab): patch from
dsr@mail.lns.cornell.edu (Daniel S. Riley) not to access
uninitialized memory on Digital Unix.
1998-10-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/{check_mtype_type,check_mtype_printf_type}.m4: most
systems now use "char *" as their mount type.
1998-10-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf.c (gopt_map_type, ropt_map_type): check if map type
exists.
* amd/mapc.c (mapc_type_exists): function to test if a map of
certain type exists.
1998-10-08 Erez Zadok <ezk@horatio.mcl.cs.columbia.edu>
* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
include/am_defs.h: Avoid a conflict in definitions of ntohl/htonl
in RH-5.1 sparc64 between <netinet/in.h> and
<linux/byteorder/generic.h> (2.1 kernels).
1998-09-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean): RedHat
5.1 systems with glibc glibc-2.0.7-19 or below leak a UDP socket
from yp_all().
1998-09-25 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_linux.c (parse_opts): check for pcfs support
only if autoconfigured.
1998-09-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* Makefile.am (EXTRA_DIST): distribute README.yk2 file.
* README.y2k: explain y2k compliance status of am-utils.
1998-09-16 Erez Zadok <ezk@iguana.mcl.cs.columbia.edu>
* amd/amfs_host.c (fetch_fhandle, amfs_host_fmount,
amfs_host_umounted): clnt_sperrno() may return a const.
Sat Aug 8 23:28:32 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: check for <nfs/nfsmount.h>, as per Christos
Zoulas. Turned on checking for mount options: async, synchronous,
deadthresh, leasterm, nqnfs, and readahead.
* amd/info_nis.c: patch from christos@zoulas.com (Christos Zoulas)
to include prototype definition for nis_isup().
Sun Jul 19 18:50:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/stubs.c (getcreds): force sscanf arg to u_long.
Tue Jul 14 20:34:25 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0a17s1
Wed Jul 8 21:49:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/host_macros.m4: all x86 hosts should have $arch be
i386, not i[456]86.
Tue Jul 7 18:55:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4,
include/am_defs.h: include <linux/posix_types.h> before
<linux/fs.h> because on redhat 5.1, there is a bug (misuse) of
headers in <socketbits.h> (it defines _LINUX_TYPES_H instead of
__KERNEL_STRICT_NAMES).
* aux/configure.in: check for <linux/posix_types.h> because it is
need for RedHat 5.1.
Wed Jun 17 00:05:33 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/Makefile.am (EXTRA_DIST): have fixrmtab generated from
.in as well, so it doesn't get removed by make clean.
Tue Jun 16 22:00:15 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
check_mount_type.m4}: redhat 5.1 puts some modules in
/lib/modules/preferred/.
Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_autofs.c (mount_autofs): cast pid to long.
Tue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
avoid amd/am_ops.c (show_fstypes) from erroneously claiming
support.
Fri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
unconditionally, may be missing on Ultrix V4.3.
Thu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
missing from <sys/mntent.h>.
* conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
without KERNEL defined here.
* aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
<cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
* amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
* ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
Removed purely local (and obsolete) entry.
Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a16 ***
*******************************************************************
Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_mount_style.m4: define freebsd3 mount style.
* aux/macros/check_mount_trap.m4: new mount trap for freebsd3.
* aux/macros/check_mtype_printf_type.m4,
aux/macros/check_mtype_type.m4 (ac_cv_mtype_type,): freebsd3 (as
of snapshot 3.0-980311-SNAP) uses char * types for mount(2), not
integers, but I'll keep them as integers and do the mapping in
conf/mount/mount_freebsd3.c
* minor new port to i386-pc-bsdi3.1.
* minor new port to i386-unknown-netbsd1.3.1.
* amd/opts.c: new option addopts:=ARG, which smartly merges ARG
options with whatever the /default ones for a key are. This
allows adding or overriding /default options individual keys.
* amd/am_ops.c (ops_match): strdup/malloc string assigned to
opt_opts because it'll get free()'d upon next use.
(merge_opts): new function to merge two sets of options.
(ops_match): if addopts option exist, append and merge it to the
current default options.
Tue Apr 21 12:54:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* wire-test/wire-test.c (main): use dynamically allocated returned
string with list of interfaces.
* amd/get_args.c (get_version_string): allocate enough space for
header version string and a list of network interfaces of any
length.
* libamu/wire.c (print_wires): return dynamically allocated string
containing list of networks. Must be dynamic because some sites
had potentially dozens of network interfaces. Patch from Matthew
Crosby <mcrosby@ms.com> slightly modified.
Mon Apr 20 00:37:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_irix5.h: underfine MNTTYPE_XFS because
irix 5.3 does not have full header definitions for it.
* fsinfo/fsi_lex.l (yywrap): define yywrap if needed, and
undefined it when not needed (similar to amd/conf_tok.l)
* hlfsd/hlfsd.h (ROOTID, SLINKID, INVALID): reduced maximum size
of these to unsigned short (because uid_t on some linux systems is
small).
* released snapshot am-utils-6.0a16s10
* doc/am-utils.texi (opts Option): documented resvport mount
option.
Sun Apr 19 18:17:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (-D-Option): document behavior of -D info and
especially what it does to hesiod (turn on RES_DEBUG).
* scripts/amd.conf.5: document info debugging option.
* libamu/xutil.c (dbg_opt): parse info debugging option.
* include/am_utils.h (D_INFO): define new trace option.
* Makefile.am (EXTRA_DIST): include list of official mirrors in
distribution.
* libamu/wire.c (SIZE): in the simple case, just compute
sizeof(struct ifreq).
Sun Apr 19 16:30:35 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/amd.c (daemon_mode): set a temporary secure umask(0022)
before writing log file and restore it afterwards. Patch from
Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
* amd/get_args.c (get_args):
* doc/am-utils.texi (-F Option), amd/amd.8: mention that amd.conf
file specified by -F is always processed last.
* amd/amd.c (daemon_mode): do not fclose(stdout) so that the fd
won't be reused. Allows startup script to redirect stdout. Patch
from Donald Buczek <buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
* libamu/xutil.c (switch_to_logfile): compare logfile name and
syslog string with correct length. Patch from Donald Buczek
<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
* amd/restart.c (restart): correctly inherit existing NFS V.3
mounts upon restart. Patch from Donald Buczek
<buczek@MPIMG-Berlin-Dahlem.MPG.DE>.
Sat Apr 18 19:01:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* using libtool 1.2 and automake 1.3 (with my patches).
* aux/macros/opt_am_cflags.m4, */Makefile.in: rename AM_CFLAGS to
AMU_CFLAGS to avoid conflicts with automake-1.3.
Sun Apr 5 23:09:08 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* converted to using libtool-1.2.
Tue Mar 10 16:52:09 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* fsinfo/fsi_analyze.c (fixup_required_mount_info): replaced silly
for loop (ITER) which used to run only to initialize the variable
dd once and then break; with a simple assignment.
* hlfsd/hlfsd.h: cleanup so it compiles with Solaris
/opt/SUNWspro/bin/cc, and use gid_t not int.
* amd/mapc.c (mapc_sync): don't dereference pointer (so it
compiles with Solaris /opt/SUNWspro/bin/cc)
Sun Mar 8 15:54:22 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/config.{guess,sub}: used from gcc-2.8.1.
Sat Mar 7 15:33:27 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0a16s9
* INSTALL, doc/am-utils.texi (Supported Platforms): updated names
based on new output of new config.guess.
* aux/config.{sub,guess}: used newer versions from gcc-2.8.0.
* amd/amd.8,doc/am-utils.texi: document correct usage of default
/etc/amd.conf file.
* fixmount/fixmount.c (inetresport,privsock): use some more
portable code from amq/amq.c.
* amd/get_args.c (get_args): use default /etc/amd.conf file only
if no arguments had been passed to amd.
* fixmount/fixmount.c (clnt_create_timeout): use tli/socket code
ala amq/amq.c so that fixmount will work on both types of systems.
* amq/amq.c (main): do no close tcp socket before running udp try,
because we're not sure if it was opened at all.
* mips-dec-ultrix* port merged in and cleaned up.
* aux/configure.in: up minor shared library revision number, since
it has changed enough.
* hlfsd/hlfsd.c (main): don't check for overlay mount option here,
as it is now done in compute_nfs_args(). Remove ultrix specific
code also because it was moved to compute_nfs_args().
* conf/mount/mount_svr4.c: removed DEBUG_MOUNT_SVR4 code, now that
we have more generic code in print_nfs_args().
* libamu/mount_fs.c (print_nfs_args): print maxlen of
nfs_args.addr, and also syncaddr (which is mostly NULL). Print
struct knetconfig from nfs_args->knconf.
* aux/macros/mount_headers.m4 (define): do not check for ufs/cdfs
headers here, but in try_compile_anyfs.m4.
* aux/macros/type_ufs_args.m4: move test for struct ufs_specific
(for ultrix) here from its own macro.
* aux/macros/type_cdfs_args.m4: move test for struct iso_specific
(for ultrix) here from its own macro.
* amd/ops_nfs.c (mount_nfs_fh): no need to run code again checking
for overlay mount option. Remove code which checks for overlay
option, as it is now done in compute_nfs_args().
* libamu/mount_fs.c (compute_mount_flags): move here code which
checks for overlay mount option which was in amd/amfs_toplvl.c:
mount_amfs_toplvl().
Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE>
* The following are Rainer's ChangeLog entries for his ultrix
port, added manually. -Erez.
* merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
(mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
* include/am_defs.h: include cdfs specific mount headers
avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
* include/am_compat.h: define several mount options corresponding
to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
noversion, rrip (cdfs), nocache, quota, sync (generic) removed
duplicate MNTTAB_OPT_RO definition
* aux/macros/try_compile_anyfs.m4: include Ultrix specific
ufs/cdfs mount headers
* aux/macros/mount_headers.m4: include several Ultrix/Digital UNIX
specific mount headers
* aux/macros/check_{fs_mntent, mount_type}.m4: check for GT_*
mount types in mount headers (Ultrix)
* aux/configure.in: Ultrix/Digital UNIX specific checks: new
headers, mount structures and fields, filesystem and mount types,
mount flags
* aux/acconfig.h: placeholders for new mount options: quota
(generic), ro (nfs), defperm, nodefperm, noversion, rrip (cdfs)
cdfs, nfs, ufs mount structure fields new ufs, cdfs mount
structures
* amd/ops_ufs.c (mount_ufs): Ultrix stores generic mount flags in
ufs_args.ufs_flags and has ufs specific pgthresh option
* amd/ops_cdfs.c (mount_cdfs): handle Ultrix/Digital UNIX specific
CDFS mount flags and options
* amd/ops_afs.c (mount_toplvl), amd/ops_nfs.c (mount_nfs_fh),
hlfsd/hlfsd.c (main): store generic mount flags in
nfs_args.gfs_flags, handle separate NFS ro flag
* aux/macros/{check_mnt2_cdfs_opt, struct_iso_specific,
struct_ufs_specific}.m4: new files; check for Ultrix specific
mount structures
* conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
* aux/macros/type_auth_create_gidlist.m4 (ultrix*):
AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
comment in <rpc/auth.h>
* include/am_defs.h: #define KERNEL to avoid definition of
gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
<config.h> to force single definition here
* libamu/mount_fs.c (compute_nfs_args): Ultrix support for
nfs_args.gfs_flags moved to callers store mount options in
nap->optstr
* include/am_defs.h: fix _am_mntent mnt_{type, opts} field
descriptions
* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
definition in prototypes
* aux/macros/mount_headers.m4: include <sys/errno.h> before
AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
definitions
* conf/nfs_prot/nfs_prot_ultrix.h: new file
* aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
* aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
inclusion of <rpc/xdr.h>
Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: save state of config.cache and confdefs.h
(as dbgcf.h) at various points of the configure.
* aux/macros/save_state.m4: new macro to save state of configure,
esp. useful in long ones. Saves confdefs.h and write $ac_cv_*
cache variables that are known so far.
* released snapshot am-utils-6.0a16s8
1998-03-06 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
* fsinfo/fsi_lex.l,amd/conf_tok.l: define ECHO after undefining
it, but only for flex.
Fri Mar 6 17:23:17 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
* hlfsd/homedir.c (plt_print): change pathname of hlfsd dump file
to /usr/tmp/hlfsd.dump.XXXXXX, and use a safe method (if possible)
to write the dump file.
* doc/am-utils.texi,amd/opts.c: rename all references to nomadic
functions to boolean functions, which is what they really are.
* aux/configure.in: don't look for strcasecmp in libucb at all,
but rather complete it from libamu/strcasecmp.c as needed.
Fri Mar 6 03:29:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_osf4.h: avoid conflicts with Irix's EFS.
* libamu/wire.c (getwire): fix for 0.0.0.0 loopback on SunOS 3.X
which defines IFF_ROUTE instead of IFF_LOOPBACK. Patch from Tom
Schmidt <tschmidt@micron.com>.
* released snapshot am-utils-6.0a16s7
* conf/nfs_prot/nfs_prot_hpux11.h: a first working port of amd to
hppa1.0-hp-hpux11.00.tgz.
Thu Mar 5 21:59:03 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* converted all sources to use mntent field names, and map mnttab
field names to mntent's.
* include/am_defs.h (mnt_special): map struct mnttab field names
to struct mntent field names.
* aux/macros/check_mount_trap.m4: hpux11's mount trap style is
identical to svr4/solaris2.
* aux/macros/check_mount_style.m4: hpux11's mount style is
identical to svr4/solaris2.
* aux/macros/check_network_transport_type.m4: hpux11 is a TLI
system!
* aux/macros/check_nfs_sa_dref.m4: hpux11's NFS host address
dereferencing style is same as svr4.
* aux/macros/check_nfs_fh_dref.m4: hpux11's NFS file fh
dereferencing style is same as svr4.
* conf/transp/transp_tli.c (create_nfs_service): if failed to
getnetconfigent() of ticlts, then try udp (hpux11).
* conf/nfs_prot/nfs_prot_hpux11.h: added correct definitions for
struct nfs_args, nfs_fh, and NFSMNT_* flags, taken from solaris
2.5.1 (HP used them).
* amd/rpc_fwd.c (fwd_init): don't use O_NDELAY for t_open()
because hpux11 doesn't like it. if t_open failed, print error
based on t_errlist, not sys_errlist.
Wed Mar 4 22:01:55 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi: lots of documentation fixes from Rainer Orth
<ro@TechFak.Uni-Bielefeld.DE>.
Sat Feb 28 22:16:35 1998 Erez Zadok <ezk@kosh.cs.columbia.edu>
* fsinfo/fsi_lex.l: undefine ECHO again, so it doesn't get used
later.
* include/am_defs.h: defined the extern for ualarm() if it isn't
found, regardless if the function isn't found in standard
libraries, because otherwise libamu will include it.
1998-02-28 Erez Zadok (per Ron Snyder) <ezk@short.cvo.roguewave.com>
* initial port to hpux-11 completed. Compiles cleanly, but
probably does not work, because of missing NFS V.2/3 headers.
* amd/conf_tok.l: cast yytext to char* when passed to strlen and
strdup, for hpux-11's ansi-cc compiler.
* include/am_utils.h: renamed all xfree() to XFREE() to avoid
conflict with hpux-11's system headers. Also move (voidp) cast
from sources to inside the macro itself.
Sat Feb 28 13:44:21 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0a16s6
* amd/info_nis.c (nis_isup): new function to test if NIS is up
without hanging amd. Used to ensure that amd does not clear the
maps when the expiration period arrived, if the service is down.
Otherwise it would be left with empty maps. It is better to stay
with possibly old information than none at all.
* amd/mapc.c (mapc_sync): check to see if map service is up.
Tue Feb 24 02:19:42 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_lib2.m4 (AC_CHECK_LIB2): fix macro so it
includes auxiliary library only if needed.
1998-02-22 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
* amd/conf_tok.l: undefine ECHO again, so it doesn't get used
later.
Sun Feb 22 01:41:08 1998 Erez Zadok <ezk@zen.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_osf2.h: port to alpha-dec-osf2.1
completed.
* conf/mtab/mtab_osf.c (mnt_dup): not all OSF have NFS3.
Sat Feb 21 19:45:48 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Network Host Filesystem): correct example for
type:=host map.
* aux/macros/os_cflags.m4: only osf4 should compile with
-D_SOCKADDR_LEN.
* aux/macros/check_nfs_prot_headers.m4: distinguish between OSF2
and OSF4.
* BUGS: include a new file listing known bugs.
Sat Feb 21 03:50:48 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_linux.h: turn DES off on all linux
versions.
* aux/macros/type_recvfrom_fromlen.m4: linux alpha should use
size_t for recvfrom fromlen arg.
Sat Feb 21 03:33:59 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-hlfsd.in: turn -D fork so primary process never
hangs.
Sat Feb 21 02:45:51 1998 Erez Zadok <ezk@mercer.psl.cs.columbia.edu>
* include/am_defs.h: don't include <sys/stat.h> and
<linux/stat.h>, just remaining definitions in <statbuf.h>
Thu Jan 29 00:44:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0a16s5
* conf/mount/mount_irix6.c (mount_irix): pass {u,e,x}fs_args to
mount(2).
* check for <sys/fs/xfs_clnt.h> and include it when needed.
* conf/mount/{mount_irix5.c,mount_irix6.c} (mount_irix): recognize
efs and xfs separately from "ufs".
* amd/{ops_xfs.c,ops_efs.c}: new support for irix xfs/efs.
* aux/configure.in: look for irix efs and xfs file systems.
* scripts/amd.conf.5: new unmount_on_exit option documented.
* doc/am-utils.texi (unmount_on_exit): new option documented.
* amd/conf.c (gopt_unmount_on_exit): new function to handle new
amd.conf option.
* amd/map.c (umount_exported): if global amd.conf flag
unmount_on_exit is on, then try to unmount all mounted (or
restartable) file systems.
* amd/amd.c: if print_pid option is on, then normally print it to
stdout. If also pid_file is specified, then print the process ID
into that file.
* amd/get_args.c (get_args): print correct -l option depending if
system supports syslog and/or syslog facilities. Patch from
Tom Schmidt <tschmidt@micron.com>.
* doc/am-utils.texi (opts Option): updates for documentation for
new cdfs options defperm, nodefperm, noversion, rrip.
* amd/ops_cdfs.c (mount_cdfs): support cdfs options defperm,
nodefperm, noversion, rrip.
* conf/nfs_prot/nfs_prot_osf.h: need to look at <cdfs/cdfsmount.h>
on osf.
* aux/macros/{expand_cpp_hex.m4, expand_cpp_int.m4,
expand_cpp_string.m4}: use #error to make failed compilations
fail faster, rather than have the program fail during a run.
* include/am_compat.h: added a few new cdfs options: rrip,
noversion, defperm, and nodefperm (used in OSF).
Wed Jan 28 20:24:09 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* released snapshot am-utils-6.0a16s4
* doc/am-utils.texi (Global Parameters): update manual for new
amd.conf global variable hesiod_base.
* scripts/amd.conf.5: update man page for new amd.conf global
variable hesiod_base.
* amd/get_args.c (get_args): use /etc/amd.conf file if exists by
default, else try command line options. Patch from Randall
S. Winchester <rsw@Glue.umd.edu>.
Wed Jan 28 12:20:56 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_hesiod.c (hesiod_search), amd/conf.c
(gopt_hesiod_base), amd/amd.h, amd/amd.c (init_global_options):
included patch from Randall S. Winchester <rsw@Glue.umd.edu>, to
support a hesiod base name in the amd.conf file.
* doc/am-utils.texi (pid_file Parameter): document new global
amd.conf parameter.
* scripts/amd.conf.5: document new global option pid_file.
* amd/amd.c (daemon_mode): if cannot open pid_file, continue to
run, but print error message.
* amd/conf.c (gopt_pid_file), amd/amd.h, amd/amd.c (daemon_mode,
init_global_options): Included patch from Randall S. Winchester
<rsw@Glue.umd.edu>, to support pid files in the amd.conf file.
* amd/get_args.c (get_args): correct usage info on amd -t.
* amd/*.c: massive file name and symbol name changes. All amd
file systems files and symbols are prefix with amfs_*. Now using
real name of file system: amfs_auto instead of afs, amfs_inherit
instead of ifs, amfs_linkx instead of sfsx, etc. This will enable
clear distinction between amd file system and generic ones like
nfs/ufs/pcfs/hsfs. Also, now we can implement true afs (Andrew
f/s) and DFS (Distributed f/s).
* amd/amfs_union.c: unionfs for amd is always defined, no need to
#ifdef it.
Mon Jan 26 16:51:38 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
* libamu/mount_fs.c (compute_nfs_args): set 'noconn' NFS option on
or off, based on the particular quirks of the OS in question.
* aux/macros/check_nfs_socket_connection.m4: new macro to set the
correct wait of handling un/connected NFS sockets.
* scripts/wait4amd.in: use rlogin instead of rsh.
* amd/am_ops.c (ops_showfstypes): when showing F/S types in amd
-v, always show "nfs3" for NFS V.3.
1998-01-25 Erez Zadok <ezk@snoopy.cs.columbia.edu>
* lots of small fixes for solaris 2.6, since gcc 2.8.0 -Wall gets
more picky than 2.7.2.3 did.
1998-01-24 Erez Zadok <ezk@snoopy.cs.columbia.edu>
* include/am_utils.h (dlog): amuDebug macros reduced to shorter
forms.
Fri Jan 23 18:38:30 1998 Erez Zadok <ezk@goat.mcl.cs.columbia.edu>
* released snapshot am-utils-6.0a16s3
* include/am_defs.h: on Solaris 2.6, <sys/varargs.h> is included
in <sys/fs/autofs.h> but since stdargs.h is used, and varargs.h
must not, fake a definition for varargs.
Fri Jan 16 10:16:40 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* README: show how to configure in additional support such as
hesiod using various --enable-* flags.
Wed Jan 14 15:13:02 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: look for strcasecmp(), and replace it if not
available.
* amd/ops_nfsl.c (nfsl_match): host names should be compared using
case insensitive.
* amd/opts.c: for each map variable, define if the comparison
needs to be done case insensitive.
* include/am_utils.h (STRCEQ): a new macro to use strcasecmp().
Patch from Thomas Richter <richter@chemie.fu-berlin.de>
1998-01-14 Erez Zadok <ezk@irt.cs.columbia.edu>
* aux/configure.in: look for "isofs" as a possible mount type for
cdfs (RedHat Linux).
Wed Jan 14 02:07:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_linux.c (parse_opts): don't look for cdfs mount
type if not defined.
* conf/nfs_prot/nfs_prot_linux.h: don't define __FD_* macros if
already defined.
* aux/configure.in: look for ext2fs before ufs, b/c some linux
have both.
Mon Jan 12 15:43:20 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* Makefile.am (snapshot): allow me to install snapshots into the
ftp directory.
* scripts/ctl-hlfsd.in: don't turn on -D mem by default.
* amd/get_args.c (get_args): minor bug in output of amd -H.
Mon Jan 12 03:05:06 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a15 ***
*******************************************************************
Sun Jan 11 15:06:34 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf.c (*_browsable_dirs): allow specifying
browsable_dirs=full, which will print *all* entries (other than
/default), including those with '*' and '/' characters.
* amd/info_file.c (MAX_LINE_LEN): up maximum readdir chain length
to 1500.
* doc/am-utils.texi: fixed reversed documentation for NFS mount
options vers and proto.
* doc/Makefile.am (install-html): separate target just for
installing html files. Another new target "alldocs" is just for
installing all files needed for the am-utils home page.
* scripts/amd.conf-sample: updated example for log_file.
* scripts/amd.conf.5: updated for new way to declare new syslog
facility in the log_file option.
* amd/amd.8: updated for new way to declare new syslog facility in
the -l option.
* libamu/xutil.c (get_syslog_facility): allow users to specify the
syslog facility as an appended string to the log device. Ex. amd
-l syslog:local7 will use LOG_LOCAL7, while the older -l syslog
will use the default LOG_DAEMON facility.
* amd/get_args.c (get_args): updated new syntax for amd -l
syslog:facility.
Thu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/host_macros.m4: don't confuse sun3 (sparc) with sun3
(intel).
* libamu/wire.c (print_wires): bug fix. Nullify output buffer
before appending to it, on systems with two or more network
interfaces.
* conf/nfs_prot/nfs_prot_sunos5_3.h: add missing definition for
the mntent for cachefs.
* include/am_defs.h: external definition for strstr() should use
const for both arguments.
* aux/configure.in: add extern definitions for getwd() if missing.
* include/am_defs.h: define the extern for strdup() even if the
function does not exist, for it will be filled in by
libamu/strdup.c
* amq/pawd.c (cluster_server): don't use getccent() if the extern
for it isn't there. On hpux 10.20, the function is in libc, but
<cluster.h> and struct cct_entry do not exist.
* aux/configure.in: check for an extern for getccent() b/c some
hpux systems don't have it (hpux 10.20).
Wed Jan 7 00:09:19 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* doc/am-utils.texi (Amq -T option): manual documentation updates
for new amq options -T/-U.
* amq/amq.8: updated man page for new amq options -T/-U.
* amq/amq.c: two new switches to amq. -U will contact amd using
UDP only. -T will use TCP only. Normally amq will try TCP and
if that failed, will try UDP.
* doc/am-utils.texi (pawd): manual documentation for pawd.
* amq/pawd.1: new man page for pawd.
Tue Jan 6 04:21:59 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amq/pawd.c: a new program, Print Automounter Working Directory,
to print the proper pathname of the cwd or any other pathname,
adjusted for automounter paths, while avoiding mount points.
* aux/macros/localconfig.m4: trivial support for am-utils
maintainers to adjust some of the configuration of am-utils after
it has been auto-configured by putting whatever definitions you
wish in a file called localconfig.h, located in the top build
directory (the same one where config.h is created for you).
* doc/am-utils.texi (Caching Filesystem): updated documents for
cachefs file system.
* amd/ops_cachefs.c: initial cachefs support, for solaris.
type:=cachefs, requires cachedir:=/cache/dir/name to be defined
and initialized with cfsadmin -c. $rfs is backdir to be cached
from, and $fs is the local mount point of the cachefs.
* conf/mount/mount_svr4.c (mount_svr4): support mounting of
cachefs file systems.
* amd/ops_cdfs.c: cdfs should be named 'cdfs', not whatever the
mnttab type is.
Mon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/opts.c: added support for new variable $cachedir.
* include/am_utils.h: added opt_cachedir field to struct am_opts.
Sat Jan 3 01:43:57 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
local hostname does not match $rhost, and if so, also assume
type:=nfs.
Fri Jan 2 01:00:40 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
* updated all source files to add 1998 as a copyright year.
* amd/ops_nfsl.c: new amd meta file system "type:=nfsl". Behaves
like type:=linkx if the pathname denoted by $fs exists, and like
type:=nfs if it does not. A convenient shortcut for the most
popular amd map entry.
* amd/amd.c (main): amd should chdir to / before starting, to
avoid hanging on other NFS server if started elsewhere.
* amd/ops_TEMPLATE.c: added an empty template file for developers
who wish to write new amd pseudo file systems.
Thu Jan 1 00:27:28 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/homedir.c (plt_init): make function exported, to save on
the unnecessary init_homedir() function which was removed.
(table_add): don't use xmalloc() when you can use strdup()
instead.
Thu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
* hlfsd/homedir.c (hlfsd_endpwent): Don't actually run this
because we will be making more passwd calls afterwards. On
Solaris 2.5.1, making getpwent() calls after calling endpwent()
results in a memory leak! (and no, even Purify didn't detect
it...)
Tue Dec 23 18:23:47 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
* hlfsd/hlfsd.c (main): Bug fix. Don't try to free() an
automatically allocated address.
* amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an
automatically allocated address.
* ALL SOURCES: change every direct call to free() to xfree(), so
it can be mapped to the right debugging function as needed.
* include/am_utils.h: new free() policy. If debugging memory,
call dxfree(), which will print the file name and line number
where the free occurred and the pointer address. if only regular
debugging, then free() and reset the pointer to NULL so it cannot
be used afterwards inadvertently. If not DEBUG at all, then just
run free(). Three different #define macros set the right mapping.
* libamu/xutil.c (dxfree): renamed function to dxfree(), so it can
be called only when debugging the memory.
Tue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* wire-test/wire-test.c (main): use xmalloc() not malloc().
* conf/transp/transp_tli.c (get_knetconfig): use xzalloc() not
calloc().
* conf/mtab/mtab_mach3.c (convert): use xzalloc() not calloc().
* conf/mount/mount_linux.c (parse_opts): use xmalloc() not
malloc().
* amd/info_ldap.c: use xmalloc() not malloc().
* libamu/xutil.c (xzalloc): new function to allocate memory and
zero its bytes.
* amq/amq.c: amq does not need its own definition of xfree().
* aux/macros/opt_debug.m4: if used --enable-debug=mem, then also
look for function malloc_verify() in libmapmalloc.a, and function
mallinfo() in libmalloc.
* libamu/xutil.c (checkup_mem): do not use mallinfo field
uordbytes, because it does not always exist. Rather, compute it
from other fields..
* include/am_utils.h: add external definition to xfree() function
used when debugging memory references.
Mon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_afs.c (afs_readdir_browsable): reduce the number of
bytes heuristically computed to be returned to the kernel.
Otherwise browsable_dirs fails on OpenBSD 2.2.
* amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of
mf_private field to AFTER it gets used.
Sat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
on systems that don't support it.
* include/am_defs.h: add missing extern definition for free().
* aux/configure.in: check for external definition for free().
* libamu/Makefile.am: add to comment a mention of strstr as an
optional function.
* libamu/xutil.c (switch_to_logfile): use openlog() options only
if they exist.
* conf/transp/transp_sockets.c (get_nfs_version): don't use
clnt_spcreateerror if it does not exist.
* aux/configure.in: check for missing functions clnt_create and
clnt_spcreateerror. Check for missing strstr, and complete
its code. Check for missing external definition for strstr.
* aux/macros/host_macros.m4: normalize sun3* names.
* Makefile.am: updates for new sunos3 files distributed.
* conf/nfs_prot/nfs_prot_sunos3.h: new file.
* conf/fh_dref/fh_dref_sunos3.h: new file.
* aux/macros/check_nfs_prot_headers.m4: added sunos3 case.
* aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
* doc/am-utils.texi (wire Selector Variable): updated manual for
adjusted variables wire, network, and netnumber, all using the
in_network() function.
Fri Dec 19 04:37:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/opts.c: allow options to be processed by executing arbitrary
functions. Converted wire, network, and netnumber all to use the
nomadic function in_network. So from now on they perform a match
against all networks, not just primary.
* initial port to alpha-unknown-linux-gnu, probably works, but
untested yet.
* conf/nfs_prot/nfs_prot_linux.h: add special definitions for
__FD_* macros which for som strange reason do not get included
from <selectbits.h> on redhat alpha linux. Also turn off usage of
<rpc/des_auth.h> because it is incomplete on the same systems.
* hlfsd/homedir.c (table_add): cast uid field to int, for
comparison.
* include/am_defs.h: more coflicts with redhat alpha linux
"resolved".
* aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
There's a conflict of definitions on redhat alpha linux between
<netinet/in.h> and <linux/fs.h> which must be avoided.
* aux/configure.in: check for <socketbits.h>, which is in use on
redhat alpha linux.
* doc/am-utils.texi (Selectors): added documentation to describe
the new "!" (negated) nomadic functions.
* amd/opts.c (f_in_network): print debugging info that is correct,
rather than saying that any ARG is on a local network.
(eval_opts): added support for negating nomadic functions, by
prepending "!" to their name. Example, !exists(/foo/bar).
Thu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_compat.h: ensure that all NFS3 systems have the mount
table entries (and amd opts switches) "proto" and "vers".
* hlfsd/homedir.c (table_add): added some debugging info to try
and track down a serious memory leak in hlfsd.
1997-12-18 Erez Zadok <ezk@t-rex.mcl.cs.columbia.edu>
* libamu/mount_fs.c (compute_nfs_args): OpenBSD 2.2 requires that
you do NOT set the noconn option, and use connected sockets
always. So I'm now forced not to set it at all, and have the user
specify it as "conn" or "noconn" in their /default entry. Argh...
Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
buggy (TCP hangs with "short receive" kernel errors). I'd better
wait until they get it working in their version of the automounter
first. So I'm putting the "noconn" option back.
Thu Dec 18 02:39:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (compute_nfs_args): use maxgrps option and set
nfs_args field maxgrouplist accordingly.
* include/am_compat.h (MNTTAB_OPT_MAXGROUPS): complete definition
for mount table entry for maxgroups based on NFS mount option
maxgrp.
* aux/configure.in: put back testing for NFS mount option
"maxgrps". Added test for mount table entry "maxgroups".
* libamu/mount_fs.c (compute_nfs_args): perform more careful tests
on nfs_proto, because it could be NULL.
* doc/am-utils.texi (Selectors): added example of in_network()
selector.
* aux/macros/check_hide_mount_type.m4: all hpux versions,
including 9.x, should use "ignore" as the mount type to hide from
amd.
Wed Dec 17 13:09:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_utils.h (NSTREQ): use new macro instead of strncmp()
every where in the sources.
Wed Dec 17 01:15:01 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* libamu/mount_fs.c (print_nfs_args): if -D trace is on, will
print as much info that is given in struct nfs_args as possible.
useful for detecting internal flags and options, as well as the
file handle used.
* scripts/ctl-amd.in: look for amd.conf file in ${prefix}/etc
after /etc and before /etc/local.
Tue Dec 16 18:51:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in, libamu/Makefile.am: added support for linking
with specific versions of libamu. Upped shared library version of
libamu to 1 (libamu.so.1.0.0)
* include/am_defs.h: added external definition for mkstemp() as
needed.
* minor new port to i386-unknown-netbsd1.3 (BETA version of
netbsd).
* aux/config.guess: don't leave a trailing '.' on the system name
for NetBSD-1.3_BETA and similarly for OpenBSD.
* conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
differences in ypall calling conventions.
* mk-amd-map/mk-amd-map.c (main): use mkstemp() whenever possible
in preference over mktemp(), b/c it is more secure.
* aux/configure.in: check for mkstemp(), a more secure version of
mktemp().
Mon Dec 15 02:32:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
table "vers" option generally do not set the mnttab entry to
"nfs3", but to "nfs" and then they set "vers=3". Setting it to
"nfs3" works, but it may break some things like "df -t nfs" and
the "quota" program (esp. on Solaris and Irix). So on those
systems, set it to "nfs".
Sat Dec 13 01:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Distrib): updates for new ports, location of
am-utils' home page, and URL cross references (now supported by my
version of texi2html).
* aux/macros/check_mtype_type.m4: also use string type for file
system mount types under nextstep for mount(2).
* aux/macros/check_mtype_printf_type.m4}: nextstep can handle both
integer and string types for file system mount types in mount(2),
but it is better to use string types.
* conf/nfs_prot/nfs_prot_nextstep.h: set emum nfsstat's NFS_OK to
0, not 1! Otherwise, all NFS calls (esp. mount) return errno 1
(EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now
works.
* conf/nfs_prot/nfs_prot_bsdi2.h: set emum nfsstat's NFS_OK to 0,
not 1! Otherwise, all NFS calls (esp. mount) return errno 1
(EPERM) instead of 0 (OK).
* libamu/xdr_func.c (xdr_*): add debugging calls that are optioned
by -D trace (protocol trace).
1997-12-11 Erez Zadok <ezk@bach.cs.columbia.edu>
* A.m68k-next-nextstep3/amu_nfs_prot.h: define missing S_ISDIR
macro based on existence on others, and include <sys/stat.h>.
Thu Dec 11 14:14:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/try_compile_nfs.m4 (AC_TRY_COMPILE): turn off
inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
which this header is broken (it tries to include non-existing
headers).
Wed Dec 10 16:09:07 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (mnt_flags): support either nfs or generic
mount option for grpid.
* aux/configure.in: turn back on NFS mount option grpid.
Sat Dec 6 04:36:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/Makefile.am (install-ps): added target to install postscript
file in the am-utils' home page, as well as a few other useful
files for the new am-utils Web page.
Mon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a14 ***
*******************************************************************
Sun Nov 16 21:56:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Supported Platforms): updated table of new
ports.
Sat Nov 15 06:36:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (compute_automounter_nfs_args): pass mnttab
options so that they can be printed in logs as needed.
* doc/am-utils.texi (osver Parameter): updated for the correct
usage of the -o/-O options.
* scripts/amd.conf.5: corrected info for -o/-O options.
* amd/amd.8: updated man page for new -O op_sys_name option, and
corrected the usage of the -o op_sys_ver option
* amd/get_args.c (get_args): added new amd option -O to override
OS name.
(get_args): updated usage string. Removed old -m option. Added
-o and -O options.
* conf/nfs_prot/nfs_prot_irix5.h: add definition to FHSIZE in case
it is not there. Reportedly, irix 5.2 does not define it.
* scripts/lostaltmail.in: removed references to unused $hack
variable.
* aux/macros/check_nfs_prot_headers.m4: Patch from Chris Metcalf
<metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
for solaris2.5.
* doc/am-utils.texi (Distrib): typo in the subscription
instructions to amd-dev. Patch from Stefan Vogel
<vogel@physik-rzu.unizh.ch>.
1997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu>
* NFS3 works on powerpc-ibm-aix4.2.1.0.
* libamu/mount_fs.c (compute_nfs_args): set fh3 variable to
static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the
stack of an automatic variable when pointer to it is passed around
several times.
Fri Nov 14 20:09:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/xutil.c (real_plog): syslog like behavior for normal
logging. Will not print repeated strings, only a count "last
message repeated N times", but will always print something if
message is repeated more than 100 times.
* scripts/lostaltmail.in: look for lostaltmail.conf files also in
/etc/global, /etc/os, and /etc/local (in that order).
Mon Nov 10 03:03:17 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* conf/mount/mount_aix.c (mount_aix3): add support for NFS V.3
mounts.
* aux/macros/struct_nfs_args.m4 (AC_TRY_COMPILE_NFS): test for
aix42_nfs_args, specially set in conf/nfs_prot/nfs_prot_aix4_2.h
* conf/sa_dref/sa_dref_*.h: from now on, the "dst" argument to the
NFS_SA_DREF macro is a pointer to the structure that used to be
passed to it before. So now I have to dereference the pointer
before accessing its values.
* hlfsd/hlfsd.c (main): use the new and cleaner
compute_nfs_args() and compute_automounter_nfs_args() functions.
* amd/ops_nfs.c (mount_nfs_fh): use the new and cleaner
compute_nfs_args() and compute_automounter_nfs_args() functions.
* amd/ops_afs.c (mount_toplvl): MAJOR CODE REVISION. Use the new
and cleaner compute_nfs_args() and compute_automounter_nfs_args()
functions.
* libamu/mount_fs.c (compute_nfs_args): major code cleanup that
relates for struct nfs_args. A new function sets the numerous
possible flags and fields of nfs_args_t in an orderly fashion.
Code cleaned up, organized, and moved from amd/hlfsd into
libamu. This saves on overall size of code.
(compute_automounter_nfs_args): A variant of compute_nfs_args()
which sets special options/flags that need to be used when NFS
mounting an automounter's mount point. Used by hlfsd and amd.
* amq/amq.c (get_secure_amd_client): don't print any more
"get_secure_amd_client: using TCP, port 12345". It's more
annoying than useful a message, even when assumed to be compiled
under DEBUG only.
Thu Oct 30 14:33:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_mnttab_type.m4: MAJOR BUG fixed for non-nfs
mount table entries. The code used to define the /etc/mnttab name
for file systems based on physical media (disk, cdrom, floppy) to
the generic name, rather than the OS specific name. For example
autoconf searches for all these types of mount table entries for a
floppy based file system: vfat pcfs pc msdos msdosfs fat. But if
it found any, it hard-coded the mnttab name to "pcfs" rather than
the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs,
nullfs, unionfs, and umapfs.
* aux/configure.in: also test for xfs (for newer Irix) when
looking for mount type names, numbers, etc of a disk-based ufs.
Sun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com>
* amq/amq.c (main): use pmap_ping() to test if remote host is up.
This works better on bsdi2 and bsdi3, because their portmapper
does not appear to like forwarding operations (it is generaly
insecure).
Sat Oct 25 04:55:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a13 ***
*******************************************************************
Fri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_ncr2.h: added missing definition for
struct datum typedef.
* conf/nfs_prot/nfs_prot_netbsd.h: corrected typedef for
ypall_callback_fxn_t for netbsd.
* aux/macros/type_auth_create_gidlist.m4: hpux10.10 uses int for
the 5th arg to authunix_create(), while before and after they used
gid_t.
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
clnt_create_timed() on older Solaris 2.3 systems that did not have
it.
* conf/nfs_prot/nfs_prot_bsdi2.h: <msdosfs/msdosfsmount.h> is for
kernel only on bsdi2, so do not include it.
Fri Oct 24 00:29:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* hlfsd/stubs.c (nfsproc_readlink_2_svc): avoid logging repeated
messages about resolution of mailboxes based on uid/gid.
* scripts/ctl-hlfsd.in: check for alternate password file in
${prefix}/etc/passwd and use it in hlfsd's startup.
Thu Oct 23 22:48:50 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* hlfsd/homedir.c (hlfsd_getpwent): added support for -P
passwdfile option. If hlfsd is started with -P passwdfile, then
the passwdfile is read and parsed just as a standard unix
passwd(4) file. Only the username, uid, and homedir fields are
read and checked. All the rest are ignored. No NIS/netgroup
support!
* hlfsd/hlfsd.c (main): check if hlfsd is run as root after
parsing command line options, so that usage() can be printed when
-h is invoked.
Wed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/nfs_start.c (mount_automounter): if autofs service listener
fails to initialize it is OK if using a test amd.
* amd/opts.c (f_in_network): new nomadic function in_network(arg),
which returns TRUE if 'arg' is any one of this host's networks.
* libamu/wire.c (getwire): rewritten parts of function, to store
all networks names and numbers in the order of the interface (not
in reverse).
Mon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: don't add ops_ufs.o on AIX twice. My code
would have worked had it not been due to AIX's buggy /bin/sh.
* doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
am-utils.ps in the distribution sources.
(html): generate html documentation for
http://www.am-utils.org
Sun Oct 19 12:35:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_netbsd.h: override the definition of
ypall_callback_fxn_t. The NetBSD team compiles all sources with
gcc -Wall -Wmissing-prototypes -Wstrict-prototypes.
* amd/info_nis.c: allow for override of ypall_callback_fxn_t
function typedef.
* libamu/xutil.c (amu_release_controlling_tty): new function to
release the controlling tty in a clean and sane manner. No longer
using setpgid() b/c it may not work. Uses setsid(),
and ioctl() (in order). This new function is used in amd/amd.c
and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some
systems, but on others it is the same as setpgid().
Sat Oct 18 23:42:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/acconfig.h: check for nfs mount option 'fsname'. Code for
it was in amd/ops_afs.c, amd/ops_nfs.c, and hlfsd/hlfsd.c, but
never used, because the configure test for fsname flag wasn't
used. This fixed a bug in HPUX 10, where syncer and manual mounts
left blank lines in /etc/mnttab.
* aux/configure.in: check for nfs mount option 'fsname'.
Fri Oct 17 13:30:27 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
mount flags of toplvl mounts. Important esp. for HPUX 10. Now
hpux-10 will mount amd's mounts points as 'ignore' (by df).
* aux/configure.in: check for NFS mount option 'ignore', useful in
HPUX 10.
Thu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
mount type and not NFS, for the amd mount points.
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
an RPC timeout as an error, but just an info message. From
Andreas Stolcke <stolcke@speech.sri.com>
* If the NFS server is down or does not support the portmapper
call (such as certain Novell NFS servers) we mark it as version 2
and we let the nfs code deal with the case that is down. If when
the server comes back up, it can support NFS V.3 and/or TCP, it
will use those. From christos@deshaw.com (Christos Zoulas).
* hlfsd/homedir.c (plt_print): various compile time cleanups to
printfs that take a long, but pass an int to print. From
christos@deshaw.com (Christos Zoulas).
* aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
macro to determine if the OS has a bad yp_all(), based on the host
OS name. So far only irix (all versions) have a bad yp_all, so
they will use am_yp_all() instead (which is slower as it
enumerates manually all of the map's entries).
Thu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
* amd/info_nis.c (am_yp_all): code for a replacement yp_all that
avoids using a file-descriptor leaking yp_all() on some systems
like irix.
Wed Oct 15 21:52:35 1997 Erez Zadok <ezk>
* fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
systems using /usr/bin/flex.
* amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
that have a modified GNU flex which does define yywrap (DU-4.x).
Fri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/checkmount/checkmount_bsd44.c: include prototype.
Fri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a12 ***
*******************************************************************
Fri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
code in irix6 until it can be tested correctly
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
on clnt_create for 3 seconds, rather than wait for the much longer
default.
* conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
Includes NFS3, untested.
Thu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
pcfs_args_t if they exist.
* amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
cdfs_args_t if it exists.
* new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
Wed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (wire-test): updated documentation for the new
option.
* wire-test/wire-test.8: updated man page for new option.
* wire-test/wire-test.c (main): added a test for various
combinations of NFS proto/vers to a remote/local host.
* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
<isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
freebsd will correctly set mount options for pcfs and cdfs.
* amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
0777 (if field exists).
* aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
<msdosfs/msdosfsmount.h> if available.
* minor new port: rs6000-ibm-aix4.1.4.0.
* libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
write the "time" field in /etc/mnttab.
* conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
detecting mnt_time field of mntent_t.
* libamu/mtab.c (mnt_free): fixed typo in macro names for
detecting mnt_time field of mntent_t.
Tue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mtab/mtab_file.c (lock): Use flock() in preference over
fcntl() to lock the mtab file.
Mon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/transp/transp_sockets.c (get_nfs_version): define
the try_again goto label only for NFS3.
(pmap_ping): assume timeout failure of clnt_stat.
* libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
"groups *".
Mon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
<dsr@mail.lns.cornell.edu> to make sure that amd works with more
secure portmappers that do not allow forwarding of RPC messages to
other services.
* */Makefile.am: all source files should also depend on the new
include/am_xdr_func.h header.
* include/am_xdr_func.h: new file as part of the code cleanup from
Christos Zoulas <christos@deshaw.com>.
* Lots of fixes from Christos Zoulas <christos@deshaw.com> that
involved missing prototypes, cleaned up ones, and removal of
unused variables.
* libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch
statement with only one case is unclean.
Mon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
0 so that all fields are initialized to zero at first. This way
SunOS 4.x and other systems don't get /etc/mtab entries with
random integers for the fsck/freq fields. Patch from Andreas
Stolcke <stolcke@speech.sri.com>.
Mon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
that the important definition for HOSTNAMESZ will be found.
* amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
(inside the nfs_args structure) if the system uses that macro.
Otherwise systems like SunOS refuse to NFS mount long pathnames
and result in ENAMETOOLONG errno's.
Wed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* doc/am-utils.texi (Supported Platforms): specify new support for
solaris 2.6, and hlfsd running on 2.5.1 too.
Wed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
* conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
mount if it is not supported or was turned off.
Wed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
again. Apparently at some previous release SunOS 4 supported was
broken and all nfs mounts resulted in ESTALE.
Wed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
solaris 2.6.
* aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
protocol header selection.
Sat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
infinite loop.
Sun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a11 ***
*******************************************************************
Fri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amd.c (main): if plock() succeeded, don't try to display
errno message. Patch from Chris Metcalf
<metcalf@catfish.lcs.mit.edu.
Thu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/homedir.c (table_add): make sure duplicate passwd entries
are ignored. Only the first entry should ever be used, because
that's how lookup in passwd database works.
* conf/transp/transp_sockets.c (get_nfs_version): when determining
if a remote host is up or down, use NFS v.2. Fix suggested by
Enami Tsugutomo <enami@cv.sony.co.jp>.
* conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
function to get the best possible NFS version, but also timeout
faster than normal defaults, so remote hosts which are down can be
detected in a reasonable time.
(get_nfs_version): use the new "best" function.
Tue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a10 ***
*******************************************************************
Mon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/transp/transp_tli.c (get_nfs_version): don't use
clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
and earlier).
* aux/configure.in: test for existence of clnt_tp_create_timed(),
since Solaris 2.4 (and possibly earlier) do not have it.
Mon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
* amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
field if it exists (solaris 2.4's autofs does not have it).
Mon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/type_auth_create_gidlist.m4: a new test to determine
the correct type to the 5th argument of authunix_create().
Mon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
* libamu/xdr_func.c (xdr_umntrequest): add test for autofs
structure umntrequest, if it has the field rdevid. Seems Solaris
2.4 and earlier didn't have it.
Mon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
can be done before primary process forks.
(main): bug fix: wait a bit to give child a chance to initialize.
Without this, hlfsd got into a busy infinite loop while, never
completing the mount.
* amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
to make amd works when talking to NIS+ servers in NIS
compatibility mode.
Mon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
Sun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/conf.c (gopt_fully_qualified_hosts): a new function to
process another new global variable.
* amd/ops_nfs.c (make_nfs_auth): if a new global variable
fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
* amd/conf.c (process_last_regular_map): If the amd.conf file only
has a [global] section (pretty useless IMHO), do not try to
process a map that does not exist.
* scripts/amd.conf.5: fixed typos (repeated 'as' word).
* doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
* amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm
structure, so it does not carry over from map entry to another.
Sat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/amd.c (main): fixed the meaning of the plock option. A bug
caused it to be reversed.
Sat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/stubs.c: don't initialize some statics here. They are
better initialized in hlfsd_init_filehandles().
Fri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf.c (gopt_show_statfs_entries): new function and a global
amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes',
then all maps flagged as browsable will also show a count of the
number of entries (keys) in that map.
* amd/nfs_subr.c (count_map_entries): new function to count number
of entries in a map. Now used if browsable is turned on in a map,
to return a count of available keys in a given map.
* hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd
confused the file handles for ".", "..", and the symlink, causing
mess.
* aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
with bad memcmp() in libc's (nextstep3).
Thu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: check if autofs_args_t has a field named
addr. Solaris has it for specifying the address of the daemon,
but Irix does not. So how does irix tell the kernel the daemon's
address? I suspect that it is hardcoded to "localhost" using a
"private well-known port" (#define AUTOFS_PORT 2048).
* conf/nfs_prot/nfs_prot_linux.h: added missing autofs
definitions.
* README.autofs: new file listing autofs support notes
* very preliminary autofs code working. Call it pre-alpha
quality.
Sun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
"autofs" if system does not support it.
* amd/amd.c (main): log am-utils version string (same as amd -v)
at start of run.
* conf/transp/transp_sockets.c (get_nfs_version): in order to tell
if a remote host is available, try to contact its portmapper and
timeout if no answer is received in 3 seconds.
Thu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_extern.m4 (pattern): use a simpler pattern for
match for external function definitions. The function could span
multiple lines, so only match the opening parenthesis, not the
closing one too.
* aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
posix mode for nextstep3. It is broken.
* amd/amd.c (init_global_options): run uname() only if
<sys/utsname.h> and uname(2) exist.
* amd/rpc_fwd.c (fwd_packet): if remote host is down, the
forwarding socket is null, so declare this an error.
* include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
for when a remote host is down. Try, in order, "host down", "host
unreachable", "invalid argument".
* amd/ops_nfs.c (discard_fh): don't dereference a null pointer
(happens when remote host is down, and fp->fh_fs is NULL).
(prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
and FSF_DOWN.
* amd/sched.c: nobody uses "union wait" any more, or so it
appears, so clean up that code.
* conf/transp/transp_tli.c (get_nfs_version): if remote host is
down, time it out faster than default (3 seconds).
(get_mount_client): free netconfig entry when done with it.
* conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
port to nextstep3 (m68k-next-nextstep3).
* fsinfo/Makefile.am (LDADD): needs to link with libamu in case
system does not have strdup().
* include/am_defs.h: complete external definition for getlogin()
if needed.
* conf/transp/transp_tli.c (get_nfs_version): no need to keep
static versout variable.
* amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
server is probably down. Don't use sendto() in that case.
* buildall (default): run gmake if found, before trying plain
make. GNU make is always preferable.
Tue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/host_macros.m4: cleanup of os_version and os
overrides. Solaris 2.5.1 for example will come up as solaris2 and
2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in
the amd.conf file.
Fri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a9 ***
*******************************************************************
Thu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
(i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff
from <ndbm.h> and <sys/resource.h>.
* scripts/amd.conf.5: new map page.
* amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
does not.
* amd/amd.8: updated man page.
* amd/get_args.c (get_args): removed defunct -h option to amd.
* amq/amq.8: updated man page.
* amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
SparcCompiler CC won't complain.
* amd/info_hesiod.c (hesiod_search): small fixes to compile with
hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
* aux/macros/opt_ldflags.m4: new option added to configure
--enable-ldflags, to specify -L option for configuring/compiling.
The older one --enable-libs is now to be used only for -l options.
* amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize
nc_protoname from nfs_proto if available for all TLI systems, not
just those that have NFS V3.
* amd/info_ldap.c: ldap patches from Leif Johansson
<leifj@matematik.su.se>, adding two new amd.conf ldap variables:
ldap_cache_seconds and ldap_cache_maxmem.
* hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
htons().
Sun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/nfs_start.c (mount_automounter): register amd with the rpc
program number that may have been overridden by amd.conf.
* libamu/xutil.c (set_amd_program_number, get_amd_program_number):
allow storing and retrieving alternate amd program numbers.
* amd/conf.c (gopt_portmap_program): new function to parse
amd.conf entry portmap_program=1234.
* amq/amq.c (main): allow specifying an alternate rpc program
number for amd via -P prognum.
* new amq RPC to get the process id of the running amd. This is
used in ctl-amd to quickly find the pid of the amd that is to be
killed.
* expanded shared libraries support. Using GNU libtool-1.0,
am-utils now builds shared libraries on many platforms that have
support for it and proper compilers/linkers. See "INSTALL" file
for compatibility chart.
Thu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* fsinfo/fsi_lex.l: removed code that was in support of very old
versions of flex. No longer needed.
Tue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/amd.c (init_global_options): find the kernel architecture
from uname() if possible.
Mon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* new working port: i386-unknown-openbsd2.1
Fri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
* working port: sparc-sun-solaris2.4. Had to fix fhandle_t from
structure to actual char[], because the structure was passed to
xdr_fhandle as data and not a pointer. Surprisingly, gcc
-fpcc-struct-return did not help.
* conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
definitions for solaris 2.4 have to be different from 2.3, and
different from 2.5.
* libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
Thu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
types, not ==. Fix from Christos Zoulas <christos@deshaw.com>.
* mk-amd-map/mk-amd-map.8: man page taken from bsd44.
Thu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
* conf/mount/mount_linux.c: made the nfs error mapping code into a
small function.
Wed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
error mappings from errno numbers to NFS errors. From Debian
Linux.
* scripts/am-eject.in (fs): new script (taken from Debian Linux
folks) to auto-unmount floppy/cd devices before ejecting them.
* fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
'5' as second arg to show_area_being_processed. I'm not sure why.
* fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
second arg to show_area_being_processed. I'm not sure why.
* conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
ensure that you have a buffer in *xopts to strcat onto.
(mount_linux): fixed from Debian folks to ensure that NFS mount
sockets are connected only for kernels prior to 1.3.10 (avoids
hangs for multi-homed hosts).
* amd/mapc.c (make_entry_chain): from Debian folks: don't skip
over amd map keys that have a prefix, and include the prefix in
the returned readdir().
* amd/info_passwd.c (passwd_init, passwd_search): format
enhancements from the Debian Linux folks. They added
- var0:=pw-prefix:=anydir
- var1:=pw-rhost:=dom3.dom2.dom1
- var2:=pw-user:=user
- var3:=pw-home:=/anydir/dom1/dom2/dom3/user
* new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
* amd/ops_afs.c (afs_retry): patches from Debian Linux. If
afs_mount timed out, then explicitly forbid further retries after
the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout
values (17 and 5) were mistakenly swapped.
Wed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
support for Solaris 2.4 (the header files incorrectly define parts
of the NFS V.3 protocol, but the kernel does not support it).
Wed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
for determining if using old or new hesiod libraries,
respectively.
* amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
V.3 then use non-connected sockets (both TCP and UDP). Otherwise
they cause hangs of mounts from multi-homed hosts when the return
route is not the same as the outgoing route (esp. on NetBSD
1.2.1). If "conn" option was supplied, then don't turn on the
"noconn" mount option. Otherwise default to "noconn" mount
option.
* aux/configure.in: better check for systems that need libgdbm and
<ndbm.h>
Tue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
mounts are hidden from df(1) on systems that keep mount tables in
kernel, such as osf1.
Tue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a8 ***
*******************************************************************
Mon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu>
* hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
AF_INET when hlfsd mounts itself, thus getting an errno "protocol
family not supported".
Mon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* verified that amd on NetBSD 1.2.1 (i386) works, but the OS
itself is flaky.
* verified that amd AIX 3 works w/ the new readdir() code.
Mon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
* amd/mapc.c (maptypes): changed the default map caching type for
nis and ndbm maps to "MAPC_ALL", so that all possible entries will
be available to amd for browsable_dirs=yes.
Mon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
afs_readdir into a browsable version and a non-browsable one.
Fixed bugs that resulted in an infinite nfs_readdir loop on the
localhost for some operating systems.
Sat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_afs.c (afs_readdir): fixed up the browsable code to
comply with nfs_readdir specs. It was returning all entries at
once, even if there was not enough space in the RPC packet. Now,
it sends a reasonably sized chunk, and sets static state to resume
it for the next continuation RPC of readdir.
* amd/conf.c (set_conf_kv): fixed bug that resulted in the first
regular map not getting all of the [global] options defaulted from.
Fri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amq/amq.c (main): fixed so that portmapper "ping" will only fail
upon an RPC timeout
* scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
amd/hlfsd process to kill.
* amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
determine how to avoid df from seeing amd's toplvl mounts. Moved
from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd
is hidden from df.
(mount_toplvl): fixed df types for irix.
Thu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
* amq/amq.c (main): fixed bug that caused the 5 second timeout for
TLI amq using udp to be ignored.
(main): if amq cannot contact remote host's portmapper within 5
seconds, timeout and fail faster than the default longer timeout
(this is for non-TLI systems).
Thu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amq/amq.c (get_secure_amd_client): if amq cannot contact
remote host's portmapper within 5 seconds, timeout and fail faster
than the default TLI timeout of over 4 minutes.
* amd/am_ops.c (ops_showfstypes): added styles for new bsd44
file systems nullfs, unionfs, and umapfs.
(ops_show1): cleanup code and and reuse this function.
(vops): empty placeholders for nullfs, unionfs, and umapfs.
* amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
bsd44 style file systems.
* fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
sources.
* amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
conflict with systems that define it in <sys/ioctl.h> and also
define a conflicting one via lex. Newer versions of f/lex are ok.
Wed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
acdirmin/max and acregmin/max only if they exist.
* aux/configure.in: test for nfs_args fields acdirmin and
acregmin.
Tue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
"nondev" and commented back in checking for "nodev". This was a
typo.
* include/am_compat.h: more compatibility options: define "ro"
mnttab option all the time. Define "overlay" as needed. Added
more fillers of mnttab options (as per Daniel S. Riley
<dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
acregmin, noac, grpid, nosuid, and actimo.
* libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up
the same code for other options in struct opt_tab.
Mon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/get_args.c (get_args): moved amd.conf file parsing to before
the switching the default log/debug options. Suggested by
dsr@mail.lns.cornell.edu (Daniel S. Riley).
* aux/update_build_version: new script to record the build version
of amd, along with the rest of the info thet comes up with amd -v.
Sun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk>
* aux/macros/os_cflags.m4: new macro, to add additional
compilation options (also used during configuration), based on the
OS and the compiler. Used for solaris-2.6, osf, and irix6.
Fri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/conf_tok.l, conf_parse.y: allow values of keys to include
white spaces, if they are double-quoted (key="some value")
* amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
Fri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a7 ***
*******************************************************************
Thu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* include/am_defs.h: fill in extern definition of innetgr() in
case system headers don't.
* aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
will show the full pathname to yacc/bison and f/lex. Some systems
have older or bad versions of those and this way the user will
know for sure what is being invoked.
* tasks: file populated with todo items.
* scripts/amd2ldif.in: Script to convert amd maps to plain text
LDAP object files. Contributed by Leif Johansson
<leifj@matematik.su.se>.
* aux/config.guess: added recognition for sun3's running 4.2bsd,
from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo.
* amd/conf.c: several variables that were local to a map, were
also added to [global], where they apply to all maps. Each map
can then individually override those defaults. Flags
affected: browsable_dirs and mount_type. Options affected:
map_type, map_options, and search_path.
* amd/amd.h: eliminated several global flags each of which took an
int, in favor of one global flags variable used as a bit field.
* amd/amd.c (init_global_options): moved all global variables into
a single struct amu_global_options, so it is easier to add new
ones and/or identify existing ones.
* amd/get_args.c (get_args): removed unused amd -m option.
* amd/conf.c (gopt_cluster): added new amd.conf option for cluster
name, same as amd -C.
* amd/info_ldap.c: LDAP info map functions from Leif Johansson
<leifj@matematik.su.se>.
* amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
amd.conf options for ldap_base and ldap_hostports.
* amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
if the current host is in the ARG host netgroup.
* aux/configure.in: some systems replaced dbm in libc with GNU's
libgdbm, so check for libgdbm, but only if dbm_open is not in
libc already. This was a recommendation from Tom Schmidt
<tschmidt@micron.com>.
* conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
completed.
Wed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS
V.3.
Tue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu>
* port to i386-unknown-freebsd3.0 done and working. Includes NFS
V.3.
* aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
file handle dereferencing style similar to freebsd22.
* include/am_defs.h: need to include <net/if_var.h> before
<netinet/if_ether.h> on freebsd3.
* conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
for freeBSD 3.0.
Tue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
* amd/info_nis.c (nis_reload): cast nis' callback function so
picky compilers won't complain.
* libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
gets compiled only if the system has NFS V3 and does not have
xdr_mountres3.
Tue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* COPYING: put in some legal stuff in this file.
Mon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com>
* NFS V3 now works under Irix5, thanks to patches from
Andreas Stolcke <stolcke@speech.sri.com>.
* conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
version and an irix6 version, since irix5's NFS V3 code is broken
and hacky.
* amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
sizes for some hesiod queries. Patch from Danny Braniss
<danny@cs.huji.ac.il>.
Mon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com>
* amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
Sun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com>
* aux/{configure.in,acconfig.h}: added checks for struct
nfs_args's fields proto and sotype (bsdi3).
* amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field
to SOCK_STREAM or SOCK_DGRAM.
* aux/macros/check_mount_style.m4: add case for bsdi3.
* amd/info_hesiod.c: got hesiod support for bsdi3.
Sun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: look for hesiod on libc (bsdi3)
* amd/get_args.c (get_args): reformat usage so it fits in 80
columns.
* scripts/ctl-amd.in: changed directory name for optional tftpboot
map to /tftpboot/.amd.
Sat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a6 ***
*******************************************************************
Sat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-amd.in: include -T tag for tftpboot.
* new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code
is broken and needs work on the specific nfs_args that irix5 uses
for V3 mounts.
Sat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/get_args.c (get_args): new options amd -T tag. A map with
tag=foo matching the -T tag will be processed. All untagged maps
get processed all the time.
Fri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: need to check for strcasecmp in libucb (ncr2)
* aux/macros/check_os_libs.m4: a new macro to set the usage of
libnsl and libsocket based on the OS.
* libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
defined (problem on osf4).
* conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
* include/am_defs.h, aux/macros/try_compile_nfs.m4,
aux/macros/mount_headers.m4: do include <sys/proc.h> because it
failes on irix5. Rather, put in the individual
conf/nfs_prot/nfs_prot_*.h headers.
* amd/conf.c: AIX3 doesn't like strdup() being passed a constant
char*, so cast all strdup()'s args to a non-const char*.
* amd/mapc.c (root_newmap): don't try to strdup only a "const
char *".
Fri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
sys/errno.h.
Thu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com>
* made sure am-utils compiles, links, and runs properly on Irix
6.2 using "cc -32 -Wl,-woff,"
* aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add
them to $LIBS.
* aux/configure.in: some cleanup of which libraries are needed.
Espectially ensure that libnsl is included only on Solaris, where
so far it is the only system on which it is absolutely necessary.
Also no longer need to include libc explicitly.
* amd/amd.c,wire-test/wire-test.c (main): convert IP address to
network-long order before printing it.
* wire-test/wire-test.c (main): also check and report on the IP
address of the local host, since some systems have bad versions of
get_myaddress, or ones that conflict with other versions in
multiple libraries (SunOS 4 and Irix especially).
Wed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com>
* scripts/ctl-amd.in: don't use full pathname so killproc() works
better. Also run bsd44 and irix style ps programs.
* aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
of library no matter if it was found or not.
Wed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
for M_* macros, but ensure that <sys/stream.h> is not included at
all so it won't conflict with other M_* macros.
Tue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu>
* conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
irix should be "spec" (host:/path), not the dir of the mnt point.
* amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
fixed. If on, it essentially ignored the setting in a
selector-controlled /defaults if there were 2 or more entries in it.
Tue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
using BSD style ps, then try SVR4 style ps.
* include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
etc., to avoid conflicts with similar named macros in <ldap.h>.
* aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
support needed for LDAP. Now the code has to be written mostly in
amd/info_ldap.c.
* Included additional patches from Andreas Stolcke
<stolcke@speech.sri.com> to support using the best possible
combination of NFS version (2,3) and protocol (udp,tcp) for any
given host, since it appears that some Irix versions have NFS V3,
but do not support TCP.
* scripts/ctl-amd.in: updated amd control script to look for and
use amd.conf file.
Tue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/mapc.c (mapc_create): now, each map in the amd.conf can be
initialized off of a different type, or default to cycling through
all maps until one of them matches.
Mon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
if browsable_dirs=yes is set in the map section in amd.conf, that
map will return all entries back to a readdir(2).
Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* rudimentary amd.conf file support included. You may even
override things like os=sos5, to get "backwards" compatibility with
upl102.
Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/conf.c: new file to process amd.conf file.
* amd/get_args.c (get_args): new options -H to print help.
* moved enable_default_selectors to be amd.conf controlled, and
not compiler controlled.
* amd/get_args.c (get_args): new options -F <conf-file> to parse an
amd configuration file.
Wed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* converted all files that used strcmp() == 0 or != 0 to using
the STREQ() macro.
Mon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
search for any number of functions in any given library.
Mon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/mapc.c: Included patch from Leif Johansson
<leifj@matematik.su.se> to ensure that systems without an RE
library can compile.
* libamu/mount_fs.c (mount_fs): Included patch from Andreas
Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
table are properly delimited by a comma.
* amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
Stolcke <stolcke@speech.sri.com>, to allow users to override the
proto= and vers= mount options.
Sun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com)
* conf/nfs_prot/nfs_prot_svr4.h: port completed to
i486-ncr-sysv4.3.03. Assorted source cleanups done.
* include/am_defs.h, aux/macros/mount_headers.m4: don't include
mnttab.h if sys/mnttab.h was already included, because on ncr2,
they contain conflicting entries for struct mnttab.
Sat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com)
* aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
Fri Jun 20 06:14:17 1997 Erez Zadok <ezk>
* amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
* aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
Wed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com>
* aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
better.
Tue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
NULL, set the maxlen and len fields in netbuf to zero.
Wed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/fix-amd-map.in (name): replace all matching patterns on
line.
Sun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a5 ***
*******************************************************************
Sun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
procedure now returns the full string that amd -v returns.
* amd/get_args.c (get_version_string): new function to return
complete version/info string so it could be used more flexibly.
* amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
of Fs types into a string buffer, rather than a FILE*.
* amd/mapc.c (mapc_showtypes): put the list of map types into a
string buffer, rather than a FILE*.
Sun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/get_args.c (get_args): amd -v also prints user who built
amd, hostname built on, and date of configuration.
Sat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* scripts/lostaltmail.conf-sample: sample lostaltmail
configuration file.
* scripts/lostaltmail.in: new script lostaltmail used to redeliver
"lost" mail that hlfsd redirected to a temp location because the
primary home file system of the user was full.
* scripts/amd2sun.in: new script amd2sun. Used to convert Sub
automount maps to amd maps.
* scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start,
stop, or restart hlfsd.
* scripts/expn.1: man page for expn command.
* scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or
restart amd.
* scripts/expn.in: new script expn. Actually taken from David
Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery
script.
* scripts/wait4amd.in: new script wait4amd added. Waits for amd
to come up on a host, and then runs a command (rsh $hostname by
default).
* scripts/Makefile.am: new directory now holds all shell/perl
scripts that belong to am-utils.
* conf/mount/mount_linux.c (parse_opts): new parser for
linux-specific mounts. Handles fs-type specific mount-options
correctly. Currently implemented: msdos, iso9660.
* amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
(fix for linux).
* amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
(fix for linux).
* amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
core dumps upon "ls" of a mount point; an invalid pointer was
being returned and dereferenced.
* port to Linux sparc working!
* hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
failed to write test file, or else the fd will leak.
Sun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
instead of strcmp().
* Port to Digital Unix 4.0 (OSF) done.
* hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
with dirname() function in <string.h> on OSF systems.
* fsinfo/fsi_util.c (set_ether_if): take out extern definition of
inet_addr(). It should come from <arpa/inet.h> instead.
* conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
* include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
avoid conflicts with DU 4.0 system header.
Thu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
* libamu/mount_fs.c (mount_fs): pass along NFS version so I can
determine if to include additional options in the mount table file
entry (such as proto=tcp, and vers=3).
Thu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* libamu/mount_fs.c (mount_fs): include NFS version number in the
mount table options, as well as proto={tcp,udp}.
Wed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* NFS V3 code ported to most other systems, so it compiles for V2
and V3 NFS systems.
* NFS VERSION 3 support, first pass. Working for Solaris and
using TCP.
Sun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* amq/amq.c: many newline characters were missing from various
stderr printfs.
Sat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
Solaris, which include NFS V3 support.
* conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
* conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
protocol version while getting a mount client.
* amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
file handle size, and proper file handle based on the correct NFS
version number.
* conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
Solaris and other SVR4 systems.
* amd/ops_nfs.c: store NFS file handle version and version
specific handle in struct fh_cache.
(got_nfs_fh): pick the correct RPC reply based on the NFS version
of the server.
(prime_nfs_fhandle_cache): figure out the right NFS file handle
for a node, but now include NFS protocol version information.
(call_mountd): set the correct version for the mount protocol,
based on the NFS protocol version.
(nfs_init): use the NFS protocol generic structure
am_nfs_handle_t.
* include/am_utils.h: new structure am_nfs_handle_t to contain all
possible versions of NFS file handles.
* amd/srvr_nfs.c (start_ping): ping program performs NFS version
specific pings.
(recompute_portmap): figure out the correct portmap version mount.
(nfs_keepalive): call start_ping() with the correct NFS version.
(find_nfs_srvr): if mount option "vers=" is given, use it. Get
the NFS server version and verify that it is up.
* conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
function to find the best NFS version for a particular host.
* libamu/amu.h: determine what is the highest version of NFS we
should try.
* include/am_utils.h (NFS_VERSION3): added definition for NFS V3
protocol number.
Added field fs_version to struct fserver, so we can now store the
server protocol version.
Fri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
* aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
underscores too, so I can test for sub-fields.
* libamu/wire.c: use test that checks for sub-fields of struct
ifreq.
Sat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com>
* port to BSD/OS 3.0 completed! Many xdr_ functions were broken
into smaller files. M4 macros fixed to test for existence of
file systems using getvfsbyname().
* amd/sched.c (sigchld): signal handler must waitpid() for all
possible children.
* hlfsd/homedir.c: signal handler must waitpid() for all possible
children.
* aux/macros/check_restartable_signals.m4: new macro to determine
if need to reinstall signal handlers per OS is better than trying
to figure these out based on system macros.
Fri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com>
* amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
* amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
* amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
(must be supplied for bsdi 3.0)
* libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
associated new macro) for determining the right way to compute the
size of the interface structure.
Fri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* aux/configure.in: need to include libc before libnsl if
get_myaddress() is available because on irix libnsl has a buggy
get_myaddress().
* include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
on Irix 6 (an SVR4 variant)
Thu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a4 ***
*******************************************************************
Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/amq_subr.c (ok_security): turned off insecure code unless
user explicitly runs configure --enable-amq-mount.
* hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
* amd/nfs_start.c (mount_automounter): use code that separately
creates the NFS and the amq service. Register tcp and udp
services for amd.
* conf/transp/transp_*.c (create_amq_service): new function to
separately create the amq service for amd. Simplified prototypes
for create_nfs_service().
Wed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a3 ***
*******************************************************************
Wed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots
of small changes to support these two.
Wed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu>
* conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
should run if MOUNT_TABLE_ON_FILE, not otherwise.
Mon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* hlfsd/hlfsd.c (main): fill in fhsize field if exists
(freebsd-2.2).
* amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
exists (freebsd-2.2).
Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher
changed the filehandle type in struct nfs_args from nfsv2fh_t to
u_char.
Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* SHARED LIBRARIES: too many change to list individually. Now,
libamu can be built as a shared library, and other programs link
with it.
Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* aux/macros/opt_shared.m4: new macro for setting options for
building shared am-utils libraries.
Sun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* fixmount/fixrmtab: cleaned up the script.
* fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
fixrmtab gets distributed too.
* conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
Added extern for xdr_mountlist().
* aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
the sources.
Sat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
* fixmount/hlfsd ported to bsd44, hpux, and linux systems.
* aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
* conf/fixmount/fixmount_default.c: use lockf() if flock() is
unavailable.
* include/am_defs.h: include <string.h> even if don't have
STDC_HEADERS defined (sunos4).
(seteuid): define seteuid() to be setresuid() for systems that
have but not the other (hpux).
* aux/macros/check_extern.m4: test should include <strings.h>.
Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* lib/xutil.c (debug_option): moved from amd/getargs.c to this
more proper file.
* include/am_utils.h: put in structure for debug options, for all
progams to use.
* amd/get_args.c: moved structure for debug options out.
Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* ported fixmount.
* lib/ualarm.c: replacement function for systems that don't have a
ualarm().
* ported fsinfo.
Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* ported mk-amd-map.
* buildall: added -K option to buildall, to run mkconf.
Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a2 ***
*******************************************************************
Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* all *.[hcyl] files: add copyright line.
* aux/macros/check_mount_type.m4: test for mount type for
linux-like systems, by checking for loadable or statically linked
kernel filesystem modules.
* aux/macros/check_mnttab_type.m4: test for mount table entry
for linux-like systems, by checking for loadable or statically
linked kernel filesystem modules.
* aux/configure.in: pcfs filesystems can use vfat type (linux)
* aux/macros/check_fs_mntent.m4: test for filesystem existence for
linux-like systems, by checking for loadable or statically linked
kernel filesystem modules.
* conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
9.0 header files. This should be removed when HPUX 9.0 is deemed
defunct.
* aux/acconfig.h: set an undefined variable for having an extern
to clnt_sperrno().
* include/am_defs.h: define extern for clnt_sperrno() if needed.
* aux/configure.in: test for extern clnt_sperrno().
* aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
similar to irix.
* aux/macros/check_mount_style.m4: use mount helper on HPUX.
* aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
not integer (but may be mapped to one later).
* conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
files. They have mount(2) and vfsmount(2) which don't take same
arguments, and they have string mount types MNTTYPE_* as well as
integer types MOUNT_*. So I need this new mount function to map
from string types to integer types for the vfsmount() function.
* conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
vfsmount(), call mount_hpux().
Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
* lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
hpux.
* include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
* aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
* buildall: added ability to configure using other shells than
/bin/sh, on those systems where /bin/sh is buggy or limited
(HPUX).
* aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
defined am_nfs_fh, and also test for plain typedef "nfs_fh".
* aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
reinstated macro.
* aux/configure.in: check for <nfs/export.h>
* include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
* aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
exists.
* aux/macros/mount_headers.m4 (define): removed some non-working
(on HPUX) code that attempts to recreate the fhandle_t rather than
load it up from system headers. Also added some NFS protocol
header inclusion. include <nfs/export.h> (HPUX) if exists.
Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
* aux/macros/mount_headers.m4 (define): Use M4 changequote to
ensure [] brackets are correctly used.
* aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
multi-line M4 inclusions in [].
Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
it exists.
* aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
config.h macro for field f_fstypename of struct statfs.
* aux/configure.in: testing for field f_fstypename field of struct
statfs (NetBSD).
* aux/acconfig.h: moved all of the "static" definitions out to a
fixed file called include/am_defs.h. Added to all */Makefile.am
files a dependency on am_defs.h. Created am_defs.h of course, and
then added #include <amd_defs.h> to all of the source and header
files that required it.
Mon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com>
* aux/acconfig.h: two more externals for xdr functions that may be
implemented by libamu.
* conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
definitions.
Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* buildall (default): added -D option for turning on even stricker
developer options.
* */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
determine dependencies on optional NFS protocol headers.
* aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
* aux/macros/check_nfs_prot_header.m4: new test to determine what
NFS protocol headers to use.
* conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
complete missing system headers for NFS protocol definitions.
Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
* amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
#ifdef's as needed.
* amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
suitable #ifdef'ed.
* include/am_compat.h: a couple more mnttab options
(timeo/retrans) setting just in case.
* amd/autil.c (host_normalize): make sure hostent->h_name is
passed a non-const char *.
* conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
* {lib,amq,amd}/*.c (many functions): cast xdr_entry to
XDRPROC_T_TYPE.
* lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
XDRPROC_T_TYPE.
* lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
XDRPROC_T_TYPE.
* lib/wire.c (getwire): Make sure safe assignment from const to
none is done.
Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
* aux/macros/expand_cpp_int.m4: new macro for expanding integers.
* aux/configure.in: added linux/fs.h support in configure and
several M4 macros.
* conf/mount/mount_linux.c (mount_linux): use macro instead of
"ugly" fixed hex number for mount() arguments.
Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
turned all of its code always on. That code always seems to
compile, as long as you have hesiod and libresolv.
* amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
of its code always on.
* aux/configure.in: removed superfluous test for hs_zone_transfer
function (will never find it because it is an amd-internal
function).
* amd/mapc.c (maptypes): must used correct new name for am-utils'
hesiod initialization function: hesiod_am_init.
* amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
hesiod_am_init so as not to conflict with libhesiod's
hesiod_init() function.
* aux/configure.in: added test and explicit inclusion of
libresolv.a for later resolution of library references with
libhesiod.
* aux/macros/opt_cppflags.m4: new file. configure/compile C
preprocessor flags.
* aux/macros/opt_libs.m4: new file. configure/compile library
flags.
* Makefile.am (EXTRA_DIST_AUX): include two new macros
opt_cppflags.m4 and opt_libs.m4.
* aux/configure.in: test for libhesiod needs to additional
libresolv to link completely. Additional configuration time
options added for setting initial CPPFLAGS and LIBS.
Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
*******************************************************************
*** Released am-utils-6.0a1 ***
*******************************************************************
Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
it works on freebsd, where they map dbm_pagfno a non-existing
macro on purpose, to force you to port the code to Berkeley DB.
Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
actual mount_toplvl, to avoid some possible race conditions.
Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
* amd/amd.c (main): fix local address using htonl(). Free up
buffers allocated by netdir_*() functions.
Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/fix-amd-map.in: new script that will convert old-style amd
maps to new one.
Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
and replies back to simple nfs/link type mount queries).
* conf/mtab/mtab_svr4.c: reorganized the code in this file to be
easier to read, and fixed a few bugs with un/setting the lock file
descriptor.
Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
signals in Svr3 systems. Only stellix ever used this.
* amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
by DYNAMIC_BUFFERS, since it was not in use.
Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer
takes '=' sign as old selector. Fix your maps.
(deslashify): removed APOLLO code that treated two '//' as one.
Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
was not used. It made any submount error fail the whole group.
* amd/ops_nfs.c (make_nfs_auth): removed code dependent on
HAS_NFS_QUALIFIED_NAMES.
(mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
is never on. So code that was triggered by #ifndef
NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
be fixed later.
Removed all ULTRIX_HACK code. Ultrix is DEAD!
removed all PRESET_AC code, which was only on for Linux to preset
the attribute cache values (otherwise they default to zero).
(nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will
have to fixed up later.
(mount_nfs_fh): removed code that was never included, which
attempted to set the port on which amd's nfs mounts on. This
isn't supported by the ping algorithm yet. In any case, it is all
done in nfs_init().
* amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or
specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
have to be addressed later.
* amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
on PRECISE_SYMLINKS.
* amd/mapc.c (mapc_meta_search): removed code that depended on
HAS_DEPOT. It is known buggy code. The whole DEPOT support needs
to be rethought.
(mapc_add_kv): ported code to use standard regular expression
(regexp) library.
* amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
FLUSH_KERNEL_NAME_CACHE and the macro itself.
Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/map.c (exported_ap_alloc): removed all code triggered by
SHRINK_EXPORTED_AP and the macro itself.
* amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
in all the time. Assuming that there is always NIS realod
available.
(yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all()
function is broken such that it does not release filedescriptors
it created, then you are hosed. Get a fix for yp_all from your
vendor or switch operating systems.
Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
HAVE_HS_ZONE_TRANSFER.
Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
always included. We should always try to inform the remove mount
daemon of mounts we performed. If we want an option for this, it
should be a run-time option.
* amd/host_ops.c: removed all that optionally did not make the
directory mount points for amd.
* HOST_EXEC code removed from everywhere. There is no indication
that it was used anywhere. If it needs to be used, then a
run-time switch should control it.
Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amd/*_ops.c: removed all references to mntent_t's fields
mnt_freq and mnt_passno, since they are no longe rused (and never
have been).
* amd/am_ops.c: removed function sunos4_match, which was off
anyway. This was one of the places where an '=' sign was allowed
as an assignment operator (which is now ':=').
* amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
was off anyway. This was one of the places where an '=' sign was
allowed as an assignment operator (which is now ':=').
Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* amq/amq.c: ported to am-utils. Working.
* conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
to be string, as it should be (rather than a string mapped to int
and back mapped to string).
Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
* lib/umount_fs.c: split this into three files: default, osf, and
bsd44, that are in conf/umount/umount_*.c.
Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
* aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
macro to automatically figure out if an external definition for
sys_errlist[] exists.
* lib/xutil.c (xfree): removed "#undef free" because it's not
needed there. Any system that redefines free() needs help.
* conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be
in active use anywhere. If added later, it should be a run-time
configuration option.
* conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
in a file in /etc.
* lib/util.c (str3cat): removed _AIX code. AIX should have a
working realloc, or else find a cleaner solution to this.
(mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync()
after immediately making directories so that fsck will be able to
fix the filesystem in the event of an immediate crash. This was
because a bug in UFS which is fixed by now.
* lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
code. Does not appear to be on and used anywhere.
(dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
* lib/resvport.c: split the binding of reserved ports code to a
separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4)
from the BSD code.
Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
in by automake and configure, for optional sources that need to be
built as part of libamu.a.
* aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
to LIBOBJS.
* lib/memcmp.c (memcmp): new file added to replace a possible bad
implementation of memcmp.
Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* converted the sources to use memset/memmove/memcmp instead of
bzero/bcopy/bcmp.
* ran all sources through gnu Indent w/ options specified in
aux/amindent.
Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
* At this point the initial genration of config.h via autoconf and
some preliminary makefiles via automake is done. I will not begin
modifying sources, so it's a good time to document from here.
Wed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
*******************************************************************
*** Initial ChangeLog Entry ***
*******************************************************************
|