Pelican Parts Forums

Pelican Parts Forums (http://forums.pelicanparts.com/)
-   Off Topic Discussions (http://forums.pelicanparts.com/off-topic-discussions/)
-   -   linux question: ls -l (http://forums.pelicanparts.com/off-topic-discussions/350232-linux-question-ls-l.html)

pmajka 06-04-2007 12:50 PM

linux question: ls -l
 
[root@majka dev]# ls -l /dev/input/mouse*
crw------- 1 root root 13, 32 May 25 15:15 /dev/input/mouse0
crw------- 1 root root 13, 33 May 25 15:15 /dev/input/mouse1
given the above,

what is the minor number.

i am guessing that 13 is the major number.

Linux is Fedora FC4.

Scott R 06-04-2007 01:04 PM

You're correct it goes major first then minor.

pmajka 06-04-2007 01:51 PM

so is minor 32, and 33 or 0 and 1 as in the mouseX file name?

alf 06-04-2007 04:28 PM

Depends, it is 18 in most states but I hear it is like 16 in Canada.

Scott R 06-04-2007 04:32 PM

If I remember this correctly (have not coded in linux for a while)

13 Major
32 Minor
33 Minor

ronin 06-04-2007 10:12 PM

Quote:

Originally posted by alf
Depends, it is 18 in most states but I hear it is like 16 in Canada.
well, you tried :D


All times are GMT -8. The time now is 05:19 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0
Copyright 2025 Pelican Parts, LLC - Posts may be archived for display on the Pelican Parts Website


DTO Garage Plus vBulletin Plugins by Drive Thru Online, Inc.