/dev/null

Erika Pacholleck Pacholleck.E at gmx.de
Fri Sep 1 23:48:35 PDT 2000


( Sam, 02 Sep 2000 ) Kurt V. Hindenburg <-- :
> Gerard Beekmans [gerard at linuxfromscratch.org] wrote:
> > On Fri, 01 Sep 2000, you wrote:
> > > After installing the /dev (makedev), when I try to compile
> > > gcc I get errors about /dev/null....did I miss something or
> > > is this still a problem?
> > > ../gcc-2.95.2/config.guess: /dev/null: Permission denied
> > > .../gcc-2.95.2/config.guess: /dev/null: Permission denied
> > 
> > There are often problems with such files. Enter chroot and check permissions 
> > on /dev/null - is it set to mode 666?
> 
> bash-2.04# ls -l /dev/null    
> crw-rw-rw-   1 root     sys        1,   3 Aug 31 15:49 /dev/null
> Normal system (lfs)
> ls -l /dev/null
> crw-rw-rw-   1 root     root       1,   3 May  5  1998 /dev/null

I did the following
- opened original system fstab
- deleted line with partition where lfs system is on
- mounted lfs system with console command (alias mylfs="mount /dev/xx /mnt/lfs")
- /dev/null worked

Erika





More information about the lfs-dev mailing list