Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > The Linux Kernel > Why attribute of device file changed after exiting faketoot?

Forgot Password?
 The Linux Kernel   Compiling, theory, programming or other discussion about the linux kernel

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-10-2008   #1 (permalink)
Just Joined!
 
Join Date: Nov 2008
Location: Singapore & BeiJing
Posts: 1
Send a message via MSN to topeqin
Why attribute of device file changed after exiting faketoot?

I use fakeroot tool to create device nodes under /dev to generate a embedded file system. then use lzma to create an image for my reference board. But when exit fakeroot I change to /dev directory, I can not see character device and block device .

Detail informatioin is below:

[qinguang@rdfwdev2 SDK3200]$ /home/qinguang/SDK3200/tools/bin/fakeroot
[root@rdfwdev2 SDK3200]# cd source/romfs/dev
[root@rdfwdev2 dev]# mknod ttyS0 c 5 1
[root@rdfwdev2 dev]# mknod ttyS1 c 5 2
[root@rdfwdev2 dev]# mknod mtd b 100 1

[root@rdfwdev2 dev]# ls -l ttyS*
crw-r--r-- 1 root root 5, 1 Nov 10 14:26 ttyS0
crw-r--r-- 1 root root 5, 2 Nov 10 14:26 ttyS1
[root@rdfwdev2 dev]# exit
exit
[qinguang@rdfwdev2 SDK3200]$ ls -l source/romfs/dev/ttyS*
-rw--w--w- 1 qinguang firmware 0 Nov 10 14:26 source/romfs/dev/ttyS0
-rw--w--w- 1 qinguang firmware 0 Nov 10 14:26 source/romfs/dev/ttyS1

Why the attribute of device file changed? I guess this will block kernel bootup on reference board, in fact the kernel indeed does not bootup.

Look forward to your reverting . Thanks in advance
topeqin is offline  


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 06:59 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2