Re: udev applied to SDHC card. Two systems compared.
On Sun 26 Dec 2021 at 21:32:20 (-0800), peter@easthope.ca wrote:
> Any ideas about why udev assigns a symlink on the desktop system and
> not on the Sharp Mebius laptop?
Because the slots you're pushing them into are of a different type.
> Desktop machine.
> Pertinent lines in /etc/udev/rules.d/10-local.rules.
> # The green Nexttech SDHC card.
> KERNEL=="sd?1", ATTR{size}=="7434240", SYMLINK+="GRNSD", \
> OWNER="peter", GROUP="users"
And you will find your partition named something like /dev/sdb1.
> peter@joule:/home/peter$ ls /dev/G*
> /dev/GRNSD
>
> Laptop machine.
> Pertinent lines in /etc/udev/rules.d/10-local.rules.
> # The green Nexttech SDHC card.
> KERNEL=="sd?1", ATTR{size}=="7434240", SYMLINK+="GRNSD", \
> OWNER="peter", GROUP="users"
Here, you'll probably find your partition named something like
/dev/mmcblk0p1, which does not match "sd?1".
> peter@mebius:/home/peter$ ls /dev/G*
> ls cannot access 'dev/G*': No such file or directory
See also my post about SD cards' IDs in the two cases:
https://lists.debian.org/debian-user/2022/01/msg00038.html
Cheers,
David.
Reply to: