On 17/01/2016 03:48, Bruce Dubbs wrote:
> Wayne Blaszczyk wrote:
>> Hi All,
>>
>> First off, Happy New Year to everyone.
>>
>> After going through the LVM2 instruction, I noticed the use
>> of pathappend. Does this imply that the 'The Bash Shell Startup Files'
>> is a mandatory step for the rest of the book, or should there be a
>> dependency listed back to this page? If the former, then I don't see
>> this stated anywhere.
> 
> There are several places where pathappend is mentioned: kf5, kde, lxqt, etc,
> but in LVM21, it would be just as easy to say:
> 
> export PATH=$PATH:/sbin:/usr/sbin
> 
> I suppose that adding a recommended dependency would be reasonable.
> 
>   -- Bruce
> 
Hi,

The "Bash shell Startup Files" page is mentionned in "Command explanations",
but not in dependencies, sorry for that.

The purpose of using "pathappend" is to avoid duplicate entries in the PATH if
for some reason it is already containing the "{/usr,}/sbin" entries. Since
this is marginally an inconvenience, it could be changed to what Bruce
proposes ("export" is not needed, I think, since PATH is already exported).

There is a new version of LVM2 around. Fernando has already taken the ticket,
so I'll wait for the update and change the command, unless somebody speaks out
(or Fernando does it).

Pierre

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to