Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Why isn't this SDcard mounting?
Date: Tue, 29 Aug 2017 15:33:17
Message-Id: C8309908-0117-4DC5-A91E-CE3E50B322D3@stellar.eclipse.co.uk
In Reply to: [gentoo-user] Re: Why isn't this SDcard mounting? by Ian Zimmerman
1 > On 29 Aug 2017, at 15:53, Ian Zimmerman <itz@××××××××××××.org> wrote:
2 >
3 > I don't have a quick solution, but I would look at the state of /dev
4 > (not only /dev/sdb* but also the various /dev/disk/by-* directories)
5 > both before and after running parted. parted is my prime suspect for
6 > messing things up here.
7
8 Indeed.
9
10 No sdb1 is mentioned, despite it apparently being recognised by the kernel when plugged in (from the last line of the `grep kernel /var/log/messages` output in my previous post).
11
12 $ ls -l /dev/disk/* | grep sdb
13 lrwxrwxrwx 1 root root 9 Aug 29 14:51 usb-Generic-_Card_Reader_20060413092100000-0:0 -> ../../sdb
14 lrwxrwxrwx 1 root root 9 Aug 29 14:51 pci-0000:00:12.2-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdb
15 $
16
17 The same command, grepping sda, shows much longer output, with symlinks to all the partitions
18
19 Is it udev that's responsible for populating the dev nodes?
20 (is that the right terminology?)
21
22 How do I force it to reconstruct the partition table? Surely one should expect to be able to format or partition a removable drive and have the dev nodes created without the necessity of rebooting?
23
24 > Also, is this the normal mount program from util-linux package, or some
25 > "modern" replacement?
26
27 It's the normal one:
28
29 $ equery belongs `which mount`
30 * Searching for /bin/mount ...
31 sys-apps/util-linux-2.28.2 (/bin/mount)
32 $
33
34 Stroller.

Replies

Subject Author
Re: [gentoo-user] Why isn't this SDcard mounting? Alan McKinnon <alan.mckinnon@×××××.com>