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