Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Nov 2009
#1
I am trying to access /dev/mtd1 but it says permission denied. I don't really know anything about linux, so.... thanks in advance.
 
Posts: 329 | Thanked: 142 times | Joined on Oct 2009
#2
Not sure what that is, but how, and more importantly why, do you want to access it?
Some files can only be accessed by root (and, yes, devices are special kinds of files)
__________________
I don't mean to crush your hopes, I just can't help it

Last edited by MrGrim; 2009-11-25 at 21:42. Reason: clarity
 
Posts: 32 | Thanked: 6 times | Joined on Aug 2007 @ Liberty, SC
#3
it depends on why and how you are trying to access it. the access is set up as a device owned by root and only root has access to it

crw-rw---- 1 root root 90, 2 Dec 31 1969 /dev/mtd1
 
Posts: 73 | Thanked: 11 times | Joined on Nov 2009 @ uk
#4
thats a device node, by the name looks like a memory device, do a file on it and see if its a block device or not
 
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#5
Why are you trying to access the raw /dev/mtd1 device directly instead of wherever it's mounted?
 
x61's Avatar
Posts: 932 | Thanked: 278 times | Joined on Sep 2009 @ Kentucky
#6
What is the default root password?
 
Andre Klapper's Avatar
Posts: 1,665 | Thanked: 1,649 times | Joined on Jun 2008 @ Praha, Czech Republic
#7
@johnathonbrown: Welcome to the forum. Can you please post the exact steps leading to your result?

@x61: Install "rootsh" from the Extras repository instead and enter "sudo gainroot".
__________________
maemo.org Bugmaster
 
Posts: 2 | Thanked: 0 times | Joined on Nov 2009
#8
Thanks for the replies. I forgot to log on here for a while.

QUOTE=danramos;392447]Why are you trying to access the raw /dev/mtd1 device directly instead of wherever it's mounted?[/QUOTE]

I'm not really sure of any other way to access it, but I am trying to find my lock code. How would I access wherever it's mounted? Thanks in advance.
 
danramos's Avatar
Posts: 4,672 | Thanked: 5,455 times | Joined on Jul 2008 @ Springfield, MA, USA
#9
Originally Posted by johnathonbrown View Post
Thanks for the replies. I forgot to log on here for a while.

Originally Posted by danramos View Post
Why are you trying to access the raw /dev/mtd1 device directly instead of wherever it's mounted?
I'm not really sure of any other way to access it, but I am trying to find my lock code. How would I access wherever it's mounted? Thanks in advance.
I seem to remember there was a lot of talk around this whole topic around here somewhere--you may want to use google (the talk.maemo.org search has always returned less than worthless results for me) to search for threads that talk about this. I'm reasonably certain that even in the unlikely even that you found out where the lock code was, it would probably be scrambled and not useful to you--but I don't know that for a fact. Google to see what turns up.
 
Posts: 154 | Thanked: 73 times | Joined on Jan 2009 @ Toronto
#10
Originally Posted by johnathonbrown View Post
I am trying to find my lock code. How would I access wherever it's mounted?
As others have noted, you need to become root first: see Andre Klapper's post #7 above (the reply addressed to x61, not the one addressed to you). Then type the following in XTerm:

grep -A 13 lock_code /dev/mtd1 | tail -1
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:09.