LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 12-07-2007, 08:57 AM   #1
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Rep: Reputation: 15
Read and write on fat32


Hi, I am using Ubuntu. How can I read and write on my other drive which is fat32?
 
Old 12-07-2007, 09:30 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
How is the other drive connected? If it's on a Wondows PC you'd need to use Samba, if it's a normal USB drive it should automount and create an icon (I believe) on your desktop.
 
Old 12-07-2007, 09:55 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
A drive installed in the same host can be mounted at any mountpoint in the filesystem, and then accessed according to the mount permissions.
Code:
mount -t vfat -o rw /dev/hdb1 /mnt/doswin
Substitute the appropriate drive (/dev/hdx, or /dev/sdx for SCSI or SATA) & partition (1,2,3..) for your system. The mountpoint is just any existing directory.
You can make the mounting occur automatically by editing /etc/fstab with a line similar to
Code:
/dev/hdb1               /mnt/doswin          vfat    defaults        0 0
If the drive is on a different network-attached host, the filesystem type will be either nfs or smbfs (or cifs, depending on your distro), and will need to be exported appropriately by the peer host.

man mount

--- rod.

Last edited by theNbomr; 12-07-2007 at 09:56 AM.
 
Old 12-10-2007, 08:33 AM   #4
tahrenyie85
Member
 
Registered: Aug 2007
Location: Malaysia
Distribution: FC, Ubuntu
Posts: 50

Original Poster
Rep: Reputation: 15
Thx for your help. i am just a newbie, need to learn more about linux and programming.
 
Old 12-10-2007, 03:24 PM   #5
LlNUX
Member
 
Registered: Oct 2007
Location: Sydney, Australia
Distribution: Debian
Posts: 63

Rep: Reputation: 15
http://www.linuxconfig.org/Howto_mou...drive_in_Linux
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Read/Write Fat32 partition triley Linux - General 1 04-19-2007 12:33 PM
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 12:17 PM
[OpenBSD 4.0] mount FAT32 as read-write noir911 *BSD 4 12-29-2006 11:36 PM
read/write to fat32 doesn't work anymore jnev Linux - General 10 09-11-2005 09:23 PM
fat32 partition, ordinary users read/write quietbyday Linux - General 1 08-01-2005 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration