From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Tue, 05 Feb 2013 23:29:24 -0500 Subject: When does the /dev/sda1 node comes into being ? In-Reply-To: Your message of "Wed, 06 Feb 2013 01:26:44 +0800." <20130205172644.GC2464@debian.localdomain> References: <20130205172644.GC2464@debian.localdomain> Message-ID: <66747.1360124964@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Wed, 06 Feb 2013 01:26:44 +0800, horseriver said: > During booting period .every device will have a node at /dev/ folder. > what is the detail of ths procedure? 'man udev'. Although the details are a tad murkier for kernels after 2.6.32 that include CONFIG_DEVTMPFS in the config. Also, note that not all systems will have a /dev/sda1 - that assumes a partition table on a particular type of disk handled by a specific device driver. If that disk has no recognizable partition table, it will just have a /dev/sda entry. If the disk is driven by a different driver, you'll see /dev/hda entries instead. And if your boot storage device is an SD card or something, you may have /dev/mmc0 or other entries. And this: [~] ls -l /dev/sdre1 brw-rw---- 1 root disk 133, 385 2012-11-27 05:17 /dev/sdre1 is how I pay the rent. :) (Bonus points if you can figure out why my system reports that. :) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 865 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130205/90b8bd95/attachment.bin