• 0 Posts
  • 8 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • Ken Thompson and Dennis Ritchie created Unix on a PDP-7 in 1969. Well around 1971 they upgraded to a PDP-11 with a pair of RK05 disk packs (1.5 megabytes each) for storage.

    When the operating system grew too big to fit on the first RK05 disk pack (their root filesystem) they let it leak into the second one, which is where all the user home directories lived (which is why the mount was called /usr). They replicated all the OS directories under there (/bin, /sbin, /lib, /tmp…) and wrote files to those new directories because their original disk was out of space. When they got a third disk, they mounted it on /home and relocated all the user directories to there so the OS could consume all the space on both disks and grow to THREE WHOLE MEGABYTES. And thereafter /usr is used to store user programs while /home is used to store user data.

    source: http://lists.busybox.net/pipermail/busybox/2010-December/074114.html




  • Configuring the priority of the repository.
    In OpenSuse, the priority of a repository is a value between 1 and 200, with 1 being the highest priority and 200 the lowest priority. If a package is available in more than one repository, then the repository with the highest priority takes precedence. Default is 99.

    This is how I do via terminal:

    List enabled repositories in priority order:
    zypper lr -PE

    In my case, the repo I want to change is:
    4 | home_paul4us | home:paul4us | Yes | (r ) Yes | No | 99
    (First column is the ID and last is PRIORITY)

    Lower the 3rd party repo priority (set PRIORITY of the repository with ID 4 the value of 100):
    sudo zypper mr -p 100 4

    You will see the message:
    Repository 'home_paul4us' priority has been set to 100.

    Bonus
    If you want to list what is installed from this repo (id 4):
    zypper se -i -r 4