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?
 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
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
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 03:58 PM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2