Mounting Linux Partitions with systemd

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

ความคิดเห็น • 7

  • @geoptus
    @geoptus 3 ปีที่แล้ว +1

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

  • @itdots543
    @itdots543 2 ปีที่แล้ว

    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."