Re: difference between /usr/lib/modules and /lib/modules

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

 



On Fri, 20 Mar 2020 12:11:52 +0100, Valentin VidiD <vvidic@xxxxxxxxxxxxxxxxxxxxxx> said:
> On Fri, Mar 20, 2020 at 10:56:15AM +0000, Bernd Petrovitsch wrote:
> > Are you sure they are actually different (and don't have e.g.
> > the same inode number)?
>
> Looks like that to me (on Debian):
>
> $ ls -lid /usr/lib/modules /lib/modules
> 9804 drwxr-xr-x 4 root root 4096 Feb 15 11:31 /lib/modules
> 9804 drwxr-xr-x 4 root root 4096 Feb 15 11:31 /usr/lib/modules
>
> $ ls -lid /usr/lib /lib
> 29 lrwxrwxrwx  1 root root    7 Jul 27  2019 /lib -> usr/lib
> 30 drwxr-xr-x 79 root root 4096 Feb 15 11:27 /usr/lib

So /lib is a symlink to /usr/lib.  Fairly common on many distros.

(Try 'ls -Lid' instead - the -L option makes it show the target of a symlink
rather than the symlink itself...)

Attachment: pgpEa_wVhF10s.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux