Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1372277rdb; Wed, 24 Jan 2024 13:07:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4DXQomsQEpyIJf5DOsM29bLvIgQF9QCHPsHyg3Hg/ArNk1QhHGMkVj7uAAcOXiej2dtZa X-Received: by 2002:a05:6808:1485:b0:3bd:d96d:f94a with SMTP id e5-20020a056808148500b003bdd96df94amr30652oiw.21.1706130472046; Wed, 24 Jan 2024 13:07:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706130472; cv=pass; d=google.com; s=arc-20160816; b=XiGufB1WXLK/tifP2hBCh1SCieJD22k+EbZfIuroS5bHgvwZSMs6rrNg8DHZzUc0IN VFnbcpsFZXqeg1EM8Md/e0iN27UwfEQCM1nIYA/x6EBFMtR4dCuqPySsEyk5EFzhNfiV SL5Ug4tFdIpjIq9LjKF1eASz/ibsp5HyQXHGp1msR0A7THByqb5ZROC4R0FSrJtHsTsN BeVq9N4LAvkpbub06PthFw45XDbXgTNaMqCeN0DUdkbEZLsuH2Lc1kUrlEQFmV9bXDr+ CMwbk5PhHsCgR1x/tlLrMv5yPisUPRbl+q7a8h5KgNXXtxitasUuFDM4hAPdQQLpyzxU blkA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; fh=N78up07dv5XO/VJ6IQ2nA32MWU2eUZm208Tu3W9KZ/U=; b=daocA+Zle3VIMvKww8jq7le1CCybodWMaOPyWvJDhAAoLhtuIlkpEiRfnwtZ+0Xddm CLfrhdOmGn/gMA+btsOR4CcBfKssIQ0OWUTCLJ/S1vtZux8B5t4Mws3TEwz2SqE4j5Se 8oRpEDiOBZ0fPy7Pquf+0k6ry8jdQ4firAC8jhzjp8O2CVdBHgSA5TlCYIFDTnqaWLaK UtGkNJQK4vKlqABn7oxyAxOvS+7bvBydQBw8D9kvNYY/bK6nHEdXMAr0gxv5TntGRDtg 3Mh5Qkd5bzZJPVHX3jP32fiDVZNfz5CbW9Pf6RQKmM/XeHtnPrbG0AYv3o9hnVhsm1K5 tPug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bhlaR2Yf; dkim=neutral (no key) header.i=@suse.cz; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bhlaR2Yf; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="IW/ecCj4"; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-37681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37681-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qs5-20020a05620a394500b007833f260edesi5309336qkn.487.2024.01.24.13.07.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 13:07:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bhlaR2Yf; dkim=neutral (no key) header.i=@suse.cz; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=bhlaR2Yf; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b="IW/ecCj4"; arc=pass (i=1 spf=pass spfdomain=suse.cz dkim=pass dkdomain=suse.cz dkim=pass dkdomain=suse.cz); spf=pass (google.com: domain of linux-kernel+bounces-37681-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37681-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A67621C22443 for ; Wed, 24 Jan 2024 21:07:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 282E61350F1; Wed, 24 Jan 2024 21:07:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="bhlaR2Yf"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="IW/ecCj4"; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b="bhlaR2Yf"; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b="IW/ecCj4" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 759C313473C; Wed, 24 Jan 2024 21:07:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706130465; cv=none; b=CDFriMddATtE2zgzjHEzqtnE0750y8ChJ64G6+WuGXrsGuLgA+3wT30DVhlJAVUTNVNjKyHvoSFgI4476cONAuHuDrGu9PRPO56oMXuiXmAk1feoVIGwIoMcyq27UKS1opTmFwteBbvsX72TGls99LDy1bwL3iLpKkkOs6GmjtM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706130465; c=relaxed/simple; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dTztQjMhOIYUiMNUfERT7ya3q7adQN0Sxalkz74UsOM9agxXmQsnOBRXvxFbVa1oLr158ZMX2jwqTXuvRS6Z6F//2l5QCinKUG4Kr24XpU6dvo6y/5v7DKMk2ryuNnc3ZIK52Z0LRcl+xWSoYVzAaY2zDUQNz7rPLbdkLdNre6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz; spf=pass smtp.mailfrom=suse.cz; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=bhlaR2Yf; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=IW/ecCj4; dkim=pass (1024-bit key) header.d=suse.cz header.i=@suse.cz header.b=bhlaR2Yf; dkim=permerror (0-bit key) header.d=suse.cz header.i=@suse.cz header.b=IW/ecCj4; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.cz Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 774101FD85; Wed, 24 Jan 2024 21:07:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1706130460; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; b=bhlaR2YfxB7uY2qDCArefuiHcH7mMFEfJlnP32LbHYgZ5HNmR0xr14LsJSeVq9fsi2Naoz 7gAkO2Zrp95ev5eXzFbUECiLW/QnPiJH6+P1B0mZIge7f5kP2M2YaPd6jt7JOzthXnex0H BqPUa+zxlbqn2t0ZDp0OqaCTtg2Uwks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1706130460; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; b=IW/ecCj47EDOsBR5afQ28U83EFPkaC9NbkePVxVBnRGgxpZZXuDT3j2fly/bqBx3hf4wno xUYBfSWWxl3edTBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1706130460; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; b=bhlaR2YfxB7uY2qDCArefuiHcH7mMFEfJlnP32LbHYgZ5HNmR0xr14LsJSeVq9fsi2Naoz 7gAkO2Zrp95ev5eXzFbUECiLW/QnPiJH6+P1B0mZIge7f5kP2M2YaPd6jt7JOzthXnex0H BqPUa+zxlbqn2t0ZDp0OqaCTtg2Uwks= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1706130460; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kJlN+UTDIEQ6+eaqc7+8C81gK2cUGa2ixRad25rlMX0=; b=IW/ecCj47EDOsBR5afQ28U83EFPkaC9NbkePVxVBnRGgxpZZXuDT3j2fly/bqBx3hf4wno xUYBfSWWxl3edTBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 09E0F13786; Wed, 24 Jan 2024 21:07:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id LQSyORt8sWXZdAAAD6G6ig (envelope-from ); Wed, 24 Jan 2024 21:07:39 +0000 Date: Wed, 24 Jan 2024 22:07:38 +0100 From: Petr Vorel To: Thomas Bertschinger Cc: Kent Overstreet , Brian Foster , linux-bcachefs@vger.kernel.org, linux-kernel@vger.kernel.org, ltp@lists.linux.it Subject: Re: bcachefs fails to mount loop device on kernel Message-ID: <20240124210738.GA352616@pevik> Reply-To: Petr Vorel References: <20240124200032.GA343522@pevik> <20240124205149.GA268968@fedora-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240124205149.GA268968@fedora-laptop> Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: X-Spam-Score: -1.08 X-Spamd-Result: default: False [-1.08 / 50.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.30)[pvorel@suse.cz]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_FIVE(0.00)[6]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; FREEMAIL_TO(0.00)[gmail.com]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; BAYES_HAM(-0.58)[81.45%] X-Spam-Flag: NO > 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? Official openSUSE Tumbleweed package: $ rpm -qf $(which bcachefs) bcachefs-tools-1.4.0-1.1.x86_64 BTW this was found with LTP, which has 2 APIs: C API, which uses mount(2) which works well and shell API which uses mount (which uses bcachefs) and here it fails. Kind regards, Petr > 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