Talk:Device Nodes

From The iPhone Wiki
Revision as of 03:19, 29 August 2008 by ChronicDev (talk | contribs) (my bad)
Jump to: navigation, search

Um, on any Mac OS block device diskXsY has a character device counterpart called rdiskXsY, so rdisk0* is just a character device for accessing the flash.


! Ahh! Thanks for that correction MiW

lol

on the same topic as above...rdisko is not ramdisk...do you know what ramdisk means? :)


I do know what a ramdisk means yes! Why is it so strange that there would exist a ramdisk device node? The device must read the ramdisk contents from flash before it copies to ram right?

Ive had my device for a little under 4 days now, and from a linux background so I am not totally sure how OSX/BSD handles it all. Im just trying report all the info I find. MiW


Also, maybe add /dev/kmem and /dev/mem as blocked nodes


"blocked nodes"? Does the kernel prevent the user from reading from these nodes? Oh and i am totally right about the GPS.

MiWs-IPhone:/usr/libexec root# strings locationd82 | grep dev
/dev/dlci.spi-baseband.9

MiW

my bad

Sorry about that dude, didn't notice the GPS thing. I'll be sure to use the edit button next time :)

Now that I think of it, you made a simple mistake that anyone could have made. To clarify:<br /dev/rdisk0 - Raw Disk
/dev/rd0 - Ramdisk

Yes, you are correct about the blocking. The only way to get access again is a LOT of kernel patches as well as some userland patches, such as to launchd. The only person who has been able to accomplish this is scotty2, a great hacker, but he seems to have disappeared :( The only other time we had access was in 1.0.2 when they were not blocked nodes