On Friday 16 September 2005 03:03 pm, James Boddington wrote:
> A simple test to make sure the cow is working
> 
> mkdir a
> echo hello > a/test
> ln a/test
> setattr --iunlink test
> echo bye > test
> cat a/test test
> 
> ([EMAIL PROTECTED]) cat a/test test
> hello
> bye


hmm didnt work

davin vservers # mkdir a
davin vservers # echo hello>a/test
davin vservers # ln a/test
davin vservers # ll
total 131320
drwxr-xr-x   2 root root        72 Sep 16 15:07 a
drwxr-xr-x   2 root root        80 Sep 15 17:05 changes
drwxr-xr-x  15 root root       360 Sep 14 09:56 gentoo
-rw-r--r--   1 root root 134335809 Sep 15 16:25 template.tgz
-rw-r--r--   2 root root         6 Sep 16 15:07 test
drwxr-xr-x  15 root root       360 Sep 15 22:52 vsdavin2
drwxr-xr-x  15 root root       360 Sep 15 23:10 vsdavin3
drwxr-xr-x  15 root root       360 Sep 15 20:51 vsdavin4
drwxr-xr-x  15 root root       360 Sep 16 14:53 vsdavin5
davin vservers # cat test
hello
davin vservers # setattr --iunlink test
davin vservers # echo bye>test
-bash: test: Too many links
davin vservers #                              


-- 

Chuck

"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book


_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver

Reply via email to