Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why isn't this SDcard mounting?
Date: Tue, 29 Aug 2017 18:15:56
Message-Id: 1982957.sdgtyPhv3M@dell_xps
In Reply to: Re: [gentoo-user] Why isn't this SDcard mounting? by Stroller
1 On Tuesday, 29 August 2017 17:45:48 BST Stroller wrote:
2 > > On 29 Aug 2017, at 16:35, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
3 > >> Is it udev that's responsible for populating the dev nodes?
4 > >> (is that the right terminology?)
5 > >>
6 > >> How do I force it to reconstruct the partition table? Surely one should
7 > >> expect to be able to format or partition a removable drive and have the
8 > >> dev nodes created without the necessity of rebooting?>
9 > > run partprobe and see if that makes a difference. It forces the kernel
10 > > to re-organize it's idea of what partitions are available.
11 > >
12 > > I would have thought SD Cards were treated like regular hotpluggable
13 > > devices like USB storage, but maybe not. I'd be interested to see the
14 > > results of running partprobe.
15 >
16 > $ sudo partprobe -s
17 > /dev/sda: gpt partitions 1 2 3 4 5
18 > /dev/sdb: msdos partitions 1
19 > $
20 >
21 > The following is also dumped to /var/log/messages:
22 >
23 > Aug 29 17:31:13 alrai sudo[20565]: stroller : TTY=pts/1 ;
24 > PWD=/home/stroller ; USER=root ; COMMAND=/bin/bash -c partprobe Aug 29
25 > 17:31:13 alrai sudo[20565]: pam_unix(sudo:session): session opened for user
26 > root by (uid=0) Aug 29 17:31:13 alrai kernel: sdb: sdb1
27 > Aug 29 17:31:13 alrai kernel: sdb: sdb1
28 > Aug 29 17:31:13 alrai sudo[20565]: pam_unix(sudo:session): session closed
29 > for user root
30 >
31 > However no new device nodes are added in /dev.
32 >
33 > This is a headless system, mostly used as a file server. It doesn't run a
34 > desktop (although I've run X11 apps using xpra a few times in the past).
35 > I've never done anything to set up hotplugging.
36 >
37 > Stroller.
38
39 This may have been mentioned already, but do you have sys-fs/udisks installed?
40
41 Check the output of udisksctl status/monitor/info and see what it reveals.
42 Then check if you can mount the device with udiskctl.
43 --
44 Regards,
45 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Why isn't this SDcard mounting? Stroller <stroller@××××××××××××××××××.uk>