title: How to decode cmd = 3222823425 in ioctl in Linux 2.6.29?
body: <p>I am just confused like how can I break <code>cmd=3222823425</code> value into different parts to figure out what this command means actually in the Linux kernel. I know, some functions are making <code>ioctl</code> command with following parameters but I want to know what these parameter values mean.</p>
  
  <pre><code>fd=21, cmd=3222823425 and arg=3203118816 
  </code></pre>
  
  <p>I have been looking into various forums, man pages and other links to figure this out like what does it mean when a <code>cmd</code> in an <code>ioctl</code> system call has value of <code>3222823425</code>. I have found that cmd is a command number which consists of <code>type</code>, <code>number</code> and <code>data_type</code> and first twos are <code>8-bit</code> integers (0-255).  </p>
  
  <p>So my question is how to decode these parameter values to find out what this call is trying to do?</p>