• 1 Post
  • 53 Comments
Joined 1 年前
cake
Cake day: 2025年6月4日

help-circle




  • To be clear, grub itself doesn’t mount your root partition. Grub provides the root partition device path or id to the kernel via kernel command line. Then kernel mounts the root partition early in its boot sequence with a limited set of options (typically read only).

    Logically, the root partition should be mountable without fstab because otherwise it would be a chicken and egg problem :)

    Usually once the userspace starts, an init script will remount the root partition with its normal options from fstab.

    (It’s a bit more complicated if initramfs is involved, but the principle is the same).


  • “The current quiet zeitgeist” is totally a EU thing. Whenever I played anything on NA, people are much more inclined to coordinate via voice there, so any game instantly feels much more like teamwork. You mentioned Helldivers 2, and I think that is a very good example how different it feels to play the same game as an actual team.

    You also mentioned tank/healer combos in MMOs, but there is a lot more team play in many of them. Big raids in WoW require 20–40 players, where everyone needs to do not only their job, but also raid boss mechanics. Destiny 2 is also a good example.

    Also, your life isn’t worthless, it costs 8 bmats.















  • I think it depends a lot on what kind of application you’re thinking of. Here are some examples of tools that I particularly remember for having nice CLI interfaces, but they are all slightly different in terms of the number of operations/entities they support.

    Single operation, a lot of different types of data: httpie

    httpie is a CLI HTTP client. It allows to generate fairly complex requests, choose which diagnostic information you want to see, etc.

    Examples:

    $ https httpie.io/hello
    $ http PUT pie.dev/put X-API-Token:123 name=John
    $ http -v pie.dev/get
    

    Several operations, a lot of parameters: Bazel

    Bazel is a build system. There are only a handful of operations you typically perform (build, run, test, query), but they all follow the same pattern.

    Examples:

    $ bazel build //app
    $ bazel --quiet build //app -c opt
    $ bazel --quiet run //app -c opt -- --port=1234
    

    Multiple entites, multiple operations: LVM

    I really liked the interface of Linux Volume Manager tools. They consist of multiple commands that follow the same pattern, and use the same flags for options.

    Examples:

    # vgcreate -n vg_name
    # vgs
    # pvcreate /dev/sda
    # vgextend vg_name /dev/sda
    # lvcreate vg_name -n lv_name -L5G
    # lvresize vg_name/lv_name -L+1G
    # lvs