Vladimir A. Pavlov wrote:

>On Thursday 26 April 2007 08:08, Paulo wrote:
>  
>
>>"ls -ld /etc" gives me:
>>
>>drwxr-xr-x 10 root root 1152
>>    
>>
>
>If I correctly understand, the output actually was like
>
>drwxr-xr-x 10 root root 1152 Apr 24  2007 /etc
>  
>

Yep, correct.

>  
>
>>And when I try it with etc/mtab:
>>
>>$ls -ld /etc/mtab
>>ls: /etc/mtab: Permission Denied
>>    
>>
>
>I've never seen such a problem before :( It is _very_ strange that you
>cannot ls /etc/mtab while being able to read /etc.
>
>Let's run some other tests. What do they output?
>
>Test 1.
># stat /etc/mtab
>  
>
Bad:
"stat: Impossible to make stat in '/etc/mtab': Permission denied

>Test 2.
># cat /etc/mtab >/tmp/file
>  
>
Very bad:
"cat: /etc/mtab: Permission denied"

># cat /tmp/file
>
>  
>
...

>Test 3.
># cp /etc/mtab /tmp/file
>  
>
"cp: impossible to make stat in '/etc/mtab': Permission denied"

># cat /tmp/file
>
>  
>
...

>I googled about the problem but found only this
>http://www.linuxhelp.net/forums/index.php?act=Print&client=printer&f=3&t=518
>
>One of possible reasons is a filesystem corruption (for example, due to
>your forgetting to unmount it after building the ch.6. Did you?).
>
>  
>
Humm. I don't remember. But I did have some kernel issues - actually, 
video card issues.
My kernel would build, but I'd get no video or out of sync frequencies 
(I could see nothing).
So I had to turn off the computer.
I'll try to rebuild LFS and use the config file for the kernel, now that 
I do boot properly. It took
me a long time to discover what was mixing up things (actually, I 
didn't, but the current combo
is ok - lol).
I'm using jhalfs now. I've built lfs "by hand" three or five times 
already. Let's see what happens.
Thanks for the help!


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to