Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unix - Can I get any more off topic?
Message
 
 
À
11/02/2000 12:01:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00330690
Message ID:
00330784
Vues:
15
Goodness. Makes me long for a simple drag and drop. I'll look into what you wrote and see if I can make it go.

Thanks,

Michelle



>Hi,
>
>My Unix knowledge is somewhat limited, but depending on the flavour of Unix you are using, there are different ways of writing a floppy. Some flavours have MSDOS like commands for writing to floppies, others don't.
>
>Do you have any idea what OS it is (SCO Unix, Solaris, Sun OS, Linux, FreeBSD, etc) and what version it is? You might be able to see the OS by looking at the end of the man pages.
>
>Using "man" with the keyword "msdos" or "MSDOS" might provide some insight.
>
>SCO Unix has a command mcopy or mcp (I'm not sure which, try using "man" with both) which will copy to a device like it is a DOS device. Depending on whether the file is text or binary, you may need to include a switch (I think "-r") to ensure it does not translate LF characters to CRLF.
>
>Other Unix OS's you have to "mount" the device before you can access it, but you usually need to be logged in as "root" to do this. Assuming the Unix OS you are using supports mounting of DOS formatted partitions (you can check it by typing "man mount" and look for the supported file systems types) you can do something like:
>
>1) mount -t msdos /dev/fd0 /mnt
>
>where:
>
>-t msdos: specifies the filesystem type
>/dev/fd0: specifies the device to mount. This may be different depending on the system. E.g. /dev/floppy, /dev/fd0a
>/mnt: specifies a directory to mount the device on. Usually /mnt exists and is empty for this purpose, although you can create another empty directory to do the same thing.
>
>Once the directory is mounted you can issue:
>
>2) cp filename /mnt/filename
>
>You have to unmount the floppy afterwards before removing it (you can't be in the /mnt directory when you do this):
>
>3) umount /mnt
>
>Hope this helps some.
>
>Kevin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform