no files in proc

Rainer Peter Feller rainer at maren.desy.de
Tue Jan 14 03:58:59 PST 2003


On Tue, 14 Jan 2003, P.B.Prabhuram wrote:

> --- Rainer Peter Feller <rainer at maren.desy.de> wrote:
> > On Tue, 14 Jan 2003, P.B.Prabhuram wrote:
> >
> > > Yes i mounted the /proc regularly and also already
> > > added the line in the fstab, But why dont files
> > create
> > > in it automatically such as /bus/usb  /driver /ide
> > > /net etc for my hardware as  present in my host
> > dist.
> > > --- Rainer Peter Feller <rainer at maren.desy.de>
> > wrote:
> > > > On Tue, 14 Jan 2003, P.B.Prabhuram wrote:
> > > >
> > > > > I successfully created lfs system and it is
> > > > working.
> > > > > I created it as per every instructions in the
> > lfs
> > > > book
> > > > > 4.0 .
> > > > >
> > > > > But i have one problem. There are no files (
> > for
> > > > > devices ) in the proc of my lfs. So how do i
> > > > create
> > > > > these files in proc for my lfs ( as i have in
> > my
> > > > host
> > > > > dist) as i need them for my hardware
> > functioning (
> > > > > with my /dev )
> > > >
> > > > hm ... have you mounted the /proc
> > > > mount proc /proc -t proc
> > > > the proc filesystem is a virtual file system
> > > > produced by the kernel, you
> > > > should not be able to create any file within the
> > > > /proc dir.
> > > > You should also have a line like
> > > > proc            /proc           proc
> > > > defaults        0       0
> > > > in your /etc/fstab
> >
> > for /proc/bus/usb you need
> > usbdevfs        /proc/bus/usb   usbdevfs
> > defaults        0       0
> > in your fstab, "Support for USB" and "Preliminary
> > USB device filesystem"
> > in the kernel (not as module).
> > the rest should be created if there is something to
> > show
>
> yes i have already specified the usb in the fstab ,
> but that did not help in creating files i mentioned
> above in /proc

Do you have usb as module? then first load module before mounting
/proc/bus/usb

what does your /proc looks like?

  H
CUH Rainer Peter Feller
  H

P.S. Mit einer nicht proportional Schrift ist das sogar formatiert ;-)
+---------------------------------------------------------------------------+
| From:      Rainer Peter Feller | 60         | Telefon: 0049-40-8998-2118  |
|           Universitaet Hamburg |     CC     | Telefax: 0049-40-8998-2101  |
| Institut f. Experimentalphysik |    C   ooo | Building: 68      Room: 17  |
|           Luruper Chaussee 149 |    C   o o | email: rainer at maren.desy.de |
|                D-22761 Hamburg |     CC ooo | URL:maren.desy.de/hex/rainer|
+---------------------------------------------------------------------------+
       Now I am also important! I hava a MOBILE (D2) : (+49)173-6145536

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list