Article View: fj.sys.sun
Article #225TFS trouble
From: Makoto O'Okubo
Date: Mon, 28 Sep 1992 07:54
Date: Mon, 28 Sep 1992 07:54
51 lines
1747 bytes
1747 bytes
ASTEM $@$NBg5WJ]$H?=$7$^$9!#(J
SUN OS 4.1.x $@$N(J translucent filesystem (TFS) $@$r;H$o$l$F$$$kJ}$O$$$i$C(J
$@$7$c$$$^$;$s$G$7$g$&$+!)(J
$@$&$^$/F0$+$J$/$FG:$s$G$$$k$N$G$9$,(J....$@!#(J
$@6qBNE*$K$O!"0J2<$N$h$&$K(J mount_tfs $@$H$+$O$G$-$F!"(Jtfsd $@$b$A$c$s$H5/F0(J
$@$5$l$k$N$G$9$,!"(JTFS $@$r(J mount $@$7$?%]%$%s%H$KF)$1$F8+$($k$O$:$N2<B&$N%U%!(J
$@%$%k%7%9%F%`$NFbMF$,(J "... not found" $@$H$+8@$o$l$F!"A4A38+$($^$;$s!#(J
# grep tfs /etc/inetd.conf
# Trancelucent Fie Service (tfs)
tfsd/1-2 dgram rpc/udp wait root /usr/etc/tfsd tfsd
# mkdir /mnt/ro
# echo 'read-only' > /mnt/ro/testfile
# chmod 444 /mnt/ro
# ls /mnt/ro
testfile
# mkdir /mnt/rw
# chmod 777 /mnt/rw
# mount_tfs /mnt/rw /mnt/ro
# mount |tail -3
/ on /tmp_mnt/Tfs_native type lo (rw)
/tmp_mnt/Tfs_empty on /mnt/ro type lo (rw)
/mnt/rw on /mnt/ro type tfs (rw,timeo=50,intr)
# ps -auxw |grep tfsd
root 21494 0.0 0.0 80 0 ? IW< 11:41 0:00 tfsd
# cd /mnt/ro
# ls
testfile not found
# ls
# touch testfile
# ls
testfile
# umount_tfs /mnt/ro
# exit
$@<B83>r7o$O!"(J
$@!&%^%7%s(J Ss1, Ss1+, SsIPC etc.
$@!&(JOS 4.1.1, 4.1.2
$@$G$9!#(J
$@$h$m$7$/$*4j$$$7$^$9!#(J
$@Bg5WJ](J $@@?(J (makoto@astem.or.jp)
Technical Details
Message-ID:
<MAKOTO.92Sep28165454@f7s1.astem.or.jp>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!astemgw!makotoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!sh.wide!wnoc-kyo!astemgw!makoto From: makoto@astem.or.jp (Makoto O'Okubo) Newsgroups: fj.sys.sun,fj.questions.unix,fj.unix Subject: TFS trouble Message-ID: <MAKOTO.92Sep28165454@f7s1.astem.or.jp> Date: 28 Sep 92 07:54:54 GMT Sender: news@astem.or.jp Followup-To: fj.sys.sun Distribution: fj Organization: ASTEM Research Institute, Kyoto, Japan. Lines: 52