From 03f45afce6d104ff4050265b34c6aa64f1fed366 Mon Sep 17 00:00:00 2001 From: Yuri Pankov Date: Wed, 29 Feb 2012 06:38:31 -0500 Subject: [PATCH] 2208 Seems our find doesn't support the '-links' option, (as mandated by POSIX) Reviewed by: Richard Lowe Reviewed by: Garrett D'Amore Approved by: Richard Lowe --- usr/src/cmd/find/find.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr/src/cmd/find/find.c b/usr/src/cmd/find/find.c index 29007bbefc..a8754e83e5 100644 --- a/usr/src/cmd/find/find.c +++ b/usr/src/cmd/find/find.c @@ -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 @@ static struct Args commands[] = "-iname", INAME, Str, "-inum", INUM, Num, "-iregex", IREGEX, Str, + "-links", LINKS, Num, + "-local", LOCAL, Unary, "-ls", LS, Unary, "-maxdepth", MAXDEPTH, Num, "-mindepth", MINDEPTH, Num, -- 2.11.4.GIT