1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Fix common misspelling of hierarchy

Pointed out by:		bf1783 at gmail
Approved by:		np (cxgb), kientzle (tar, etc.), philip (mentor)
This commit is contained in:
Ulrich Spörlein 2010-02-20 10:19:19 +00:00
parent 29c271590e
commit 8fa03d08ca
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204111
11 changed files with 14 additions and 14 deletions

View File

@ -339,7 +339,7 @@ In particular, the directory
.Pa aa
is created as well as the final object
.Pa bb .
In theory, this can be exploited to create an entire directory heirarchy
In theory, this can be exploited to create an entire directory hierarchy
with a single request.
Of course, this does not work if the
.Cm ARCHIVE_EXTRACT_NODOTDOT
@ -371,5 +371,5 @@ compact implementation when appropriate.
.Pp
There should be a corresponding
.Nm archive_read_disk
interface that walks a directory heirarchy and returns archive
interface that walks a directory hierarchy and returns archive
entry objects.

View File

@ -41,7 +41,7 @@
extern int bflag; /* set input block size */
extern int dflag; /* print out debugging info */
extern int Dflag; /* degraded mode - try hard to get stuff back */
extern int hflag; /* restore heirarchies */
extern int hflag; /* restore hierarchies */
extern int mflag; /* restore by name instead of inode number */
extern int Nflag; /* do not write the disk */
extern int uflag; /* unlink symlink targets */

View File

@ -675,7 +675,7 @@ static void __flush_qp(struct iwch_qp *qhp)
qhp->refcnt++;
mtx_unlock(&qhp->lock);
/* locking heirarchy: cq lock first, then qp lock. */
/* locking hierarchy: cq lock first, then qp lock. */
mtx_lock(&rchp->lock);
mtx_lock(&qhp->lock);
cxio_flush_hw_cq(&rchp->cq);
@ -685,7 +685,7 @@ static void __flush_qp(struct iwch_qp *qhp)
mtx_unlock(&rchp->lock);
(*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context);
/* locking heirarchy: cq lock first, then qp lock. */
/* locking hierarchy: cq lock first, then qp lock. */
mtx_lock(&schp->lock);
mtx_lock(&qhp->lock);
cxio_flush_hw_cq(&schp->cq);

View File

@ -894,7 +894,7 @@ ext2_rename(ap)
/*
* If ".." must be changed (ie the directory gets a new
* parent) then the source directory must not be in the
* directory heirarchy above the target, as this would
* directory hierarchy above the target, as this would
* orphan everything below the source directory. Also
* the user must have write permission in the source so
* as to be able to change "..". We must repeat the call

View File

@ -1072,7 +1072,7 @@ msdosfs_rename(ap)
/*
* If ".." must be changed (ie the directory gets a new
* parent) then the source directory must not be in the
* directory heirarchy above the target, as this would
* directory hierarchy above the target, as this would
* orphan everything below the source directory. Also
* the user must have write permission in the source so
* as to be able to change "..". We must repeat the call

View File

@ -266,7 +266,7 @@ for more information.
.Sh EXAMPLES
The
.Nm
command is traditionally used to copy file heirarchies in conjunction
command is traditionally used to copy file hierarchies in conjunction
with the
.Xr find 1
command.

View File

@ -43,7 +43,7 @@ DEFINE_TEST(test_option_T)
int r;
struct stat st;
/* Create a simple dir heirarchy; bail if anything fails. */
/* Create a simple dir hierarchy; bail if anything fails. */
if (!assertEqualInt(0, mkdir("d1", 0755))) return;
if (!assertEqualInt(0, mkdir("d1/d2", 0755))) return;
if (!touch("d1/f1")) return;

View File

@ -44,7 +44,7 @@ DEFINE_TEST(test_option_s)
{
struct stat st;
/* Create a sample file heirarchy. */
/* Create a sample file hierarchy. */
assertEqualInt(0, mkdir("in", 0755));
assertEqualInt(0, mkdir("in/d1", 0755));
assertEqualInt(0, mkfile("in/d1/foo", "foo"));

View File

@ -313,7 +313,7 @@ tree_next(struct tree *t)
* violation. Just crash now. */
if (t->visit_type == TREE_ERROR_FATAL) {
const char *msg = "Unable to continue traversing"
" directory heirarchy after a fatal error.";
" directory hierarchy after a fatal error.";
write(2, msg, strlen(msg));
*(int *)0 = 1; /* Deliberate SEGV; NULL pointer dereference. */
exit(1); /* In case the SEGV didn't work. */

View File

@ -733,7 +733,7 @@ strip(const char *to_name)
/*
* install_dir --
* build directory heirarchy
* build directory hierarchy
*/
static void
install_dir(char *path)

View File

@ -33,12 +33,12 @@
.Os
.Sh NAME
.Nm mtree
.Nd format of mtree dir heirarchy files
.Nd format of mtree dir hierarchy files
.Sh DESCRIPTION
The
.Nm
format is a textual format that describes a collection of filesystem objects.
Such files are typically used to create or verify directory heirarchies.
Such files are typically used to create or verify directory hierarchies.
.Ss General Format
An
.Nm