Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 470653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T23:54:24+00:00 2026-05-12T23:54:24+00:00

All files in /dev are special files… they represent devices of the computer. They

  • 0

All files in /dev are special files… they represent devices of the computer.
They were created with the mknod syscall. My question is: How can I know the minor and
major numbers that were used to create this special file?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T23:54:24+00:00Added an answer on May 12, 2026 at 11:54 pm

    The list is called the LANANA Linux Device List, and it is administered by Alan Cox.

    You can find the latest copy online (direct link), or in the Linux source. Its filename in the kernel tree is Documentation/devices.txt.

    To see the major and minor numbers that created a node in /dev (or any device node for that matter), simply use ls with the -l option:

    22:26 jsmith@undertow% ls -l /dev/xvd?
    brw-rw---- 1 root disk    202,   0 Nov  1 20:31 /dev/xvda
    brw-rw---- 1 root disk    202,  16 Nov  1 20:31 /dev/xvdb
    brw-rw---- 1 root disk    202,  32 Nov  1 20:31 /dev/xvdc
    

    In this example, 202 is the three devices’ major number, and 0, 16, and 32 are minors. The b at left indicates that the node is a block device. The alternative is c, a character device:

    crw-rw-rw- 1 root tty       5,   0 Nov 22 00:29 /dev/tty
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can I save all files in a directory using utf-8? There is a
I have this regex that allow all php files : ^.*\.([Pp][Hh][Pp]) how can I
I need to include all xml files inside a directory (I dont know the
I need to list all files with size > 0 under a directory (where
I want to delete all files in a directory with a given name, except
I need to scan all files on our solution (aspx, js, ascx, etc) Our
trying to rename all files in a directory to $arg[1] + number of file
I want to list all files in a directory Using PyroCMS. Using the Files
I want to remove all files from Git at ~/bin/. I run git rm
I want to list all files on an FTP server using PHP. According to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.