copying to a floppy


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers copying to a floppy
# 1  
Old 07-14-2002
copying to a floppy

how do i copy a file from solaris to a floppy drive. today is my first day using solaris
# 2  
Old 07-15-2002
This is on SCO 5.0.5, but should be the same on Solaris I think.

if you want to copy to a dos system.

doscp <filename> a:<filename>

for a unix system

tar cvf /dev/fd0 <filename>

however the device name /dev/fd0 may not be the correct one on your system.

for more details, type

man tar

or

man doscp

for the manual entries for these commands.
# 3  
Old 07-15-2002
What Kevin said was correct.

If though you just want to put say a simple .txt file on a floppy. (example only any UNIX file can go on a floppy)


cp /etc/filename.txt ./ (this is providing your ala ready in the floppy directory and teh floppy is mounted).
merlin
# 4  
Old 07-15-2002
Solaris does not have doscp. You can mount it using File Manager or the mount command. FM puts it into /floppy - you can copy using the cp command. Also check out the man page on dos2unix and unix2dos for moving files from dos to unix (and back). Mounting manually you may need to stop volmgt (remember to restart it afterwards)

#/etc/init.d/volmgt stop
#mount -F pcfs /dev/diskette /mnt
# ls /mnt
ASPI2DOS.SYS AUTOEXEC.BAT DRVSPACE.BIN FLASHPT.SYS SETRAMD.BAT
ASPI4DOS.SYS BTCDROM.SYS EBD.CAB HIMEM.SYS XCOPY.EXE
ASPI8DOS.SYS BTDOSM.SYS EXTRACT.EXE OAKCDROM.SYS XCOPY32.EXE
ASPI8U2.SYS COMMAND.COM FDISK.EXE RAMDRIVE.SYS XCOPY32.MOD
ASPICD.SYS CONFIG.SYS FINDRAMD.EXE README.TXT


/vol/dev/diskette0/unnamed_floppy
1423 1228 195 87% /floppy/unnamed_floppy


Links to floppy info:
Blank Floppy

Bootable floppy?

mounting floppies
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

regarding floppy

Regarding floppy drive .. I need a command or a method by which i can detect a floppy drive is present or not ? Thanks, Priya. (4 Replies)
Discussion started by: priyam
4 Replies

2. HP-UX

Can not initialize the floppy

Hello Everyone, Has anyboby ever come across the problem when fd refuses to get initialised. I try to use mediainit command, the fd is being accessed (the fd's LIT is green for some secs) but then I get the message - "Initialize media command failed - permission denied" I checked the diskette,... (1 Reply)
Discussion started by: Andrey Malishev
1 Replies

3. UNIX for Dummies Questions & Answers

Unix to a floppy

If I need to copy files in Unix to a floppydisk so that the disk is compatible with extended FAT16 and can be read by Windows XP-Do I mount the floppy disk to use ufs? (2 Replies)
Discussion started by: Rhonda
2 Replies

4. AIX

Boot Floppy

Dear Sirs, I would like to make a Boot Floppy for the RS6k F30. Somebody can help me? Spart (1 Reply)
Discussion started by: spartiate
1 Replies

5. UNIX for Dummies Questions & Answers

floppy

i manage to screw up alittle i entered in /etc/fstab mount /dev/fd0 msdos /mnt/floppy 2 2 or something and now when i boot i get an error like this The following file systems had an unexpected inconsistency: msdos: /dev/fd0 (/mnt/floppy) Unknown error; Help! init: /bin/sh on /etc/rc... (3 Replies)
Discussion started by: ekizz
3 Replies

6. UNIX for Dummies Questions & Answers

Floppy , CDrom

We use #eject cdrom to eject the cdrom . Is there a way to "close" it after using that command ? is there a command to eject floppy ? Thanks (7 Replies)
Discussion started by: hitlermom
7 Replies

7. Filesystems, Disks and Memory

Writing to a floppy

For some reason I cannot get my UNIX box on my network so I have no way of tranferring files from it or to it. Does anyone.....anyone know how I redirect my output or write to the floppy? (2 Replies)
Discussion started by: jlrusso
2 Replies

8. UNIX for Dummies Questions & Answers

Suse Floppy not available

HI, I installed Suse 8.1 on an Emachine with a Cyrix processor equivelent to Pentium II. The dmesg reveals that the floppy was recognised, and there is an icon on the desktop for it, but when I trey to access it, it is not available. If I access it from a terminal window, the error I get... (7 Replies)
Discussion started by: Sonshyne5
7 Replies

9. UNIX for Dummies Questions & Answers

opening floppy

I have solaris 8 (Intel Version) and I was wondering how I can transfer a bunch of text files (shellscripts) via floppy. I don't have internet connectivity with my Solaris pc so I can't download the files. I have the text files on my windows 2000 pc and copied them to a floppy but when I try to... (7 Replies)
Discussion started by: eloquent99
7 Replies

10. UNIX for Advanced & Expert Users

boot floppy

hello , i have sun sparc machine with sunos2.7 , the machine has a cdrom but no floppy drive , it is networked with windows machine , from where i can use ftp and telnet. can i use floppy drive of windows machine and create a boot image(of unix) on that drive, using ftp? thanx raju (4 Replies)
Discussion started by: raju
4 Replies
Login or Register to Ask a Question