Linux - mkfs.btrfs: command not found

Linux - mkfs.btrfs: command not found

Hello,

I am not able to execute format on btrfs filesystem on linux ubuntu:

rumburak @ ubuntu: ~ $ sudo mkfs.btrfs
sudo: mkfs-btrfs: command not found

rumburak @ ubuntu: ~ $ sudo apt install mkfs.btrfs
Reading package lists ...
Building dependency tree
Reading state information ... Done
E: Unable to locate package mkfs.btrfs

rumburak @ ubuntu: ~ $ sudo apt install btrfs-tools
Reading package lists ...
Building dependency tree
Reading state information ...
Package btrfs-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'btrfs-tools' has no installation candidate

Can anyone advise how to get brtfs there without adding questionable repositories? Thanks

REPLY


Hello,

To resolve error "mkfs.btrfs: command not found", install the btrfs-progs package:

rumburak@ubuntu:~$ sudo apt install btrfs-progs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
duperemove
The following NEW packages will be installed:
btrfs-progs
0 upgraded, 1 newly installed, 0 to remove and 467 not upgraded.
Need to get 654 kB of archives.
After this operation, 4 112 kB of additional disk space will be used.

Související obsah

linux

bash

terminal

disk

filesystem

btrfs

Komentáře

Vaše reakce na Linux - mkfs.btrfs: command not found

Reference

Podívejte se na naše reference

Prohlédnout

Aplikace

Podívejte se na naše aplikace

Prohlédnout

Co umíme?

Podívejte se co umíme

Prohlédnout

Co umíme?

Vytváříme sofistikované aplikace pro náročné

Od webových aplikací přes android až po převodové můstky či složité informační systémy.

Podívejte se k nám

Máte ještě čas? Podívejte se na další rubriky

Tento web používá soubory cookie. Dalším procházením tohoto webu vyjadřujete souhlas s jejich používáním.. Více informací zde.