Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 16:53:27 +0000 (UTC)
From:      Benedict Reuschling <bcr@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r52077 - head/en_US.ISO8859-1/books/handbook/disks
Message-ID:  <201808021653.w72GrR5F008434@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bcr
Date: Thu Aug  2 16:53:27 2018
New Revision: 52077
URL: https://svnweb.freebsd.org/changeset/doc/52077

Log:
  Fix the memory disk created from an ISO file mount example by providing the
  missing cd9660 option.
  
  Patch by:		Arshan Khanifar (arshankhanifar_gmail.com)
  Minor changes by:	me
  Reminded by:		emaste
  Differential Revision:	https://reviews.freebsd.org/D14034

Modified:
  head/en_US.ISO8859-1/books/handbook/disks/chapter.xml

Modified: head/en_US.ISO8859-1/books/handbook/disks/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Thu Aug  2 11:31:11 2018	(r52076)
+++ head/en_US.ISO8859-1/books/handbook/disks/chapter.xml	Thu Aug  2 16:53:27 2018	(r52077)
@@ -1996,9 +1996,10 @@ scsibus1:
 	on <filename>/mnt</filename>:</para>
 
       <screen>&prompt.root; <userinput>mdconfig -f <replaceable>diskimage.iso</replaceable> -u <replaceable>0</replaceable></userinput>
-&prompt.root; <userinput>mount /dev/md<replaceable>0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
+&prompt.root; <userinput>mount -t cd9660 /dev/md<replaceable>0</replaceable> <replaceable>/mnt</replaceable></userinput></screen>
 
-      <para>If a unit number is not specified with
+      <para>Notice that <option>-t cd9660</option> was used to mount
+	an ISO format.  If a unit number is not specified with
 	<option>-u</option>, <command>mdconfig</command> will
 	automatically allocate an unused memory device and output
 	the name of the allocated unit, such as



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808021653.w72GrR5F008434>