The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how can i copy data in LINUX Machine to windows XP bsandeep_80 UNIX for Advanced & Expert Users 2 03-27-2008 03:25 AM
A Tour of the Linux File System - Linux Magazine (subscription) iBot UNIX and Linux RSS News 0 08-23-2007 08:20 AM
Sun's 'Project Copy Linux' not a Linux copy - Register iBot UNIX and Linux RSS News 0 07-29-2007 02:31 AM
command for copy file from CD to Linux box sam70 UNIX for Dummies Questions & Answers 2 08-08-2005 03:14 PM
Where can i get a copy of Unix or Linux? gregtampa Where do I download LINUX & UNIX? 5 10-01-2000 08:44 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 02-20-2003
yls177
Guest
 

Posts: n/a
linux, copy a:\file to /tmp in linux?

hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks
Forum Sponsor
  #2  
Old 02-20-2003
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Re: linux, copy a:\file to /tmp in linux?

Quote:
Originally posted by yls177
hi, i am on linux 8. i wanted to copy a file from my a:\filename to my linux 8 /tmp directroy. how do i do this or any directions as in how to accompilsh. thanks
You need to mount the floppy drive to do this.

Place floppy in the drive and issue the command:

mount -t msdos /dev/fd0 /mnt/floppy

Where /mnt/floppy is a pre-existing sub-dir. You don't have to use /mnt/floppy, it can be any sub-dir.

Once you have done this, you can use cp like you normally would, ala:

Code:
cp /mnt/floppy/myFile /tmp
Once you are done, unmount the floppy with umount /dev/fd0 and you should be good to go.
__________________
Not quite as cool as all the other Kids...
  #3  
Old 02-22-2003
WIntellect's Avatar
Registered User
 

Join Date: Sep 2002
Location: United Kingdom
Posts: 170
See if you have mtools installed. This will allow you to use a command like:

doscp a:/text.file /home/mydir
__________________
FreeBSD - Opening computers from closed Windows
  #4  
Old 02-23-2003
yls177
Guest
 

Posts: n/a
mount -t msdos /dev/fd0 /mnt/floppy

hi i issued the above and the floppy is mounted. however, i cant do any ls or cp. BUT, i did a simple mount /dev/fd0 /floppy and it works... the option -t <filesystem> is for more precise, advanced control.. i guess

on my redhat 8.0, i did a mount -t iso9660 /dev/cdrom /cdrom to mount my cd...
  #5  
Old 02-25-2003
auswipe's Avatar
Registered User
 

Join Date: Nov 2001
Location: Wide Awake Wylie, Texas
Posts: 536
Weird. It was a MS-DOS formatted floppy, right?

Oh well. If the Linux mount is smart enough to identify the filesystem automagically then that oughta be good enough.
__________________
Not quite as cool as all the other Kids...
  #6  
Old 02-26-2003
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
By Linux 8, I assume you mean Redhat 8.
On my Redhat 7.3 box, I have the following line in my /etc/fstab:
Quote:
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
So, as root, I can "mount /dev/fd0"... This is default on all Redhat boxes I've ever seen...
  #7  
Old 03-08-2003
Registered User
 

Join Date: Sep 2002
Location: /dev/null
Posts: 12
you can use Mtools

mcopy a:\file /tmp

but you might have to
mcopy a:file /tmp

because the \ might f it up
__________________
[url=http://www.juxtapresentations.com][img]http://members.rogers.com/juxtapresentations.com/myfooter.gif[/img][/url]

[url=www.urbanfocus.ca]Novice Photography Showcase[/url]
Google The UNIX and Linux Forums
Closed Thread

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 03:45 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0