Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #243616
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: udev applied to SDHC card. Two systems compared. |
| Date | 2022-01-03 05:30 +0100 |
| Message-ID | <DBn8R-3J9-1@gated-at.bofh.it> (permalink) |
| References | <DyR3r-1Xz-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
udev applied to SDHC card. Two systems compared. peter@easthope.ca - 2021-12-27 06:50 +0100
Re: udev applied to SDHC card. Two systems compared. "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-12-27 18:40 +0100
Re: udev applied to SDHC card. Two systems compared. peter@easthope.ca - 2021-12-28 22:40 +0100
Re: udev applied to SDHC card. Two systems compared. "Alexander V. Makartsev" <avbetev@gmail.com> - 2021-12-29 00:10 +0100
Re: udev applied to SDHC card. Two systems compared. peter@easthope.ca - 2021-12-29 20:30 +0100
Re: udev applied to SDHC card. Two systems compared. David Wright <deblis@lionunicorn.co.uk> - 2022-01-03 05:30 +0100
csiph-web