From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 27 Feb 2025 20:41:07 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tnjkq-007kwb-0r for lore@lore.pengutronix.de; Thu, 27 Feb 2025 20:41:07 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:3::133]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tnjkp-00008P-2w for lore@pengutronix.de; Thu, 27 Feb 2025 20:41:07 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=yB56e6rhSowCO4omqszDe0HKchTkncTFltNjpGJL1io=; b=cYjKD+GNhxrI5Fki6M+LjykQqS dSUEP2FhRtm9W2CerXUt3hMdMHuJfoUY7TojM3vj6dWbgdUNLsGzMZnZSV873/so2SJPr9m1u8I9H lNYqF6hqm1ZibP71cOoAB1HTiW3Yev1HGXuV8FsLCUrf1MoBUWJ29aeNvSM0ZpSZbXZnRZIlBDB7l GcdBT6zdt8Fl61x4ZdnyLEnm86mgXT2SnkTEdrsjMJZTiy/e5l3dxZTxFQCmmRSuwn2mCVJUSbsai 4ijbIg7ARYK9qfbW3JxP7CV6KYG1A4w81eysRts/rS2DdbYdt8zmMsdF5msEnANqiIaqx8wcfCqAC RoYnxlIA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tnjk2-00000008ZQL-3xb4; Thu, 27 Feb 2025 19:40:18 +0000 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tnhFu-000000089nr-0dLv for barebox@lists.infradead.org; Thu, 27 Feb 2025 17:01:04 +0000 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tnhFr-0002nS-C5; Thu, 27 Feb 2025 18:00:59 +0100 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tnhFr-0039kZ-0R; Thu, 27 Feb 2025 18:00:59 +0100 Received: from sha by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1tnhFr-003TyW-05; Thu, 27 Feb 2025 18:00:59 +0100 Date: Thu, 27 Feb 2025 18:00:59 +0100 From: Sascha Hauer To: Alexander Shiyan Cc: Barebox List Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250227_090102_197909_8DBF5875 X-CRM114-Status: GOOD ( 18.09 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" X-SA-Exim-Connect-IP: 2607:7c80:54:3::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-5.5 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: automount doesn't work without GPT table X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.whiteo.stw.pengutronix.de) Hi ALexander, On Thu, Feb 27, 2025 at 09:37:37AM +0300, Alexander Shiyan wrote: > Hello All. > > I found that automounting does not work without a GPT table. So you mean it doesn't work when the device has a MBR instead of a GPT? > In the example below, it is not possible to automatically mount a > partition from an MMC card. > However, if I add the full paths to the command manually, everything works. > > barebox 2025.02.0-00690-ga6a0a0ba4f61 #12 Thu Feb 27 08:27:56 MSK 2025 > Board: Mega-Milas MM-SM-SAMA5D2 > AT91: Detected soc type: sama5d2 > AT91: Detected soc subtype: sama5d27c_d1g > ... > sdhci-at91 b0000000.sdio-host@b0000000.of: registered as mmc1 > mmc1: detected SD card version 2.0 > mmc1: registered mmc1 > ... > barebox@Mega-Milas Informer SAMA5D2:/ ls /mnt/mmc1.0 > mount: Device or resource busy -EBUSY is a strange error code from mount(). Can you follow where it comes from? I can't reproduce it here. I tried both with a MBR and a GPT. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |