modprobe btusb
systemctl restart bluetooth.service
lsusb
bluetoothctl list
$ truncate -s 100M disk.img
$ echo -e "label:mbr\nstart=1M," |sfdisk disk.img
$ sfdisk --disk-id disk.img
0x3ebe6089
$ sfdisk --disk-id disk.img 0x7
$ sfdisk --disk-id disk.img
0x00000007
$ lsblk -o +UUID,PARTUUID /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS UUID PARTUUID
sda 8:0 1 15G 0 disk
└─sda1 8:1 1 15G 0 part d2bad92d-9315-4ff5-bb1a-401c33dcacd6 00000007-01
--part-uuid device partition-number [uuid]
Change the GPT partition UUID. If uuid is not specified, then print the current partition UUID.
--disk-id device [id]
Change the disk identifier. If id is not specified, then print the current identifier. The identifier is UUID for GPT or unsigned integer for MBR.
pacman -Sy bluez bluez-utils
modprobe btusb
systemctl start bluetooth.service
lsusb
bluetoothctl list
nikita@nikita-desktop:~$ uname -r 5.13.0-39-generic
Как обновить?
uname -r
rfkill list
lsusb
lsmod | grep btusb
bluetoothctl list
systemctl status bluetooth.service
все это частности не имеющие значение.
Значение имеет удобно ли читать читать код и можешь ли сходу его понять. Вы часто пользуетесь курлом, я чем-то еще и знаю ключи этого чего-то, но если дам вам прочесть, это будет поиск ключей в мане.
f, --force ignore nonexistent files and arguments, never prompt
-r, -R, --recursive remove directories and their contents recursively
-L, --location
(HTTP) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option will make curl redo the request on the new place. If used together with --include or -I, --head, headers from all requested pages will be shown. When authentication is used, curl only sends its credentials to the initial host. If a redirect takes curl to a different host, it will not be able to intercept the user+password. See also --location-trusted on how to change this. You can limit the amount of redirects to follow by using the --max-redirs option.
When curl follows a redirect and if the request is a POST, it will send the following request with a GET if the HTTP response was 301, 302, or 303. If the response code was any other 3xx code, curl will re-send the following request using the same unmodified method.
You can tell curl to not change POST requests to GET after a 30x response by using the dedicated options for that: --post301, --post302 and --post303.
The method set with --request overrides the method curl would otherwise select to use.
-s, --silent
Silent or quiet mode. Do not show progress meter or error messages. Makes Curl mute. It will still output the data you ask for, potentially even to the terminal/stdout unless you redirect it.
Use --show-error in addition to this option to disable progress meter but still show error messages.
Зачем, если можно по-большей части избежать этого, просто указывая полные ключи? Вопрос риторический.
curl -sH "Accept: application/vnd.github.v3+json" "https://api.github.com/repos/adoptium/temurin8-binaries/releases?per_page=1" |jq -r '.[].assets[] |select(.name|test("OpenJDK8U-jdk_x64_windows_hotspot_.*.msi$")) | .browser_download_url'
но на скока я помню win10 так просто на флешку не запишешь