public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* xfsrestore will create orphanage directory when use -t
@ 2012-02-14 17:21 Tommy Wu
  2012-02-17 20:50 ` Bill Kendall
  2012-02-22 18:55 ` [PATCH] xfsdump: dirs being created in list-only restore Bill Kendall
  0 siblings, 2 replies; 7+ messages in thread
From: Tommy Wu @ 2012-02-14 17:21 UTC (permalink / raw)
  To: xfs

from the xfsdump man page:
xfsrestore also generates a directory named orphanage in the dest
directory. xfsrestore removes this directory after completing a simple
restore. However, if orphanage is not empty, it is not removed. This
can happen if files present on the dump media are not referenced by
any of the restored directories. The orphanage has an entry for each
such file. The entry name is the file's original inode number, a ".",
and the file's generation count modulo 4096 (only the lower 12 bits of
the generation count are used).

and the -t option from xfsdump man page:
Displays the contents of the dump, but does not create or modify any
files or directories. It may be desirable to set the verbosity level
to silent when using this option.

But when we use -t option with xfsrestore, it still create orphanage
directory in current directory (because no dest directory assign).
and if it's not empty, it is not removed.

This is a bug or it's a feature?

-- 

Tommy Wu

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-02-23  1:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14 17:21 xfsrestore will create orphanage directory when use -t Tommy Wu
2012-02-17 20:50 ` Bill Kendall
2012-02-18  0:22   ` Tommy Wu
2012-02-18  0:34     ` Tommy Wu
2012-02-22 18:31     ` Bill Kendall
2012-02-23  1:16       ` Tommy Wu
2012-02-22 18:55 ` [PATCH] xfsdump: dirs being created in list-only restore Bill Kendall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox