From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25345159C9B for ; Thu, 1 Aug 2024 12:38:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 945412BC043; Thu, 1 Aug 2024 12:38:46 +0000 (UTC) Received: from mail-yw1-x112c.google.com (mail-yw1-x112c.google.com [IPv6:2607:f8b0:4864:20::112c]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 47D112BC01C for ; Thu, 1 Aug 2024 12:38:46 +0000 (UTC) Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-65f7bd30546so16937117b3.1 for ; Thu, 01 Aug 2024 05:38:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722515925; x=1723120725; darn=lists.gentoo.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=0WYA2L7YtGaOPKfd1K3/NU7SsaTNR5OmUHisll6wkhI=; b=mmsOtuSW4C38puv83xPlPQwH2dge6KNNub9FrbTB6F4vF4dz0GAGOAhnvJqJ0u/veg dkWN0M/XDrdyjHX7tUEsmfyc2iGxgjGDth3ENfDl6qk8wUkj4cWPeLaAPDZ51S+1So5s m9qGMncnPwWtXjTNDwgT5FgoOOPViGkG3RWfn+0xd8r3RoUmFoCIuhrjlihHrGW8UNTP UK3h+NPuHysI1JOR9PVD7/DCg8a5jdtzVoLSft2W9cnMkFELSN+RUdBQHUq942YYjTPK ZoC2hDvl3u9QK+axaM8WQPST4lvF2qGUZOr/asTWEbY8kEJ8dncMKLWhqXkQtiKJGXlT lC9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722515925; x=1723120725; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0WYA2L7YtGaOPKfd1K3/NU7SsaTNR5OmUHisll6wkhI=; b=HWSRvgDojG5lP9eUiwDVjZ6fl3P5jN/mc0rtrad7ILHiG9DOskQ26uRMkJw9E3QRA3 q1Qo0jf8BmKKtvF7VV9tvYWjZVUPzuHPxcU2SApwT4/6zyN+rBF7CsQtdPSF4FLbLcMM UxZ2sPcCj76CS0MORQhl3kyMeQkJsDASG8nhhAmssKWvAYQnsMcbiluesrf5vMFzbMrB 6uUSXal6TD88/HxEOnDDOpDn8EtpufZfZFnFWJUwq9n3mXTptKJeirSCrbQQqT7yK4h3 nTmnIDefpqXSEIbmAHRmm4aZKxnImnetESbRC1UkWztOr5QZKakVYr+xZtZu2WRbSzZV /exA== X-Gm-Message-State: AOJu0Yx6QKbWrheGXvKKWGZVftSyN0hy28eteGuMm6aN4m55B3DopEKy LiuCoax2mNSS7PwaGPNd6g3NcHuZWeFaho6sIclk1T79gWhyNhWg4qkhANys6L4rpWC0xOWx+y3 d7k45yBw/Flgt267/6Ch65+wx+7upFZDa X-Google-Smtp-Source: AGHT+IEeLB87Pt8BFI+5xY63m0WZvx7OU55cuuPW43WpqlCoeMmfk4HnbG6Ms1d+TpIUhB76LvKGejsUwzC1yjXuBOc= X-Received: by 2002:a81:8186:0:b0:651:ee07:76c with SMTP id 00721157ae682-6885493fce5mr8925667b3.15.1722515924688; Thu, 01 Aug 2024 05:38:44 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 References: <23600569.6Emhk5qWAg@rogueboard> <3311609.44csPzL39Z@rogueboard> In-Reply-To: <3311609.44csPzL39Z@rogueboard> From: Jacques Montier Date: Thu, 1 Aug 2024 14:38:33 +0200 Message-ID: Subject: Re: [gentoo-user] auto-mounting external usb disk problem To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="000000000000cfa8ae061e9e7dfa" X-Archives-Salt: 97d92cb5-8228-480d-8564-0e645f2943b1 X-Archives-Hash: 552b42251073bf417d4334f1375ffe8b --000000000000cfa8ae061e9e7dfa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le jeu. 1 ao=C3=BBt 2024 =C3=A0 13:39, Michael a= =C3=A9crit : > On Thursday, 1 August 2024 11:24:29 BST Jacques Montier wrote: > > Le mer. 31 juil. 2024 =C3=A0 18:46, Michael = a > =C3=A9crit : > > > > Looks like a possibility, if this started when you ran an update of t= he > > > desktop, or changed some cinnamon/gnome settings. Play around with t= he > > > auto- > > > mount USB drive options, to see if it corrects itself. > > > > Thanks Michael, > > > > I did not understand why an usb stick was automounted and not WD usb > drive. > > I saw the one was fat32 formatted and WD ext4. > > So, i formatted fat32 another empty WD drive and it worked ! > > Last version of cinnamon could not automount ext4 drive ? That's weird. > > > > Well, it's not so important and in can deal with it. > > > > Cheers, > > > > Jacques > > Unlike ext4, the FAT filesystem does not support Unix file permissions so > accessing the fs via userspace is more restricted than FAT. However, I > would > expect a different error, like "wrong filesystem type ...". > > What do you get in your logs when your run: > > ~ $ udisksctl mount -b /dev/sdXx > > where Xx are the device and partition numbers? > > I get this : My external usb disk is labelled SAUVEGARDE. $ udisksctl mount -b /dev/sdf1 Mounted /dev/sdf1 at /run/media/jacques/SAUVEGARDE $ dmesg [ 1003.189856] usb 10-2: new SuperSpeed USB device number 5 using xhci_hcd [ 1003.205671] usb 10-2: New USB device found, idVendor=3D1058, idProduct=3D2621, bcdDevice=3D10.34 [ 1003.205682] usb 10-2: New USB device strings: Mfr=3D1, Product=3D2, SerialNumber=3D3 [ 1003.205688] usb 10-2: Product: Elements 2621 [ 1003.205709] usb 10-2: Manufacturer: Western Digital [ 1003.205714] usb 10-2: SerialNumber: 575837324139315041324831 [ 1003.207086] usb-storage 10-2:1.0: USB Mass Storage device detected [ 1003.207196] scsi host15: usb-storage 10-2:1.0 [ 1004.268434] scsi 15:0:0:0: Direct-Access WD Elements 2621 1034 PQ: 0 ANSI: 6 [ 1004.268645] sd 15:0:0:0: Attached scsi generic sg7 type 0 [ 1004.271067] sd 15:0:0:0: [sdf] Spinning up disk... [ 1005.291638] ....ready [ 1008.461012] sd 15:0:0:0: [sdf] 3906963456 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 1008.461494] sd 15:0:0:0: [sdf] Write Protect is off [ 1008.461502] sd 15:0:0:0: [sdf] Mode Sense: 47 00 10 08 [ 1008.462001] sd 15:0:0:0: [sdf] No Caching mode page found [ 1008.462009] sd 15:0:0:0: [sdf] Assuming drive cache: write through [ 1008.464128] sdf: sdf1 [ 1008.464219] sd 15:0:0:0: [sdf] Attached SCSI disk [ 1023.783260] EXT4-fs (sdf1): mounted filesystem e26e8fef-8c48-4ad3-8258-10cb8fb47f81 r/w with ordered data mode. Quota mode: none. Is it possible the owner/access rights of the ext4 fs has changed between > the > time when it worked and now? > Well, i really don't know... -- Jacques --000000000000cfa8ae061e9e7dfa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable



Le=C2=A0jeu. 1 ao=C3=BBt 2= 024 =C3=A0=C2=A013:39, Michael <confabulate@kintzios.com> a =C3=A9crit=C2=A0:
On Thursday, 1 August 2024 11:24:2= 9 BST Jacques Montier wrote:
> Le mer. 31 juil. 2024 =C3=A0 18:46, Michael <confabulate@kintzios.com> a = =C3=A9crit :

> > Looks like a possibility, if this started when you ran an update = of the
> > desktop, or changed some cinnamon/gnome settings.=C2=A0 Play arou= nd with the
> > auto-
> > mount USB drive options, to see if it corrects itself.
>
> Thanks Michael,
>
> I did not understand why an usb stick was automounted and not WD usb d= rive.
> I saw the one was fat32 formatted and WD ext4.
> So, i formatted fat32 another empty WD drive and it worked !
> Last version of cinnamon could not automount ext4 drive ? That's w= eird.
>
> Well, it's not so important and in can deal with it.
>
> Cheers,
>
> Jacques

Unlike ext4, the FAT filesystem does not support Unix file permissions so <= br> accessing the fs via userspace is more restricted than FAT.=C2=A0 However, = I would
expect a different error, like "wrong filesystem type ...".

What do you get in your logs when your run:

~ $ udisksctl mount -b /dev/sdXx

where Xx are the device and partition numbers?


I get this :

= My external usb disk is labelled SAUVEGARDE.

$ udi= sksctl mount -b /dev/sdf1
Mounted /dev/sdf1 at /run/media/jacques/SAUVEG= ARDE

$ dmesg
[ 1003.189856] usb 10-2= : new SuperSpeed USB device number 5 using xhci_hcd
[ 1003.205671] usb 1= 0-2: New USB device found, idVendor=3D1058, idProduct=3D2621, bcdDevice=3D1= 0.34
[ 1003.205682] usb 10-2: New USB device strings: Mfr=3D1, Product= =3D2, SerialNumber=3D3
[ 1003.205688] usb 10-2: Product: Elements 2621[ 1003.205709] usb 10-2: Manufacturer: Western Digital
[ 1003.205714] = usb 10-2: SerialNumber: 575837324139315041324831
[ 1003.207086] usb-stor= age 10-2:1.0: USB Mass Storage device detected
[ 1003.207196] scsi host1= 5: usb-storage 10-2:1.0
[ 1004.268434] scsi 15:0:0:0: Direct-Access =C2= =A0 =C2=A0 WD =C2=A0 =C2=A0 =C2=A0 Elements 2621 =C2=A0 =C2=A01034 PQ: 0 AN= SI: 6
[ 1004.268645] sd 15:0:0:0: Attached scsi generic sg7 type 0
[ = 1004.271067] sd 15:0:0:0: [sdf] Spinning up disk...
[ 1005.291638] ....r= eady
[ 1008.461012] sd 15:0:0:0: [sdf] 3906963456 512-byte logical block= s: (2.00 TB/1.82 TiB)
[ 1008.461494] sd 15:0:0:0: [sdf] Write Protect is= off
[ 1008.461502] sd 15:0:0:0: [sdf] Mode Sense: 47 00 10 08
[ 1008= .462001] sd 15:0:0:0: [sdf] No Caching mode page found
[ 1008.462009] sd= 15:0:0:0: [sdf] Assuming drive cache: write through
[ 1008.464128] =C2= =A0sdf: sdf1
[ 1008.464219] sd 15:0:0:0: [sdf] Attached SCSI disk
[ 1= 023.783260] EXT4-fs (sdf1): mounted filesystem e26e8fef-8c48-4ad3-8258-10cb= 8fb47f81 r/w with ordered data mode. Quota mode: none.
=C2=A0=

Is it possible the owner/access rights of the ext4 fs has changed between t= he
time when it worked and now?

Well, i re= ally don't know...

--
Jacques=C2=A0<= /div>
--000000000000cfa8ae061e9e7dfa--