home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / Other / Coherent / documents / CohFAQ.v3.2 / text0001.txt < prev   
Encoding:
Text File  |  1995-09-01  |  6.9 KB  |  228 lines

  1. X-windows it seems, has become somewhat of a popular GUI for
  2. UNIX in a very short time. Various hardware firms have developed and are
  3. marketing X-workstations, servers and cards.
  4.  
  5. On page 14 of the November 1991 issue of UNIX REVIEW, is an ad for
  6. X11 Release 5 for System V/386. The price advertised is $495 with printed
  7. manuals, $395 without. So, X is not cheap via the commercial route.
  8.  
  9. Given COHERENT'S small model compiler, it is obviously impossible at this
  10. time for COHERENT to even compile the code, let alone run it. COHERENT 386,
  11. currently undergoing intensive development, will feature a 32-bit native
  12. mode compiler.
  13.  
  14. At this time, we don't envision COHERENT ever shipping with X-Windows
  15. given the fact that the size of it would double the size of COHERENT
  16. overnight.
  17.  
  18.  
  19. Q22.
  20. TAR HELP:
  21.  
  22. The Coherent version of tar has been known to create problems for users.
  23. It is believed that the latest version of tar has alleviated most of these
  24. problems. Some of the original problems include inability to read a tar archive
  25. to tar creating recursive inode/file loops that can only be removed by
  26. "clri".  The more recent Coherent releases also includes ustar, which 
  27. appears to be much more robust.  It has been suggested to use the ustar
  28. command instead of the Coherent native tar command in most cases.
  29.  
  30.  
  31. Q23.
  32. SETTING BOOT PARTITION: DOS or Coherent?
  33.  
  34. Occasionally, a user may want to boot to Coherent for the most part, rather
  35. than come up in DOS by default.  You can leave the DOS partition in tact,
  36. and switch between the preferred operating systems on as "as needed" basis.
  37. To do this, simply use the fdisk program in either operating system and 
  38. make the partition active for the operating system that resides there. Reboot
  39. the system, (AMI Bios system owners require a hard reset) and the system will
  40. now boot to the partition made active with fdisk. For example, if you wish
  41. to boot DOS by default, make the first partition active.  If you want to boot
  42. Coherent by default, make the partition active that Coherent resides on.
  43.  
  44. Q24.
  45. A BACKUP SCRIPT:   From udo@umunk.gun.de Thu Aug 20 07:58:16 1992
  46.  
  47.     [ This script was Written by Udo Munk, a name you will see thoughout 
  48.     the Coherent 4.0 manual.  Udo has ported a *lot* of software to
  49.     Coherent, and following is a backup script Udo sent me some time
  50.     ago.  I am very appreciative of his efforts, he has made a very
  51.     positive difference in the quality of software available for 
  52.     Coherent, as well as many features used in Coherent, (terminfo and
  53.     tic just to name two).  I wish I could contribute so much!  
  54.     Thanks Udo!  ]  --Mike 
  55.  ----- cut here -----
  56.  # shell script to backup Coherent's system files to disk
  57.  # Should work with Coherent 3.x and Coherent 4.0.
  58.  # At the end of the file are the installation dependent files, 
  59.  # please change to your needing.
  60.  # Written by Udo Munk (udo@umunk.GUN.de)
  61.  
  62.  # the output device:
  63.  # [May need to be changed to reflect your particular floopy drive type --Mike ]
  64.  OUTDEV=/dev/fva1
  65.  
  66.  echo -n "Put a disk with a filesystem in $OUTDEV and hit return: "
  67.  read dummy
  68.  /etc/mount $OUTDEV /mnt
  69.  
  70.  echo "Copying files in / ..."
  71.  cp .profile /mnt
  72.  cp backup /mnt
  73.  
  74.  echo "Copying files in /bin ..."
  75.  if [ ! -d /mnt/bin ]
  76.  then
  77.      mkdir /mnt/bin
  78.  fi
  79.  cp /bin/mount /mnt/bin
  80.  cp /bin/umount /mnt/bin
  81.  
  82.  echo "Copying files in /etc ..."
  83.  if [ ! -d /mnt/etc ]
  84.  then
  85.      mkdir /mnt/etc
  86.  fi
  87.  cp /etc/.profile /mnt/etc
  88.  cp /etc/brc /mnt/etc
  89.  cp /etc/checklist /mnt/etc
  90.  cp /etc/domain /mnt/etc
  91.  cp /etc/drvld.all /mnt/etc
  92.  cp /etc/group /mnt/etc
  93.  cp /etc/logmsg /mnt/etc
  94.  cp /etc/modemcap /mnt/etc
  95.  cp /etc/motd /mnt/etc
  96.  cp /etc/mount.all /mnt/etc
  97.  cp /etc/newusr /mnt/etc
  98.  cp /etc/passwd /mnt/etc
  99.  cp /etc/profile /mnt/etc
  100.  cp /etc/rc /mnt/etc
  101.  cp /etc/serialno /mnt/etc
  102.  cp /etc/shutdown /mnt/etc
  103.  cp /etc/termcap /mnt/etc
  104.  cp /etc/timezone /mnt/etc
  105.  cp /etc/ttys /mnt/etc
  106.  cp /etc/umount.all /mnt/etc
  107.  cp /etc/uucpname /mnt/etc
  108.  
  109.  # if available copy files in /etc/default
  110.  if [ -d /etc/default ]
  111.  then
  112.      echo "Copying files in /etc/default ..."
  113.      cpdir /etc/default /mnt/etc/default
  114.  fi
  115.  
  116.  echo "Copying files in /usr/bin ..."
  117.  if [ ! -d /mnt/usr ]
  118.  then
  119.      mkdir /mnt/usr
  120.  fi
  121.  if [ ! -d /mnt/usr/bin ]
  122.  then
  123.      mkdir /mnt/usr/bin
  124.  fi
  125.  cp /usr/bin/modeminit /mnt/usr/bin
  126.  cp /usr/bin/ramdisk /mnt/usr/bin
  127.  
  128.  echo "Copying files in /usr/lib ..."
  129.  if [ ! -d /mnt/usr/lib ]
  130.  then
  131.      mkdir /mnt/usr/lib
  132.  fi
  133.  if [ -f /usr/lib/crontab ]
  134.  then
  135.      cp /usr/lib/crontab /mnt/usr/lib
  136.  fi
  137.  cp /usr/lib/units /mnt/usr/lib
  138.  
  139.  echo "Copying files in /usr/lib/mail ..."
  140.  if [ ! -d /mnt/usr/lib/mail ]
  141.  then
  142.      mkdir /mnt/usr/lib/mail
  143.  fi
  144.  cp /usr/lib/mail/aliases /mnt/usr/lib/mail
  145.  cp /usr/lib/mail/paths /mnt/usr/lib/mail
  146.  
  147.  echo "Copying files in /usr/lib/uucp ..."
  148.  if [ ! -d /mnt/usr/lib/uucp ]
  149.  then
  150.      mkdir /mnt/usr/lib/uucp
  151.  fi
  152.  cp /usr/lib/uucp/L-devices /mnt/usr/lib/uucp
  153.  cp /usr/lib/uucp/L.sys /mnt/usr/lib/uucp
  154.  cp /usr/lib/uucp/Permissions /mnt/usr/lib/uucp
  155.  
  156.  # if available save /usr/lib/news
  157.  if [ -d /usr/lib/news ]
  158.  then
  159.      if [ ! -d /mnt/usr/lib/news ]
  160.      then
  161.          mkdir /mnt/usr/lib/news
  162.      fi
  163.      echo "Copying files in /usr/lib/news ..."
  164.      cp /usr/lib/news/active /mnt/usr/lib/news
  165.      cp /usr/lib/news/distributions /mnt/usr/lib/news
  166.      cp /usr/lib/news/newsgroups /mnt/usr/lib/news
  167.      cp /usr/lib/news/organization /mnt/usr/lib/news
  168.      cp /usr/lib/news/sys /mnt/usr/lib/news
  169.  fi
  170.  
  171.  # if available save /usr/spool/cron/crontabs
  172.  if [ -d /usr/spool/cron/crontabs ]
  173.  then
  174.      if [ ! -d /mnt/usr/spool ]
  175.      then
  176.          mkdir /mnt/usr/spool
  177.      fi
  178.      if [ ! -d /mnt/usr/spool/cron ]
  179.      then
  180.          mkdir /mnt/usr/spool/cron
  181.      fi
  182.      echo "Copying files in /usr/spool/cron/crontabs ..."
  183.      cpdir /usr/spool/cron/crontabs /mnt/usr/spool/cron/crontabs
  184.  fi
  185.  
  186.  # save /usr/local/lib
  187.  # these are my personal needs! edit for your own!
  188.  if [ ! -d /mnt/usr/local ]
  189.  then
  190.      mkdir /mnt/usr/local
  191.  fi
  192.  if [ ! -d /mnt/usr/local/lib ]
  193.  then
  194.      mkdir /mnt/usr/local/lib
  195.  fi
  196.  echo "Copying files in /usr/local/lib ..."
  197.  cp /usr/local/lib/Cu.sys /mnt/usr/local/lib
  198.  cpdir /usr/local/lib/xc /mnt/usr/local/lib/xc
  199.  cpdir /usr/local/lib/minicom /mnt/usr/local/lib/minicom
  200.  
  201.  /etc/umount $OUTDEV
  202.  /etc/fsck $OUTDEV
  203.  echo "Backup ready, remove disk from $OUTDEV."
  204.  ----- cut here -----
  205.  
  206.  
  207. Q24.
  208. DISCLAIMER:
  209. ANY REFERENCE TO THIS ARTICLE, IN ANY FORM, IS PURELY AT YOUR OWN RISK!
  210. All opinions, tips, and instructions in this article are those of the 
  211. contributors, and not of any company associated with the individual 
  212. contributor,
  213. or any company mentioned in this article.  Any reference to this article 
  214. is done purely AT YOUR OWN RISK!  The information contained within is
  215. not guaranteed to be free of errors in any way.  
  216.  
  217. The intention of this note
  218. is only to inform curious usenet readers about some aspects of the operating
  219. system of Coherent, and those companies mentioned are encouraged to add
  220. corrections, additions, or suggest deletions to this note to as per their
  221. policy or willingness to provide positive criticism.
  222.  
  223.  
  224. TRADEMARKS
  225. Unix is the trademark of AT&T / Unix System Laboratories, Inc.
  226. Coherent is the trademark of the Mark Williams Company.
  227.  
  228.