minor

knowing a device special file major and minor numbers in linux

Hi! 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? thanks! Manuel ...

How to create keybindings for a custom minor mode in Emacs

Question: How do I create custom keybindings for minor modes? Something like this. Here is what I have so far. I'm trying to get just one custom keybinding to work: (define-minor-mode num-mode "Toggle the Num pad keys. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Nu...

GIT: is a tag unique per commit?

If you can use a tag only once (unique by commit), what do I do with 7 commits in tag "Version 7.3"? I hate that GIT doesn't make revision numbers (like SVN :)). I guess a subquestion would be: What would be a best practice to 'control' version numbers (ex revisions, so I want to save major.minor in every commit and DEFINITELY in every ...

Are pyc files independent of the minor version of python?

Is it possible and safe to load pyc files made with a different minor version of python? For instance 2.5.1 with 2.5.5? My guess is that the magic number does not change with minor versions. If I refer to this file import.c the magic number corresponds to the variable pyc_magic ( equals MAGIC or MAGIC+1 ) The file comments say: Mag...