On Wed, Nov 16 2011, Michael Mol wrote:

> Rebind mount?

I was thinking of reading the details of bind mounting, but decided I
spent/wasted enough time trying to have a "clean" system with all
mounting at /mnt.  If your suggestion meant that usr would be mounted at
both / and /mnt, I don't see that as any cleaner than having it just at /.

If the purpose was to "document" all the mounts by having them at /mnt,
I could do that with a symlink

    ln -s /usr /mnt/usr

I still feel it is somehow "cleaner" to have all mount points be
in /mnt, but am cutting my losses.

thanks for the suggestion.
allan

> On Nov 16, 2011 5:45 PM, "Allan Gottlieb" <gottl...@nyu.edu> wrote:
>
>> On Wed, Nov 16 2011, Allan Gottlieb wrote:
>>
>> > I am reinstalling gentoo on a Dell inspiron 6400 laptop
>> > I am (again) using lvm2.
>> >
>> > I just built the kernel and then (following the lvm2 guide) tried
>> >
>> > emerge lvm2
>> >
>> > This required a build of help2man, which failed with
>> >
>> >>>> Configuring source in
>> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2 ...
>> > ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
>> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
>> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
>> --localstatedir=/var/lib --libdir=/usr/lib64 --enable-nls
>> > checking for perl... perl
>> > checking for module Locale::gettext... yes
>> > checking for msgfmt... /usr/bin/msgfmt
>> > checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
>> > checking whether the C compiler works... yes
>> > checking for C compiler default output file name... a.out
>> > checking for suffix of executables...
>> > checking whether we are cross compiling... no
>> > checking for suffix of object files... o
>> > checking whether we are using the GNU C compiler... yes
>> > checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
>> > checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none
>> needed
>> > checking for library containing dlsym... no
>> > checking for library containing bindtextdomain... none required
>> > configure: error: dlsym() required
>> >
>> > !!! Please attach the following file when seeking support:
>> > !!!
>> /mnt/var/tmp/portage/sys-apps/help2man-1.38.2/work/help2man-1.38.2/config.log
>>
>> I thought that instead of mounting /dev/vg/usr on /usr
>> I would mount it at /mnt/usr and have /usr a symlink to /mnt/usr
>>
>> (Similarly for opt et al)
>>
>> This worked for a while but
>> /usr/lib/libdl.so is a symlink to ../../lib64/libdl.so.2
>> and the symlink uses physical not logical interpretation of ..
>>
>> Hence /usr/lib/../..  is /mnt instead of /
>>
>> oops.
>>
>> allan
>>
>>

Reply via email to