On Thu, 2002-02-07 at 13:07, henry wrote: > Dear Sirs: > I use "ls -l /dev/mouse" , I get " 5 >Jan 3 2002 mouse->psaux" > There is Minor_ID (5), but no Major_ID .(it's supposed to appear in front of >Minor_ID(5) ) > > I want to link mouse to another device(say USB mouse instead of ps2 mouse ), > But after removing the link (mouse) > I found that I cant "mknod mouse c NULL 5 " .(I try use NULL as >Major_ID,but shell said it's illeagal.)
The chances are /dev/mouse is a symlink to something like /dev/psaux or /dev/ttyS0 etc etc. Doing a ls -l on the real device, rather than the symlinks will show you the correct major and minor device numbers. HTH Greeno -- Tony Green <[EMAIL PROTECTED]> Tel : +61-(0)2-9500-9996 Mobile : +61-(0)4-2521-9996 GnuPG Key : 1024D/B5657C8B Key fingerprint = 9ED8 59CC C161 B857 462E 51E6 7DFB 465B B565 7C8B -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
