fsinfo.c (51300) | fsinfo.c (119682) |
---|---|
1/* 2 * Copyright (c) 1997-1999 Erez Zadok | 1/* 2 * Copyright (c) 1997-1999 Erez Zadok |
3 * Copyright (c) 1997-2003 Erez Zadok |
|
3 * Copyright (c) 1989 Jan-Simon Pendry 4 * Copyright (c) 1989 Imperial College of Science, Technology & Medicine 5 * Copyright (c) 1989 The Regents of the University of California. 6 * All rights reserved. 7 * 8 * This code is derived from software contributed to Berkeley by 9 * Jan-Simon Pendry at Imperial College, London. 10 * --- 22 unchanged lines hidden (view full) --- 33 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 34 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 35 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 36 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 37 * SUCH DAMAGE. 38 * 39 * %W% (Berkeley) %G% 40 * | 4 * Copyright (c) 1989 Jan-Simon Pendry 5 * Copyright (c) 1989 Imperial College of Science, Technology & Medicine 6 * Copyright (c) 1989 The Regents of the University of California. 7 * All rights reserved. 8 * 9 * This code is derived from software contributed to Berkeley by 10 * Jan-Simon Pendry at Imperial College, London. 11 * --- 22 unchanged lines hidden (view full) --- 34 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 35 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 36 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 38 * SUCH DAMAGE. 39 * 40 * %W% (Berkeley) %G% 41 * |
41 * $Id: fsinfo.c,v 1.4 1999/02/04 07:24:44 ezk Exp $ 42 * $FreeBSD: head/contrib/amd/fsinfo/fsinfo.c 51300 1999-09-15 05:45:17Z obrien $ | 42 * $Id: fsinfo.c,v 1.5.2.5 2003/07/18 04:50:20 ezk Exp $ 43 * $FreeBSD: head/contrib/amd/fsinfo/fsinfo.c 119682 2003-09-02 15:42:57Z mbr $ |
43 * 44 */ 45 46/* 47 * fsinfo 48 */ 49 50#ifdef HAVE_CONFIG_H --- 129 unchanged lines hidden (view full) --- 180 "\ 181Usage: %s [-v] [-a autodir] [-h hostname] [-b bootparams] [-d dumpsets]\n\ 182\t[-e exports] [-f fstabs] [-m automounts]\n\ 183\t[-I dir] [-D|-U string[=string]] config ...\n", progname); 184 exit(1); 185 } 186 187 if (g_argv[0]) | 44 * 45 */ 46 47/* 48 * fsinfo 49 */ 50 51#ifdef HAVE_CONFIG_H --- 129 unchanged lines hidden (view full) --- 181 "\ 182Usage: %s [-v] [-a autodir] [-h hostname] [-b bootparams] [-d dumpsets]\n\ 183\t[-e exports] [-f fstabs] [-m automounts]\n\ 184\t[-I dir] [-D|-U string[=string]] config ...\n", progname); 185 exit(1); 186 } 187 188 if (g_argv[0]) |
188 log("g_argv[0] = %s", g_argv[0]); | 189 fsi_log("g_argv[0] = %s", g_argv[0]); |
189 else | 190 else |
190 log("g_argv[0] = (nil)"); | 191 fsi_log("g_argv[0] = (nil)"); |
191} 192 193 194/* 195 * Determine username of caller 196 */ 197static char * 198find_username(void) --- 91 unchanged lines hidden --- | 192} 193 194 195/* 196 * Determine username of caller 197 */ 198static char * 199find_username(void) --- 91 unchanged lines hidden --- |