[lfs-book] r11226 - in trunk/BOOK: . chapter01 chapter06

Bruce Dubbs bruce.dubbs at gmail.com
Mon Apr 24 11:04:53 PDT 2017


akhiezer wrote:
>> From: Bruce Dubbs <bruce.dubbs at gmail.com>
>> Date: Sun, 23 Apr 2017 11:01:27 -0500
>>
>> akhiezer wrote:
>>>> From: bdubbs at higgs.linuxfromscratch.org
>>>> Date: Sun, 23 Apr 2017 03:28:50 -0000
>>>>
>>>> Author: bdubbs
>>>> Date: Sat Apr 22 20:28:50 2017
>>>> New Revision: 11226
>>>>
>>>> Log:
>>>> Add instructions to save debugging information for selected libraries when
>>>> stripping at the end of Chapter 6.
>>> [...]
>>>> +mkdir -p /var/dbg/lib /var/dbg/usr/lib
>>>
>>>
>>> Instead of creating /var/dbg , why not use the already-existing /var/lib
>>> ; and use a named per-'application' dir under there, in usual way -
>>> e.g. :
>>>
>>>     /var/lib/lfs	# the named per-application subdir of /var/lib  .
> [...]
>> /var/lib/lfs/dbg/usr/lib/<filename> is a little long but we will consider
>> inserting lib/lfs after /var.
>
>
> On reflection, /var/... is probably not right, as it's not really
> dynamic/'variable-state' info (cf e.g. /var/lib/tripwire/report/) :
> probly, and simply, one of /{,usr{,/local}}/lib*/lfs/...... is most
> appropriate, at least re FHS.

Some directories in /var are required/reserved by FHS, but there is 
nothing that says you can't have a custom directory.

http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s02.html

   -- Bruce



More information about the lfs-book mailing list