Re: [uml-devel] UML hostfs bugs

2006-08-16 Thread wang lianwei
yes, you are right. see this patches.   diff -urNp linux-2.6.10/fs/hostfs/hostfs.h linux-2.6.10-src/fs/hostfs/hostfs.h--- linux-2.6.10/fs/hostfs/hostfs.h  2006-04-12 15:12:51.0 +0800+++ linux-2.6.10-src/fs/hostfs/hostfs.h   2006-08-16 15:58: 59.149590168 +0800@@ -40,6 +40,7 @@ extern i

Re: [uml-devel] UML hostfs bugs

2006-08-15 Thread Blaisorblade
On Monday 14 August 2006 13:07, wang lianwei wrote: > Answers: > > 1. I test it on ext3 filesystem. > > 2. You are right. Sometimes the pos telldir returned is not the next entry > offset. just as your point out: > position 0 -> readdir "." -> you call telldir -> it _again_ says > you're at 0

Re: [uml-devel] UML hostfs bugs

2006-08-14 Thread wang lianwei
Answers:   1. I test it on ext3 filesystem. 2. You are right. Sometimes the pos telldir returned is not the next entry offset. just as your point out:   position 0 -> readdir "." -> you call telldir -> it _again_ says you're at 0.    3. I also try to resolve it by remove the seekdir(only use th

Re: [uml-devel] UML hostfs bugs

2006-08-12 Thread Blaisorblade
On Saturday 12 August 2006 20:22, Blaisorblade wrote: > On Thursday 10 August 2006 17:42, wang lianwei wrote: > > Hi all, > > > > There is a bug with UML kernel, some host directory can not be read, for > > example "ls /mnt/host/usr/lib", this command is dead until you press > > CTRL+c. I test it w

Re: [uml-devel] UML hostfs bugs

2006-08-12 Thread Blaisorblade
On Thursday 10 August 2006 17:42, wang lianwei wrote: > Hi all, > > There is a bug with UML kernel, some host directory can not be read, for > example "ls /mnt/host/usr/lib", this command is dead until you press > CTRL+c. I test it with Redhat Enterprise Linux 4. Yes, this has been reported variou