[Rule-list] Device Major Minor numbers [was: something else]

Brock Organ borgan at redhat.com
Tue Feb 26 14:53:42 EET 2002


On Mon, 2002-02-25 at 22:51, Devon wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 25 February 2002 09:12 am, Martin Stricker wrote:
> 
> > I'll try this right after I send this email. BTW it's my production
> > machine (this very one I'm typing my mail right now), but the two
> > production disks are going out (removable disk frames, very handy) and
> > my test disk goes in. Oh, you have the major/minor numbers for
> > /dev/hda2 and /dev/hda3, too? Then I don't need to repartition... Or
> > even better, where do I find these numbers?
> 
> I assume you don't need this info any longer, but hda is major 3, minor 
> 0, hda1 is major 3, minor 1, hda3 is major 3, minor 3, etc.
> You can find all the info on on this in 
> /usr/src/linux[version]/Documentation/devices.txt

the anaconda mknod is fairly smart about this, for example:

% mknod hda1

just works ... :)

-- 
Brock Organ		QA Engineer		borgan at redhat.com  
  "That which we are, we are..."    "I `em what I`em!"   
    -Alfred, Lord Tennyson            -Popeye, Lord Sailor    

_______________________________________________
Rule-list mailing list
Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list