Bug 15600

Summary: Undocumented option in restore(8)
Product: Documentation Reporter: Crist J. Clark <cjc>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Crist J. Clark 1999-12-21 06:00:02 UTC
	While looking over the code for restore(8),
	/usr/src/sbin/restore, for other reasons, I noticed that there
	is code for a flag, -N, which causes the dump to be executed
	normally, except no changes are actually made to the disk, or
	whatever media is the desitnation for the restore. This option
	is not documented on the manpage.

Fix: A patch to the restore manpage, restore.8:
How-To-Repeat: 
	A search of the manpage shows no mention of flag,

	# man 8 restore | grep -- '-N'

	To see the flag in action, one can attempt to do a restore,

	# restore -xvNf /dev/rst0

	And watch the usual messages go by, but no writes actually
	take place. If you are not so trusting, take a look at the
	source code and see for yourself before you try the above.
Comment 1 unfurl freebsd_committer freebsd_triage 2000-02-17 02:15:25 UTC
State Changed
From-To: open->closed

patch committed....