项目作者: AghilesAzzoug
项目描述 :
Read, search and get informations about linux disks and partitions.
高级语言: C
项目地址: git://github.com/AghilesAzzoug/Linux-Disk-Info.git
Linux-Disk-Info
A work home about linux partitions
What does it do?
- List disks and partitions
- Print disk sectors
- Find a specific string in a disk
- View MBR informations for a disk
Output examples
The default directory is /dev
Sector size is by default 512 bytes
- listing disks and partitions

- Printing the 2nd sector of /dev/sda

- Searching for the string ‘GRUB’ in /dev/sda from sector 0 to sector 1

One occurrence was found in sector 0
- Displaying MBR informations for /dev/sda
- Disk identifier (in hex) : 0xC4380CB
- Partitions table (in hex) : starting from offset 0x1BE
- And for every partition, its type : primary partition, its file system : EXT and starting address : 2048 (in decimal)

The program can also print logical partitions using EBR informations.
The variables, functions and printed strings are also written in french, sorry about that.