home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / bsd / 8995 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.9 KB  |  47 lines

  1. Newsgroups: comp.unix.bsd
  2. Path: sparky!uunet!utcsri!newsflash.concordia.ca!mizar.cc.umanitoba.ca!access.usask.ca!kakwa.ucs.ualberta.ca!alberta!cpsc.ucalgary.ca!xenlink!newt.cuc.ab.ca!deraadt
  3. From: deraadt@newt.cuc.ab.ca (Theo de Raadt)
  4. Subject: 386BSD: /bin -> /usr/bin reorganization
  5. Message-ID: <DERAADT.92Nov17041728@newt.newt.cuc.ab.ca>
  6. Sender: news@newt.cuc.ab.ca
  7. Nntp-Posting-Host: newt
  8. Organization: little lizard city
  9. Date: Tue, 17 Nov 1992 11:17:28 GMT
  10. Lines: 35
  11.  
  12. Among a large number of other Sunifications I have made to my 386BSD
  13. system, I've made this one:
  14.  
  15. lrwxr-xr-x    1 root            8 Oct 24 21:05 bin@ -> /usr/bin
  16.  
  17. This may not seem significant, but I am of course running with not just
  18. one partition, but many:
  19.  
  20. Filesystem        kbytes    used   avail capacity  Mounted on
  21. /dev/wd0a          31231    5697   22410    20%    /
  22. /dev/wd0g          93871   76735    7748    91%    /usr
  23. /dev/wd0e          31231      41   28066     0%    /tmp
  24. /dev/wd1a         318294  134528  151936    47%    /gecko.userb
  25. /dev/wd0h          31231       1   28106     0%    /gecko.usera
  26. newt:/newt.usera  564164  416208   91539    82%    /newt.usera
  27.  
  28. I'm really happy with this change. It's always a pain when I write programs
  29. and I want to give an absolute path to a program. When the program is written
  30. for different architectures, things like uptime can end up being in one of
  31. 5 places!
  32.  
  33. Anyone interested in merging a change like this one in?
  34.  <tdr.
  35.  
  36. ps. Anyone interested in doing this themselves, easiest is to do this...
  37.     1. cp /bin/* /sbin
  38.     2. edit init.c and change it so that it runs programs from /sbin
  39.        instead of /bin
  40.     3. install new init; reboot
  41.     4. cp /bin/* /usr/bin; rm -rf /bin; cd /; ln -s /usr/bin
  42.     5. Delete all the unneccesary programs that are now in /usr/sbin
  43.        Note: Many are required for rc and rc.single to run.
  44. --
  45.  
  46. This space not left unintentionally unblank.        deraadt@newt.cuc.ab.ca
  47.