"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/blkdev/blkdev.h" between
dosfstools-4.1.tar.gz and dosfstools-4.2.tar.gz

About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.

blkdev.h  (dosfstools-4.1):blkdev.h  (dosfstools-4.2)
skipping to change at line 123 skipping to change at line 123
/* get physical block device size */ /* get physical block device size */
int blkdev_get_physector_size(int fd, int *sector_size); int blkdev_get_physector_size(int fd, int *sector_size);
/* is the device cdrom capable? */ /* is the device cdrom capable? */
int blkdev_is_cdrom(int fd); int blkdev_is_cdrom(int fd);
/* get device's geometry - legacy */ /* get device's geometry - legacy */
int blkdev_get_geometry(int fd, unsigned int *h, unsigned int *s); int blkdev_get_geometry(int fd, unsigned int *h, unsigned int *s);
/* get partition devices start offset */ /* get partition devices start offset */
int blkdev_get_start(int fd, unsigned int *s); int blkdev_get_start(int fd, dev_t rdev, unsigned long long *s);
/* SCSI device types. Copied almost as-is from kernel header. /* SCSI device types. Copied almost as-is from kernel header.
* http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/s csi/scsi.h */ * http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/s csi/scsi.h */
#define SCSI_TYPE_DISK 0x00 #define SCSI_TYPE_DISK 0x00
#define SCSI_TYPE_TAPE 0x01 #define SCSI_TYPE_TAPE 0x01
#define SCSI_TYPE_PRINTER 0x02 #define SCSI_TYPE_PRINTER 0x02
#define SCSI_TYPE_PROCESSOR 0x03 /* HP scanners use this */ #define SCSI_TYPE_PROCESSOR 0x03 /* HP scanners use this */
#define SCSI_TYPE_WORM 0x04 /* Treated as ROM by our system * / #define SCSI_TYPE_WORM 0x04 /* Treated as ROM by our system * /
#define SCSI_TYPE_ROM 0x05 #define SCSI_TYPE_ROM 0x05
#define SCSI_TYPE_SCANNER 0x06 #define SCSI_TYPE_SCANNER 0x06
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)