umount.c (004388ebfdfe2ed7dfd2d153a876dfcc22d2c006) | umount.c (a237e38e9161f0acd6451439d4a7dd597e66291d) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 5 unchanged lines hidden (view full) --- 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* |
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved. | 22 * Copyright 2007 Sun Microsystems, Inc. All rights reserved. |
23 * Use is subject to license terms. 24 */ 25 26/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 27/* All Rights Reserved */ 28 29 30#pragma ident "%Z%%M% %I% %E% SMI" --- 16 unchanged lines hidden (view full) --- 47#include <sys/resource.h> 48#include <sys/mntent.h> 49#include <sys/ctfs.h> 50#include <locale.h> 51#include <stdarg.h> 52#include <sys/mount.h> 53#include <sys/objfs.h> 54#include "fslib.h" | 23 * Use is subject to license terms. 24 */ 25 26/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 27/* All Rights Reserved */ 28 29 30#pragma ident "%Z%%M% %I% %E% SMI" --- 16 unchanged lines hidden (view full) --- 47#include <sys/resource.h> 48#include <sys/mntent.h> 49#include <sys/ctfs.h> 50#include <locale.h> 51#include <stdarg.h> 52#include <sys/mount.h> 53#include <sys/objfs.h> 54#include "fslib.h" |
55#include <sharefs/share.h> |
|
55 56#define FS_PATH "/usr/lib/fs" 57#define ALT_PATH "/etc/fs" 58#define FULLPATH_MAX 32 59#define FSTYPE_MAX 8 60#define ARGV_MAX 16 61 62int aflg, oflg, Vflg, dashflg, dflg, fflg; --- 64 unchanged lines hidden (view full) --- 127 "/sbin", 128 CTFS_ROOT, 129 OBJFS_ROOT, 130 "/tmp", 131 "/usr", 132 "/var", 133 "/var/adm", 134 "/var/run", | 56 57#define FS_PATH "/usr/lib/fs" 58#define ALT_PATH "/etc/fs" 59#define FULLPATH_MAX 32 60#define FSTYPE_MAX 8 61#define ARGV_MAX 16 62 63int aflg, oflg, Vflg, dashflg, dflg, fflg; --- 64 unchanged lines hidden (view full) --- 128 "/sbin", 129 CTFS_ROOT, 130 OBJFS_ROOT, 131 "/tmp", 132 "/usr", 133 "/var", 134 "/var/adm", 135 "/var/run", |
136 SHARETAB, |
|
135 NULL 136}; 137 138static void nomem(); 139static void doexec(struct mnttab *); 140static int setup_iopipe(mountent_t *); 141static void setup_output(mountent_t *); 142static void doio(mountent_t *); --- 924 unchanged lines hidden --- | 137 NULL 138}; 139 140static void nomem(); 141static void doexec(struct mnttab *); 142static int setup_iopipe(mountent_t *); 143static void setup_output(mountent_t *); 144static void doio(mountent_t *); --- 924 unchanged lines hidden --- |