2.3.6 bugs and fun

Gerard Beekmans gerard at linuxfromscratch.org
Mon Jul 24 15:37:55 PDT 2000


> Why do you doo this:
> root:bin# cp gunzip gzip $LFS/bin
> root:bin# rm gunzip gzip
>  
> Why not just a 'mv'? Also of note, my gunzip was already in $LFS/bin
> prior to this step (mysterious).

Try it. It will result in an error (we think it's due to hard links
between the files but we're not too sure).

> SHELLUTILS:
> 
> root:/bin# mv date echo false pwd stty $LFS/bin
> (see the typo above? '/bin' should just be 'bin')

Ok, consider it fixed.
 
> MAKEDEV:
> 
> root:MAKEDEV-2.5# cp MAKEDEV /dev
> root:MAKEDEV-2.5# chmod 754 /dev/MAKEDEV
> root:MAKEDEV-2.5# sed s/"# 9"/9/ /dev/MAKEDEV >/dev/MAKEDEV2
> root:MAKEDEV-2.5# mv /dev/MAKEDEV2 /dev/MAKEDEV
> 
> After the 'mv' my MAKEDEV lost it's executable bit, causing me to
> chmod again. Who know why...just to be safe why not move the chmod
> step to the end just to save time.

Already a known thing and I've already fixed it.
 
-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-
--
Mail archive: http://www.pcrdallas.com/mail-archives/lfs-discuss
IRC access: server: irc.linuxfromscratch.org port: 6667 channel: #LFS
Unsubscribe: email lfs-discuss-request at linuxfromscratch.org and put
"unsubscribe" (without the quotation marks) in the body of the message
(no subject is required)



More information about the lfs-dev mailing list