Mounting Linux Partitions with systemd

Поделиться
HTML-код
  • Опубликовано: 19 сен 2024
  • When mounting Linux partitions on a machine that's running Linux with systemd, there are some special considerations that you might not know about. In this BeginLinux Guru Linux administration tutorial, I'll show you how this is handled with Linux logical volumes under Ubuntu and Rocky Linux, and with normal Linux partitions under OpenSUSE Linux.
    Many thanks for watching this BeginLinux Guru Linux administration tutorial. Stay tuned for more Linux server administration tutorials.
    Get my new book, "Linux Service Management Made Easy with systemd":
    Amazon purchase link:
    amzn.to/344gxO0
    Packt Publishing purchase link:
    www.packtpub.c...
    Also, be sure to check out my "Mastering Linux Security and Hardening" book:
    Packt Publishing link:
    www.packtpub.c...
    Amazon link:
    amzn.to/3ZdIR7Y

Комментарии • 7

  • @geoptus
    @geoptus 2 года назад +1

    Many thanks for your content Donnie, and for the books you've meticulously written - bought both yesterday 👍,
    regards.

  • @itdots543
    @itdots543 Год назад

    thank you.

  • @merlinarthur2902
    @merlinarthur2902 2 года назад

    420 views... nice!

  • @OpenGL4ever
    @OpenGL4ever Год назад

    What a waste of time this video was. The title was definitely misleading. You wasted time by explaining what machine Ubuntu is running on. You wasted time by explaining what folders systemd does use for its mount related files. But you did not explain how to mount a partition with systemd the modern way, if we assume systemd is the modern way. Many older linux users do still mount, udevil, guestmount and others etc. so her comes the answer every wanted to know which you didn't provide:
    For example if you wanted to mount an image file with read and write access first enter:
    udisksctl loop-setup -f disk.img
    The program will print a message something like:
    Mapped file disk.img as /dev/loop0.
    Then to mount it, enter the following. Important you have to replace /dev/loop0 with the correct name given before if the device name is different::
    udisksctl mount -b /dev/loop0
    You will find it under /media/your_username/some_name
    To unmount it, just enter the following.
    udisksctl unmount -b /dev/loop0
    followed by:
    udisksctl loop-delete -b /dev/loop0

    • @beginlinuxguru7354
      @beginlinuxguru7354  Год назад

      Okay, I do appreciate the amplifying information, although I do wish that you would have been a bit more tactful. I do foresee adding this to the next edition of my systemd book.
      However, the real purpose of this video wasn't to show how to manually mount images and partitions, but rather to show how the systemd partition mounting system works under the hood. It's also part of the explanation of the various systemd files in the /lib/systemd/system/ directory, and explains why there are no .mount files for the normal drives partitions. This is the kind of stuff that Linux admins like to know about, so I have to disagree that it was a waste of time or that the title was misleading.
      Anyway, I hope that helps.

    • @OpenGL4ever
      @OpenGL4ever Год назад

      @@beginlinuxguru7354 Well i am German. We tend to get straight to the point.
      If the purpose was to show how the systemd partition mounting system works under the hood, then why did you just not use the following sentence as title:
      "How the systemd partition mounting system works under the hood."