Okay... Thank you for your support Mr. Bruce

> Date: Sun, 12 May 2013 12:19:02 -0500
> From: bruce.du...@gmail.com
> To: lfs-support@linuxfromscratch.org
> Subject: Re: [lfs-support] remount commands after take a break
> 
> Mic Ky wrote:
> > I can't build LFS 7.3 at a time, I need to take a break and continue it at 
> > next day, so this is my commands to remount
> >
> > -----------
> > mount -v --bind /dev $LFS/dev
> > mount -vt devpts devpts $LFS/dev/pts
> > mount -vt proc proc $LFS/proc
> > mount -vt sysfs sysfs $LFS/sys
> >
> > if [ -h $LFS/dev/shm ]; then
> >    link=$(readlink $LFS/dev/shm)
> >    mkdir -p $LFS/$link
> >    mount -vt tmpfs shm $LFS/$link
> >    unset link
> > else
> >    mount -vt tmpfs shm $LFS/dev/shm
> > fi
> > -----------
> > Am I correct or there is more suitable command?
> 
> That will work fine.  You might want to shorten up the if command to 
> what you have.  Use 'ls -l $LFS/dev/shm' to see.  It's probably a link 
> to /run/shm.  Then just:
> 
> mount -vt tmpfs shm $LFS/run/shm
> 
> Personally, I don't shut down at night so it's not an issue.
> 
>    -- Bruce
> 
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
                                          
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to