install:/dev # lsblk -S
NAME HCTL TYPE VENDOR MODEL REV TRAN
sda 0:0:0:0 disk ATA TOSHIBA_MK5061GSY 2E sata
sr0 1:0:0:0 rom Optiarc Optiarc_DVD_RW_AD-7710H 1.S0 sata
install:/dev # sudo /sbin/sfdisk -l /dev/mmcblk0p1
Disk /dev/mmcblk0p1: 29 GiB, 31163678720 bytes, 60866560 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
install:/dev # file -s /dev/mmcblk0p1 | tr , '\n'
/dev/mmcblk0p1: DOS/MBR boot sector
code offset 0x0+2
OEM-ID " "
sectors/cluster 64
reserved sectors 1526
Media descriptor 0xf8
sectors/track 63
heads 255
hidden sectors 8192
sectors 60866560 (volumes > 32 MB)
FAT (32 bit)
sectors/FAT 7429
reserved 0x1
serial number 0x97eee392
label: "LUMIX "
install:/dev # /sbin/fsck.fat -vn /dev/mmcblk0p1
fsck.fat 4.1 (2017-01-24)
Checking we can access the last sector of the filesystem
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Boot sector contents:
System ID " "
Media byte 0xf8 (hard disk)
512 bytes per logical sector
32768 bytes per cluster
1526 reserved sectors
First FAT starts at byte 781312 (sector 1526)
2 FATs, 32 bit entries
3803648 bytes per FAT (= 7429 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 8388608 (sector 16384)
950784 data clusters (31155290112 bytes)
63 sectors/track, 255 heads
8192 hidden sectors
60866560 sectors total
/DCIM/109_PANA/P1091276.JPG and
/DCIM/109_PANA/P1091269.JPG
share clusters.
Truncating second to 4227072 bytes.
/DCIM/109_PANA/P1091269.JPG
File size is 5270528 bytes, cluster chain length is 4227072 bytes.
Truncating file to 4227072 bytes.
/DCIM/114_PANA/P1147208.JPG and
/DCIM/114_PANA/P1147160.JPG
share clusters.
Truncating second to 1179648 bytes.
/DCIM/114_PANA/P1147160.JPG
File size is 5383680 bytes, cluster chain length is 1179648 bytes.
Truncating file to 1179648 bytes.
Checking for unused clusters.
Reclaimed 4206 unused clusters (137822208 bytes).
Checking free cluster summary.
Free cluster summary wrong (2193 vs. really 6399)
Auto-correcting.
Leaving filesystem unchanged.
/dev/mmcblk0p1: 5693 files, 944385/950784 clusters
install:/dev #