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 "/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 the same as with one forward slash, no harm done. But I agree it
might look strange and could be possibly corrected

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


-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to