Document "mount -t msdosfs" instead of "mount -t msdos"

Craig Rodrigues rodrigc at crodrigues.org
Tue Feb 6 05:30:38 UTC 2007


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 at crodrigues.org
-------------- next part --------------
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>
 


More information about the freebsd-doc mailing list