The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mount USB stick... Dax01 Filesystems, Disks and Memory 2 08-07-2009 11:07 AM
Detecting usb stick in freebsd figaro BSD 6 05-22-2009 06:10 AM
Aix usb stick BEVAN UNIX for Dummies Questions & Answers 2 08-21-2008 06:21 AM
crontab does not stick lulle SUN Solaris 4 02-21-2008 01:13 AM
Stick with Solaris 10 or try something else? Filth Pig UNIX for Dummies Questions & Answers 5 08-23-2005 02:51 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-03-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
Mounting a USB stick in FreeBSD

When mounting a USB stick or pen drive on a FreeBSD machine I always issue the following command:
Code:
mount -t msdosfs /dev/da0s1 /mnt
Something I have always wondered is what the option msdosfs stands for and more importantly, why it is necessary.
  #2 (permalink)  
Old 08-03-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
The "-t msdosfs" option specifies what the filesystem is on the USB stick, reformatting the system to something that supports full Unix attributes like ext3 would be better unless the USB stick is used to transfer files to and from a Windows machine.
  #3 (permalink)  
Old 08-10-2009
botao's Avatar
botao botao is offline
Registered User
  
 

Join Date: Mar 2006
Location: brazil
Posts: 38
microsoft dos fs

- msdosfs is the type of the filesystem ;

- ms = microsoft
- dos = disk operating system
- fs = filesystem

- and the "-t" flag is necessary for the o.s. to know how to interpret the control data on the beginning of the disk ;

good luck, and success !

alexandre botao
Alexandre V. R. Botao | Unix, C/C++, Shell, LDAP, SSL/TLS, SSH, Perl, Java, Python, Security, ...
  #4 (permalink)  
Old 08-10-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
@botao: I understand the acronym behind msdosfs and the fact that "-t" is required as an option for its suffix; my question was rather what the background is of this option, since it should be immaterial what operating system is used to transfer files between. Moreover, I regularly need to dos2unix files coming from USB sticks from Windows machines anyway, so the option seems so superfluous.
  #5 (permalink)  
Old 08-17-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 730
Quote:
Originally Posted by figaro View Post
Moreover, I regularly need to dos2unix files coming from USB sticks from Windows machines anyway, so the option seems so superfluous.
dos2unix(1) only tranlates carriage return + linefeed (Dos/Windows end of line) to linefeed only (Unix and MAC end of line), it does nothing with filesystems.

Windows cannot mount or read Unix filesystems unless it has had a utility installed to enable it to do so, so a USB stick to be used to transfer files between Windows and Unix is best formatted with a NTFS, FAT32 or DOS filesystem which both Linux and Windows can mount and read.
  #6 (permalink)  
Old 08-19-2009
figaro figaro is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 267
That makes sense, thank you for your response.
  #7 (permalink)  
Old 08-19-2009
chompy chompy is offline
Registered User
  
 

Join Date: Aug 2009
Location: pwd
Posts: 65
Should use vfat filesystem
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:02 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0