Alex Merry <alexander.merry <at> ccc.ox.ac.uk> writes:

> 
> On Wed, Aug 09, 2006 at 07:51:47PM +0000, Peter Ennis wrote:
> > Is it OK to explicitly create
> > dev/pts and dev/shm before mount --bind ? 
> > This will fix my situation.
> 
> No. This will definitely not help, as they will be covered by mount
> --bind. You may want to look at the --bind option in `man 8 mount`.
> Creating /dev/pts and /dev/shm will help (if they don't exists - note
> the leading /), and creating dev/pts and dev/shm after the bind will
> have exactly the same effect.
> 
> What distro are you building from?
> 
> Do you have the folders /dev/pts and /dev/shm? If not then that suggests
> that there may need to be mention somewhere of the possibility of having
> to create those directories manually.
> 
> ls -ld /dev/pts; ls -ld /dev/shm
> 
> Alex 
> 



Sorry, I was a bit sloppy in the last message.
My question summarized - Is the following
command OK?

mkdir -pv ${LFS}/{dev{/pts,/shm},proc,sys}

I would use this in place of what is
in 6.2.3. Mounting Virtual Kernel File Systems.
I want to take care of the mount error that is
possible by resetting the build from
scratch without a reboot because the
book does not explicitly create pts and shm
and leaves it up to mount --bind.

It seems that it is not technically a 'book bug'
but more of a 'feature of my reset process'.

The replies indicate the command is OK. I will
read up on man 8 mount.

Running Fedora Core 5.

Thanks,

Peter



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

Reply via email to