changeset 13625:2933dbe8e1a8

2208 Seems our find doesn't support the '-links' option, (as mandated by POSIX) Reviewed by: Richard Lowe <richlowe@richlowe.net> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Richard Lowe <richlowe@richlowe.net>
author Yuri Pankov <yuri.pankov@nexenta.com>
date Wed, 29 Feb 2012 06:38:31 -0500
parents 7a2d5713360e
children f228617ce378
files usr/src/cmd/find/find.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/cmd/find/find.c	Fri Feb 10 08:38:31 2012 -0500
+++ b/usr/src/cmd/find/find.c	Wed Feb 29 06:38:31 2012 -0500
@@ -20,7 +20,7 @@
  */
 /*
  * Copyright (c) 1988, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  */
 
 
@@ -126,6 +126,8 @@
 	"-iname",	INAME,		Str,
 	"-inum",	INUM,		Num,
 	"-iregex",	IREGEX,		Str,
+	"-links",	LINKS,		Num,
+	"-local",	LOCAL,		Unary,
 	"-ls",		LS,		Unary,
 	"-maxdepth",	MAXDEPTH,	Num,
 	"-mindepth",	MINDEPTH,	Num,