home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5472 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.5 KB

  1. Path: sparky!uunet!sun-barr!news2me.ebay.sun.com!jethro.Corp.Sun.COM!vavau!barnesm
  2. From: barnesm@vavau.Corp.Sun.COM (Mark Barnes)
  3. Newsgroups: comp.sys.sun.admin
  4. Subject: Re: TFS usage
  5. Date: 12 Aug 1992 22:15:10 GMT
  6. Organization: Sun Microsystems, Inc.
  7. Lines: 47
  8. Distribution: world
  9. Message-ID: <l8j3beINNhm8@jethro.Corp.Sun.COM>
  10. References: <1992Aug12.085229.23665@reks.uia.ac.be>
  11. Reply-To: barnesm@vavau.Corp.Sun.COM
  12. NNTP-Posting-Host: vavau.corp.sun.com
  13.  
  14. In article 23665@reks.uia.ac.be, frans@kiwi.uia.ac.be (Francois Staes) writes:
  15. >- tfsd only wants to be started from inetd, but inetd.conf doesn't contain an entry
  16. >  for it. I simply copied another RPC entry and made some obvious changes that seems
  17. >  to work. However, I'm not very sure about the changes I made. For example, what's
  18. >  the version number of tfs ?
  19.  
  20. Here is the inetd.conf entry for tfs I use:
  21. tfsd/1-2        dgram   rpc/udp wait    root    /usr/etc/tfsd   tfsd
  22.  
  23. >
  24. >- Then I tried to tfs mount one directory on top of the other. The only thing that
  25. >  happened is the appearance of a .tfsinfo (or something like that) file in the 
  26. >  top-directory, and some loopback mounts in /tmp_mnt. However, when I do a 'cd'
  27. >  to the top-directory, it remains empty.
  28.  
  29. Example:
  30.    mount_tfs /usr/opt/URANIUM /src/uranium
  31.  
  32. To overlay /src/uranium (the existing, r/o filesystem) with /usr/opt/URANIUM (r/w).
  33. This will create file .tfsinfo in /usr/opt/URANIUM (if it does not already exist)
  34. and will  create two loopback mounts and one tfs mount thus:
  35.  
  36.    / on /tmp_mnt/Tfs_native type lo (rw)
  37.    /tmp_mnt/Tfs_empty on /src/uranium type lo (rw)
  38.    /usr/opt/URANIUM on /src/uranium type tfs (rw,timeo=50,intr)
  39.  
  40. Which 'top-directory' are you doing your 'cd' to?   In the example above, 
  41. you would 'cd' to /src/uranium as usual, not to /usr/opt/URANIUM, which
  42. will remain empty (except for .tfsinfo) until you attempt to add or modify a file
  43. in /src/uranium or until you access a directory under /src/uranium.
  44.  
  45. Your users and your applications are not supposed to be concerned that
  46. a tfs mount exists.  You access the files as you would if the tfs mount
  47. were not there.  The difference is, if you modify or add any files, the newer
  48. files are written into /usr/opt/URANIUM, and they 'overlay' any existing r/o files
  49. under /src/uranium until you do a umount_tfs.
  50.  
  51. >I fear the problem has to do with the automounter which isn't enabled at our site.
  52. >Do I have to do a minimal setup of the automounter in order to get TFS to work ?
  53.  
  54. Automounter is not required.
  55.  
  56. ---Mark Barnes
  57. ---Sun Microsystems Computer Corporation
  58. ---Menlo Park, CA
  59.  
  60.  
  61.