]>
Commit | Line | Data |
---|---|---|
cf37c299 A |
1 | ."Copyright (c) 2015 Apple Inc. All rights reserved. |
2 | ." | |
3 | ."@APPLE_LICENSE_HEADER_START@ | |
4 | ." | |
5 | ."This file contains Original Code and/or Modifications of Original Code | |
6 | ."as defined in and that are subject to the Apple Public Source License | |
7 | ."Version 2.0 (the 'License'). You may not use this file except in | |
8 | ."compliance with the License. Please obtain a copy of the License at | |
9 | ."http://www.opensource.apple.com/apsl/ and read it before using this | |
10 | ."file. | |
11 | ." | |
12 | ."The Original Code and all software distributed under the License are | |
13 | ."distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER | |
14 | ."EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, | |
15 | ."INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, | |
16 | ."FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. | |
17 | ."Please see the License for the specific language governing rights and | |
18 | ."limitations under the License. | |
19 | ." | |
20 | ."@APPLE_LICENSE_HEADER_END@ | |
21 | ." | |
22 | .Dd 14 December, 2013 | |
23 | .Dt WAIT4PATH 1 | |
24 | .Os Darwin | |
25 | .Sh NAME | |
26 | .Nm wait4path | |
27 | .Nd wait for given path to show up in the namespace | |
28 | .Sh SYNOPSIS | |
29 | .Nm | |
30 | .Ao Ar path Ac | |
31 | .Sh DESCRIPTION | |
32 | The | |
33 | .Nm | |
34 | program simply checks to see if the given path exists, and if so, it exits. | |
35 | Otherwise, it sleeps until the mount table is updated and checks again. The | |
36 | program will loop indefinitely until the path shows up in the file system | |
37 | namespace. |