> On 29 Aug 2017, at 15:53, Ian Zimmerman <[email protected]> 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.





Reply via email to