Re: [lfs-dev] LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems

2014-02-20 Thread Bruce Dubbs
Arthur Radley wrote: > LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems > > Re: mkdir -pv $LFS/$(readlink $LFS/dev/shm) > > If the host's /dev/shm is a symbolic link to /run/shm, then "readlink > $LFS/dev/shm" will output "/run/shm". mkdir appar

Re: [lfs-dev] LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems

2014-02-20 Thread Armin K.
On 02/20/2014 03:50 PM, Arthur Radley wrote: > LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems > > Re: mkdir -pv $LFS/$(readlink $LFS/dev/shm) > > If the host's /dev/shm is a symbolic link to /run/shm, then "readlink > $LFS/dev/shm" will output "/

[lfs-dev] LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems

2014-02-20 Thread Arthur Radley
LFS 7.5-rc1 6.2.3. Mounting Virtual Kernel File Systems Re: mkdir -pv $LFS/$(readlink $LFS/dev/shm) If the host's /dev/shm is a symbolic link to /run/shm, then "readlink $LFS/dev/shm" will output "/run/shm". mkdir apparently ignores the extra forward slash and creat

Re: Mounting Virtual Kernel File Systems

2006-08-11 Thread Peter Ennis
Joe wrote: > If those *mount points* exist in /dev > then they will exist in $LFS/dev after the mount --bind. Alex wrote: > So you want to mkdir ${LFS}/dev _before_ the mount --bind, and mkdir > ${LFS}/dev/{pts,shm} _after_ the mount --bind. (when the mount points do not exist - for whatever reaso

Re: Mounting Virtual Kernel File Systems

2006-08-10 Thread Alex Merry
I guess you are then going to mount --bind over the top of it afterwards, which will cover up ${LFS}/dev/{pts,shm}. > > 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

Re: Mounting Virtual Kernel File Systems

2006-08-10 Thread Joe Ciccone
Peter wrote: > 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 >

Re: Mounting Virtual Kernel File Systems

2006-08-10 Thread Peter
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 res

Re: Mounting Virtual Kernel File Systems

2006-08-10 Thread Alex Merry
On Wed, Aug 09, 2006 at 07:51:47PM +, 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 mo

Re: Mounting Virtual Kernel File Systems

2006-08-09 Thread Peter Ennis
M.Canales.es linuxfromscratch.org> writes: > > No except if you find that it is a real bug and it may be reproducible by an > editor. > Below is an example of repeating mount --bind and getting two listings. I have experience where running the commands repeatedly will add numerous duplicate m

Re: Mounting Virtual Kernel File Systems

2006-08-09 Thread M.Canales.es
El Miércoles, 9 de Agosto de 2006 20:53, Peter Ennis escribió: > 1. Does the mount --bind take care of this normally > with cut and paste? Yes, after the "mount -bind ..." $LFS/dev/{pts,shm} must exist. > 3. Is there a reason not to explicitly create > /dev/pts and /dev/shm under $LFS ? Due th

Re: Mounting Virtual Kernel File Systems

2006-08-09 Thread Dan Nicholson
On 8/9/06, Peter Ennis <[EMAIL PROTECTED]> wrote: 1. Does the mount --bind take care of this normally with cut and paste? Yes. If you have a proper setup on your host (we could be more careful about this), it will have /dev/{pts,shm}. When you bind /dev to $LFS/dev, it brings the whole structu

Mounting Virtual Kernel File Systems

2006-08-09 Thread Peter Ennis
LFS 6.2 6.2.3. Mounting Virtual Kernel File Systems I reformatted my test system to do another install and get the following errors: Command Line: = lfs:~$ sudo mount -vt devpts devpts ${LFS}/dev/pts mount: mount point /mnt/lfs/dev/pts does not exist Scripted: = devpts on

Re: 6.2. Mounting Virtual Kernel File Systems

2005-07-20 Thread Archaic
On Wed, Jul 20, 2005 at 04:39:41PM +0100, Kev Buckley wrote: > > I am aware that the user and group "issue" was done to death a while > back resulting in the chosen set now in the book, however, although > realising that "the numbers dont matter so much" because you'ld > normally look them up star

6.2. Mounting Virtual Kernel File Systems

2005-07-20 Thread Kev Buckley
I am aware that the user and group "issue" was done to death a while back resulting in the chosen set now in the book, however, although realising that "the numbers dont matter so much" because you'ld normally look them up starting from a name anyway, I did start wondering, when reaching section 6