From: Stroller <stroller@stellar.eclipse.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Why isn't this SDcard mounting?
Date: Tue, 29 Aug 2017 16:33:08 +0100 [thread overview]
Message-ID: <C8309908-0117-4DC5-A91E-CE3E50B322D3@stellar.eclipse.co.uk> (raw)
In-Reply-To: <20170829145336.djmkz6or4tfppzbl@matica.foolinux.mooo.com>
> On 29 Aug 2017, at 15:53, Ian Zimmerman <itz@very.loosely.org> wrote:
>
> I don't have a quick solution, but I would look at the state of /dev
> (not only /dev/sdb* but also the various /dev/disk/by-* directories)
> both before and after running parted. parted is my prime suspect for
> messing things up here.
Indeed.
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).
$ ls -l /dev/disk/* | grep sdb
lrwxrwxrwx 1 root root 9 Aug 29 14:51 usb-Generic-_Card_Reader_20060413092100000-0:0 -> ../../sdb
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
$
The same command, grepping sda, shows much longer output, with symlinks to all the partitions
Is it udev that's responsible for populating the dev nodes?
(is that the right terminology?)
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?
> Also, is this the normal mount program from util-linux package, or some
> "modern" replacement?
It's the normal one:
$ equery belongs `which mount`
* Searching for /bin/mount ...
sys-apps/util-linux-2.28.2 (/bin/mount)
$
Stroller.
next prev parent reply other threads:[~2017-08-29 15:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-29 13:53 [gentoo-user] Why isn't this SDcard mounting? Stroller
2017-08-29 14:53 ` [gentoo-user] " Ian Zimmerman
2017-08-29 15:33 ` Stroller [this message]
2017-08-29 15:35 ` [gentoo-user] " Alan McKinnon
2017-08-29 16:45 ` Stroller
2017-08-29 18:15 ` Mick
2017-08-29 21:27 ` Stroller
2017-08-30 9:10 ` Mick
2017-08-31 9:42 ` Stroller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C8309908-0117-4DC5-A91E-CE3E50B322D3@stellar.eclipse.co.uk \
--to=stroller@stellar.eclipse.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox