home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2830 < prev    next >
Encoding:
Internet Message Format  |  1991-02-22  |  3.2 KB

  1. From: weath@sundww.Eng.Sun.COM (David Weatherford)
  2. Newsgroups: alt.sources
  3. Subject: Re: looking for: dos file commands for Sun internal floppy
  4. Message-ID: <8410@exodus.Eng.Sun.COM>
  5. Date: 22 Feb 91 00:28:29 GMT
  6.  
  7. In article <1420@west.West.Sun.COM> saunders@gesundheit.West.Sun.COM (Gene Saunders) writes:
  8. >This really isn't the proper newsgroup for this, but ...
  9. >
  10. >In article <1991Feb16.064344.18023@johnny5.uucp> garvey@johnny5.uucp (Joe Garvey) writes:
  11. >>
  12. >>I just found out that the SPARCstation internal has a DOS compatible
  13. >>driver... but none of the DOS file manipulation commands. :-(
  14. >>
  15. >>Any one got:    mkdir, copy, rename, erase, rmdir
  16. >
  17. >    You already have them; use the C shell and enter this in your .cshrc:
  18. >
  19. >    alias    md    mkdir
  20. etc...
  21. >
  22. >    okay, okay .. you get the idea.
  23. >>
  24. >>for the SparcStation floppy.
  25. >>
  26. >>I know I could buy a commercial DOS emulator, and thereby get these commands,
  27. >>but, I'm cheap, and don't want to run DOS, just read & write the floppies.
  28. >
  29. >    SunOS 4.1.1 includes a new filesystem type: pcfs.
  30. >    Toss your DOS floppy into the drive and then "cd /pcfs" (assuming
  31. >    /pcfs has been mounted as shown in the /etc/fstab file).
  32.  
  33. I don't use the /pcfs filesystem on my SPARCstation, because it just isn't
  34. cost effective.  You have to insert the disk, then "mount /pcfs" (as root),
  35. then cd, ls, cat, whatever, then cd elsewhere, then "umount /pcfs", before
  36. ejecting the disk!  Worse, ls doesn't even work right!  I get things like:
  37.  
  38. sundww<19> ls
  39. amtax90.zip   boot11.arc    mppdemo3.exe  qwikansi.arc  zansi-12.arc
  40. ansi-esc.doc  coned221.zip  nansi30.zip   unzip401.zip  zipper13.zip
  41. ansi.arc      elvis         optboot.zip   useansi.arc
  42. sundww<20> ls -l
  43. boot11.arc not found
  44. coned221.zip not found
  45. ansi-esc.doc not found
  46. ansi.arc not found
  47. nansi30.zip not found
  48. qwikansi.arc not found
  49. useansi.arc not found
  50. zansi-12.arc not found
  51. mppdemo3.exe not found
  52. elvis not found
  53. unzip401.zip not found
  54. zipper13.zip not found
  55. optboot.zip not found
  56. amtax90.zip not found
  57. total 0
  58.  
  59. How much easier to just use "mtools": mdir, mcopy, etc.! Viz.:
  60.  
  61. sundww<41> mdir
  62.  
  63. Trying /dev/rfd0c ... ok
  64.  Volume in drive has no label
  65.   Directory for /
  66.  
  67.   BOOT11   ARC    47949    1-08-91   8:38a
  68.   CONED221 ZIP    45970    1-08-91   8:38a
  69.   ANSI-ESC DOC     4351    1-08-91   8:38a
  70.   ANSI     ARC    25059    1-08-91   8:38a
  71.   NANSI30  ZIP    14379    1-08-91   8:38a
  72.   QWIKANSI ARC    10310    1-08-91   8:38a
  73.   USEANSI  ARC     7686    1-08-91   8:38a
  74.   ZANSI-12 ARC    28933    1-08-91   8:38a
  75.   MPPDEMO3 EXE   343994    1-22-91  11:12a
  76.   ELVIS         <DIR>      1-09-91   9:50a
  77.   UNZIP401 ZIP    70441    1-09-91  10:16a
  78.   ZIPPER13 ZIP    13153    1-09-91  10:16a
  79.   OPTBOOT  ZIP     9848    1-09-91  10:22a
  80.   AMTAX90  ZIP   133221    1-18-91   4:36p
  81.     14 File(s)     159232 bytes free
  82.  
  83. Anyway, if you want the sources to these indispensible tools,
  84. check out comp.sources.unix Volume 11 (around Oct 87) or
  85. comp.sources.misc Volume 11, issues 81-83 (around Apr 90).
  86.  
  87. >--
  88. >Gene Saunders   \ gene.saunders@West.Sun.COM \ gsaunders@sun.com
  89. >Sun Microsystems \ saunders@sunkist (local)   \  ..!uunet!sun!gsaunders
  90. >---
  91. >Views stated herein are my own .. my company wants nothing to do with me.
  92.  
  93. Dave Weatherford
  94. Sun Microsystems
  95. weath@Eng.Sun.COM
  96.