Re: util-linux: orphan

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

 



On Wed, Dec 27, 2006 at 03:46:10AM +0100, Arnd Bergmann wrote:
> On Monday 18 December 2006 08:17, Karel Zak wrote:
> >         - remove FS/device detection code
> >           (libblkid from e2fsprogs or libvolumeid is replacement)
> 
> I saw that the current Fedora already dynamically links /bin/mount
> against /usr/lib/libblkid.so. 

 Sorry, but it's nonsense.

 $ grep -r %{_root_libdir}/libblkid.so *

 devel/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-1/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-2/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-3/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-4/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-5/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 FC-5/e2fsprogs.spec~:%{_root_libdir}/libblkid.so.*
 FC-6/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 RHEL-4/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 RHEL-5/e2fsprogs.spec:%{_root_libdir}/libblkid.so.*
 
 (where %{_root_libdir} = /lib)

> This obviously does not work if /usr is a separate partition that
> needs to be mounted with /bin/mount.

 Yes, I have /usr on a separate partition for many years :-)

> I'd suggest that you make sure that mount always gets statically linked
> against libblkid to avoid these problems.

 It's dynamically linked in many distributions without a problem.

    Karel

-- 
 Karel Zak  <[email protected]>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux