Results 1 to 4 of 4
Hi folks,
On creating a loop block device, run;
mknod /dev/loop0 b 7 0
mknod /dev/loop1 b 7 1
7 and 0/1 are major and minor number respectively. What does ...
- 11-26-2005 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
mknod comman
Hi folks,
On creating a loop block device, run;
mknod /dev/loop0 b 7 0
mknod /dev/loop1 b 7 1
7 and 0/1 are major and minor number respectively. What does it mean major/minor?
Wlhere can I find the latest version of The Linux Bootdisk Howto? The version I have is;
v4.5, January 2002
by Tom Fawcett
TIA
BR
satimis
- 11-26-2005 #2Linux Engineer
- Join Date
- Feb 2005
- Posts
- 1,043
Major generally points you to a device driver, the minor numbers allow that driver to address individual devices. For instance, on my system my tty devices are major 4, and each tty has its own minor number. Think of it as an apartment block - you have a (major) building address and each apartment has its own (minor) number.
- 11-27-2005 #3Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,531
Hi scm,
Tks for your explanation. How to find the major/device driver number e.g. block, tty devices, etc.
TIA
BR
satimis
- 11-27-2005 #4Linux Engineer
- Join Date
- Mar 2005
- Posts
- 1,431
As I posted in your thread on linuxforums.com, it can be checked in the kernel documentation
Originally Posted by satimis


Reply With Quote
