LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2010, 01:09 AM   #1
Kaboosh
LQ Newbie
 
Registered: Feb 2005
Location: Edmonton, AB
Distribution: PCLinuxOS
Posts: 19

Rep: Reputation: 0
Lightbulb Harmless, but Bizarre udev/tmpfs Mystery


I've installed PCLinuxOS 2010 and have a bizarre mystery for any Linux Sleuths reading this. It begins with an observation: there is no tmpfs mounted on /dev. Mount gives me:
/dev/sda1 on / type ext4 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)

OK...that's fine since udev can be configured to create/delete nodes right on your hard drive. Then it gets strange...there's clearly a "mount" or overlay of some kind happening on top of /dev. This is evidenced by using the mount --bind option, which I use for live "system" backups and it is quite effective, since it mounts a filesystem free of all it's other mount points...but here's what I observed:
mkdir /bak
find /dev | wc -l
733
mount --bind / /bak
find /bak/dev | wc -l
17087
umount /bak

WTF?!? It's clearly mounted since the "unmounted" dev (in /bak) has 17087 - that's a full /dev/ node complement - while /dev has only 733 items - those created by udev for my running system. This makes NO SENSE!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
udev and tmpfs fail on custom kernel, docs misleading selfprogrammed Linux - Software 2 07-25-2010 03:04 PM
UDEV - SBLive(emu10k) - Mandriva hangs at UDEV during boot.....still! Grrr. peterlowrie Linux - Hardware 2 05-23-2010 06:37 PM
LXer: JAMA: The Vendor "Hold Harmless Clause" Racket LXer Syndicated Linux News 0 03-26-2009 11:01 PM
harmless script renders network inaccessible Journey Linux - Networking 1 07-13-2007 10:25 AM
LXer: So...DRM is harmless, eh? LXer Syndicated Linux News 0 11-22-2006 06:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration