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 creates the directory, but the verbose output of mkdir
will be "/mnt/lfs//run/shm" which looks wrong to anyone reading the verbose
output (me).

It's trivial. Anyway. 

P.S.: All the other instances of readlink in the book produce
"../<something>" and don't do this.

Arthur

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

Reply via email to