Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 00:17:49 -0500
From:      Craig Rodrigues <rodrigc@crodrigues.org>
To:        freebsd-doc@freebsd.org
Subject:   Document "mount -t msdosfs" instead of "mount -t msdos"
Message-ID:  <20070206051749.GA2634@crodrigues.org>

next in thread | raw e-mail | index | archive | help

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

I don't want to touch the installation notes, since I normally touch
only src and sometimes one or two ports, so can someone review and
apply the following patch?

Using "mount -t msdos" is the deprecated way of mounting an msdos
partition.  The "correct" way is "mount -t msdosfs".
There has been some compatibility glue in mount(8) to
silently convert "mount -t msdos" to "mount -t msdosfs" for a while now.

However, this leads to inconsistencies.....such as,
you can do "mount -t msdos", but "umount -t msdos" does not work.
( http://www.freebsd.org/cgi/query-pr.cgi?pr=79296 ).
The best thing to do is to tell people to always do "mount -t msdosfs".

Thanks.
-- 
Craig Rodrigues        
rodrigc@crodrigues.org

--bg08WKrSYDhXBjb5
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: attachment; filename="p3.txt"
Content-Transfer-Encoding: 8bit

Index: de_DE.ISO8859-1/installation/common/install.sgml
===================================================================
RCS file: /home/ncvs/src/release/doc/de_DE.ISO8859-1/installation/common/install.sgml,v
retrieving revision 1.11
diff -u -u -r1.11 install.sgml
--- de_DE.ISO8859-1/installation/common/install.sgml	27 May 2003 16:11:09 -0000	1.11
+++ de_DE.ISO8859-1/installation/common/install.sgml	6 Feb 2007 05:04:00 -0000
@@ -1104,7 +1104,7 @@
             Sie auf logische Laufwerke genauso wie auf jedes andere
             DOS-Laufwerk zugreifen:</para>
 
-	  <screen>&prompt.root; <userinput>mount -t msdos /dev/da0s5 /dos_d</userinput></screen>
+	  <screen>&prompt.root; <userinput>mount -t msdosfs /dev/da0s5 /dos_d</userinput></screen>
 	</answer>
       </qandaentry>
 
Index: en_US.ISO8859-1/installation/common/install.sgml
===================================================================
RCS file: /home/ncvs/src/release/doc/en_US.ISO8859-1/installation/common/install.sgml,v
retrieving revision 1.33
diff -u -u -r1.33 install.sgml
--- en_US.ISO8859-1/installation/common/install.sgml	20 May 2006 22:48:54 -0000	1.33
+++ en_US.ISO8859-1/installation/common/install.sgml	6 Feb 2007 05:04:00 -0000
@@ -941,7 +941,7 @@
 	  partitions exactly like you would mount any other DOS drive,
 	  e.g.:</para>
 
-	  <screen>&prompt.root; <userinput>mount -t msdos /dev/da0s5 /dos_d</userinput></screen>
+	  <screen>&prompt.root; <userinput>mount -t msdosfs /dev/da0s5 /dos_d</userinput></screen>
 	</answer>
       </qandaentry>
 
Index: fr_FR.ISO8859-1/installation/common/install.sgml
===================================================================
RCS file: /home/ncvs/src/release/doc/fr_FR.ISO8859-1/installation/common/install.sgml,v
retrieving revision 1.8
diff -u -u -r1.8 install.sgml
--- fr_FR.ISO8859-1/installation/common/install.sgml	1 Nov 2002 20:12:25 -0000	1.8
+++ fr_FR.ISO8859-1/installation/common/install.sgml	6 Feb 2007 05:04:01 -0000
@@ -880,7 +880,7 @@
           <literal>ad</literal>. Montez ensuite la partition comme une
           partition DOS standard, e.g.:</para>
 
-	  <screen>&prompt.root; <userinput>mount -t msdos /dev/da0s5 /dos_d</userinput></screen>
+	  <screen>&prompt.root; <userinput>mount -t msdosfs /dev/da0s5 /dos_d</userinput></screen>
 	</answer>
       </qandaentry>
 
Index: ru_RU.KOI8-R/installation/common/install.sgml
===================================================================
RCS file: /home/ncvs/src/release/doc/ru_RU.KOI8-R/installation/common/install.sgml,v
retrieving revision 1.8
diff -u -u -r1.8 install.sgml
--- ru_RU.KOI8-R/installation/common/install.sgml	30 Jun 2005 11:35:03 -0000	1.8
+++ ru_RU.KOI8-R/installation/common/install.sgml	6 Feb 2007 05:04:01 -0000
@@ -943,7 +943,7 @@
 	    éÎÙÍÉ ÓÌÏ×ÁÍÉ, ÒÁÓÛÉÒÅÎÎÙÅ ÒÁÚÄÅÌÙ ÍÏÎÔÉÒÕÀÔÓÑ ÔÁË ÖÅ, ËÁË É
 	    ÌÀÂÙÅ ÄÒÕÇÉÅ DOS ÄÉÓËÉ, Ô.Å.:</para>
 
-	  <screen>&prompt.root; <userinput>mount -t msdos /dev/da0s5 /dos_d</userinput></screen>
+	  <screen>&prompt.root; <userinput>mount -t msdosfs /dev/da0s5 /dos_d</userinput></screen>
 	</answer>
       </qandaentry>
 
Index: zh_CN.GB2312/installation/common/install.sgml
===================================================================
RCS file: /home/ncvs/src/release/doc/zh_CN.GB2312/installation/common/install.sgml,v
retrieving revision 1.5
diff -u -u -r1.5 install.sgml
--- zh_CN.GB2312/installation/common/install.sgml	11 Oct 2006 07:49:06 -0000	1.5
+++ zh_CN.GB2312/installation/common/install.sgml	6 Feb 2007 05:04:02 -0000
@@ -802,7 +802,7 @@
 	  SCSI Çý¶¯Æ÷ 0 ÉÏ¡£ ¶ÔÓÚ IDE Çý¶¯Æ÷£¬ ÏàÓ¦µØÓà <literal>ad</literal> »»µô
 	  <literal>da</literal>¡£ Äú¿ÉÒÔ°´ÏÂÃæµÄ·½·¨À´¹Ò½ÓÆäËü DOS Çý¶¯Æ÷£º</para>
 
-	  <screen>&prompt.root; <userinput>mount -t msdos /dev/da0s5 /dos_d</userinput></screen>
+	  <screen>&prompt.root; <userinput>mount -t msdosfs /dev/da0s5 /dos_d</userinput></screen>
 	</answer>
       </qandaentry>
 

--bg08WKrSYDhXBjb5--



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