no files in proc
Rainer Peter Feller
rainer at maren.desy.de
Tue Jan 14 03:29:56 PST 2003
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
CUH Rainer Peter Feller
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