tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Checking whether an rc.d script was invoked from rc



    Date:        Tue, 12 Apr 2022 12:53:00 +0200
    From:        Edgar =?iso-8859-1?B?RnXf?= <ef%math.uni-bonn.de@localhost>
    Message-ID:  <YlVaDIHVzbtLgJO1%trav.math.uni-bonn.de@localhost>

  | My (second) question was about patching the binary so it would link to 
  | libc, libm and libpcap from /lib, not /usr/lib.

Don't bother, just make /usr/lib (in the root partition, when /usr is
not mounted) be a symlink to /lib - then "it does it automatically".
(This might usefully be done in sysinst when setting up a system
with /usr other than on root, unfortunately, it can't be done so
easily if /usr is to be on /, but /usr/lib is not ... but I have
never seen anyone attempt a layout like that).

kre



Home | Main Index | Thread Index | Old Index