Profile cover photo
Profile photo
Saurabh Arora
56 followers
56 followers
About
Saurabh's posts

Post has attachment

Post has attachment
Writing protable Linux driver with respect to processor endianness
In my previous post I discussed about the Endianness concept. There are many points to take care while writing a portable linux driver.One of the key point I wanted to mention here is the usage of some portable API's which will take care of the automatic en...

Post has attachment
Determining Endianness of Native Processor
We generally encounter a very common term 'Endianness' while working in embedded programming. Basically endianness is the way a machine architecture stores the data in the memory.We have two types of endianness - Little Endian and Big Endian. In Little Endi...

Post has attachment
Photo

Post has attachment
Getting information of current I/O scheduling policy for a block device
The Kernel block layer gets the block I/O requests from the user for the disk access. he kernel does not issue block I/O requests to the disk in the order they are received or as soon as they are received. Instead, it performs operations called  merging  an...

Post has attachment
Bash Script to determine capacity of the SCSI device
Please use above script to determine the capacity or device size of your SCSI device like Hard Disk (sda) or CD-ROM (sr0). Copy the script into a file e.g readcap.sh and run as below: ./readcap /dev/sda Above command determines capacity of Hard Disk. Script...

Post has attachment
**
Sometimes we want to query about our devices present in our computer. e.g. Hard Disks , DVD drives etc.These devices comes into the family of SCSI (Small Computer Systems Interface )  devices.So we can use some of the SCSI commands to query the status of th...
Wait while more posts are being loaded