lkml.org 
[lkml]   [2024]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bcachefs fails to mount loop device on kernel
On Wed, Jan 24, 2024 at 09:00:32PM +0100, Petr Vorel wrote:
> Hi all,
>
> bcachefs fails to mount loop device on kernel on both 6.7 and 6.8.0-rc1.
> Is mounting loop even supported?
>
> [...]
>
> bcachefs mount /dev/loop0 /mnt
> => Unknown command mount

What version of the bcachefs CLI tool are you using? Is it distribution
provided or did you build it yourself?

The mount command has been implemented in Rust for a while (since
28f703cc256f "Rust now integrated into bcachefs binary") and if building
without Rust support (BCACHEFS_NO_RUST defined), that command won't be
included in the binary.

In more recent versions of bcachefs-tools, building without Rust is not
supported at all.

I don't think this has anything to do with loop devices specifically.

- Thomas Bertschinger

\
 
 \ /
  Last update: 2024-05-27 14:32    [W:0.567 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site