You are not logged in.
Pages: 1
"?" is used as wildcard, not question mark in title and below:
I'm playing around with Raspberry Pi operating systems and was wondering if there is some way to have SD cards named (on my Arch Desktop) with a different scheme than hard disks (e.g. /dev/mmcblk* instead of /dev/sd??).
I'm guessing that there's just a udev rule that I need to add/remove, could anyone enlighten me on it?
Thanks
Last edited by windows_me (2013-09-24 14:39:29)
[10:04:21] Time for weekly full server backup.
[10:04:25] Redirecting it to "/dev/null" to make it go faster.
[10:04:53] Backup done! Amazing how fast modern technology is!
Offline
Hi windows,
As far as I know, sd stands for Special Device. So this is something that the OS uses to identify all special devices - or disk drives. I believe that that isn't meant to be changed...
Good luck,
Andy
http://publib.boulder.ibm.com/infocente … hsag8.html
http://superuser.com/questions/558156/w … linux-mean
Offline
It sounds like your DE is "helping you" with this. Is the device name the same in the output of `mount`?
Offline
Hi,
I'm using terminal, not a DE. I recall on some Linux distro, SD/MMC cards appeared in /dev as "/dev/mmcblk?" and the partitions as "/dev/mmcblk?p?", rather than "sd??".
[10:04:21] Time for weekly full server backup.
[10:04:25] Redirecting it to "/dev/null" to make it go faster.
[10:04:53] Backup done! Amazing how fast modern technology is!
Offline
Seems that indeed RasPi does that https://bbs.archlinux.org/viewtopic.php … 1#p1279741 -> https://bbs.archlinux.org/viewtopic.php … 7#p1279777 so you can ask on their forum, how do they do it - is it hardware related etc.
Offline
Huh, I always thought this had something to do with how the device connects. For me (the last time I checked), SDcards, when inserted using a USB card reader, will read as /dev/sd?, but when inserted through the dedicated SDcard reader, appear as /dev/mmcblk?. I thought this was always the case, but it appears that I have been wrong. I'll need to look into this again…
All the best,
-HG
Offline
I also think that's how it works, but I have no way to check it.
Offline
I also think that's how it works, but I have no way to check it.
Let me go test it, I have the necessary hardware.
[EDIT]: This is how it works for me. I don't know if that's how it is for everyone, but this is how I've always thought of it working.
All the best,
-HG
Last edited by HalosGhost (2013-09-25 00:16:38)
Offline
Huh, I always thought this had something to do with how the device connects. For me (the last time I checked), SDcards, when inserted using a USB card reader, will read as /dev/sd?, but when inserted through the dedicated SDcard reader, appear as /dev/mmcblk?. I thought this was always the case, but it appears that I have been wrong. I'll need to look into this again…
All the best,
-HG
My SD card reader is a 3.5" unit that internally connects to the mobo via USB - I guess my kernel just doesn't like me
[10:04:21] Time for weekly full server backup.
[10:04:25] Redirecting it to "/dev/null" to make it go faster.
[10:04:53] Backup done! Amazing how fast modern technology is!
Offline
My SD card reader is a 3.5" unit that internally connects to the mobo via USB - I guess my kernel just doesn't like me
Well, no that makes sense. If it connects through USB, then it would appear as /dev/sd?.
All the best,
-HG
Offline
windows_me wrote:My SD card reader is a 3.5" unit that internally connects to the mobo via USB - I guess my kernel just doesn't like me
Well, no that makes sense. If it connects through USB, then it would appear as /dev/sd?.
All the best,
-HG
So it's the same as attaching an external drive or a USB card reader.
Raspberry Pi's card reader is not connected via the USB, it's build-in, but as I mentioned, I don't know how exactly the hardware works.
Offline
windows_me wrote:My SD card reader is a 3.5" unit that internally connects to the mobo via USB - I guess my kernel just doesn't like me
Well, no that makes sense. If it connects through USB, then it would appear as /dev/sd?.
All the best,
-HG
Maybe it makes no sense, but that's the way Arch is naming it!
[10:04:21] Time for weekly full server backup.
[10:04:25] Redirecting it to "/dev/null" to make it go faster.
[10:04:53] Backup done! Amazing how fast modern technology is!
Offline
Maybe it makes no sense, but that's the way Arch is naming it!
You misunderstand. I'm saying that that makes perfect sense. It's connected through USB (even though that USB cable is internal), so karol is right:
So it's the same as attaching an external drive or a USB card reader.
All the best,
-HG
Offline
Pages: 1