Path: utzoo!utgpu!cs.utexas.edu!convex!texsun!newstop!exodus!sundww.Eng.Sun.COM!weath From: weath@sundww.Eng.Sun.COM (David Weatherford) Newsgroups: alt.sources Subject: Re: looking for: dos file commands for Sun internal floppy Message-ID: <8410@exodus.Eng.Sun.COM> Date: 22 Feb 91 00:28:29 GMT References: <1991Feb16.064344.18023@johnny5.uucp> <1420@west.West.Sun.COM> Sender: news@exodus.Eng.Sun.COM Organization: Sun Microsystems, Mt. View, Ca. Lines: 89 In article <1420@west.West.Sun.COM> saunders@gesundheit.West.Sun.COM (Gene Saunders) writes: >This really isn't the proper newsgroup for this, but ... > >In article <1991Feb16.064344.18023@johnny5.uucp> garvey@johnny5.uucp (Joe Garvey) writes: >> >>I just found out that the SPARCstation internal has a DOS compatible >>driver... but none of the DOS file manipulation commands. :-( >> >>Any one got: mkdir, copy, rename, erase, rmdir > > You already have them; use the C shell and enter this in your .cshrc: > > alias md mkdir etc... > > okay, okay .. you get the idea. >> >>for the SparcStation floppy. >> >>I know I could buy a commercial DOS emulator, and thereby get these commands, >>but, I'm cheap, and don't want to run DOS, just read & write the floppies. > > SunOS 4.1.1 includes a new filesystem type: pcfs. > Toss your DOS floppy into the drive and then "cd /pcfs" (assuming > /pcfs has been mounted as shown in the /etc/fstab file). I don't use the /pcfs filesystem on my SPARCstation, because it just isn't cost effective. You have to insert the disk, then "mount /pcfs" (as root), then cd, ls, cat, whatever, then cd elsewhere, then "umount /pcfs", before ejecting the disk! Worse, ls doesn't even work right! I get things like: sundww<19> ls amtax90.zip boot11.arc mppdemo3.exe qwikansi.arc zansi-12.arc ansi-esc.doc coned221.zip nansi30.zip unzip401.zip zipper13.zip ansi.arc elvis optboot.zip useansi.arc sundww<20> ls -l boot11.arc not found coned221.zip not found ansi-esc.doc not found ansi.arc not found nansi30.zip not found qwikansi.arc not found useansi.arc not found zansi-12.arc not found mppdemo3.exe not found elvis not found unzip401.zip not found zipper13.zip not found optboot.zip not found amtax90.zip not found total 0 How much easier to just use "mtools": mdir, mcopy, etc.! Viz.: sundww<41> mdir Trying /dev/rfd0c ... ok Volume in drive has no label Directory for / BOOT11 ARC 47949 1-08-91 8:38a CONED221 ZIP 45970 1-08-91 8:38a ANSI-ESC DOC 4351 1-08-91 8:38a ANSI ARC 25059 1-08-91 8:38a NANSI30 ZIP 14379 1-08-91 8:38a QWIKANSI ARC 10310 1-08-91 8:38a USEANSI ARC 7686 1-08-91 8:38a ZANSI-12 ARC 28933 1-08-91 8:38a MPPDEMO3 EXE 343994 1-22-91 11:12a ELVIS