Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
root@lorenzo:~# dosfsck -w -r -l -a -v -t /dev/sdd1
fsck.fat 3.0.27 (2014-11-12)
Checking we can access the last sector of the filesystem
0x25: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
Automatically removing dirty bit.
Boot sector contents:
System ID "mkfs.fat"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
8192 bytes per cluster
1 reserved sector
First FAT starts at byte 512 (sector 1)
2 FATs, 16 bit entries
16384 bytes per FAT (= 32 sectors)
Root directory starts at byte 33280 (sector 65)
512 root directory entries
Data area starts at byte 49664 (sector 97)
7673 data clusters (62857216 bytes)
63 sectors/track, 255 heads
0 hidden sectors
122880 sectors total
Checking file /boot
Checking file /overlays (OVERLAYS)
Checking file /start_cd.elf (START_CD.ELF)
Checking file /start.elf (START.ELF)
Checking file /LICENCE.broadcom (LICENC~1.BRO)
Checking file /bcm2708-rpi-b-plus.dtb (BCM270~1.DTB)
Checking file /bcm2708-rpi-b.dtb (BCM270~2.DTB)
Checking file /bcm2708-rpi-cm.dtb (BCM270~3.DTB)
Checking file /issue.txt (ISSUE.TXT)
Checking file /bootcode.bin (BOOTCODE.BIN)
Checking file /RCS
Checking file /cmdline.txt (CMDLINE.TXT)
Checking file /config.txt (CONFIG.TXT)
Checking file /fixup.dat (FIXUP.DAT)
Checking file /fixup_cd.dat (FIXUP_CD.DAT)
Checking file /fixup_db.dat (FIXUP_DB.DAT)
Checking file /fixup_x.dat (FIXUP_X.DAT)
Checking file /kernel.img (KERNEL.IMG)
Checking file /kernel7.img (KERNEL7.IMG)
Checking file /bcm2709-rpi-2-b.dtb (BCM270~4.DTB)
Checking file /start_db.elf (START_DB.ELF)
Checking file /start_x.elf (START_X.ELF)
Checking file /LICENSE.oracle (LICENS~1.ORA)
Checking file /bcm2710-rpi-3-b.dtb (BCM271~1.DTB)
Checking file /COPYING.linux (COPYIN~1.LIN)
Checking file /overlays/.
Checking file /overlays/..
Checking file /overlays/ads7846.dtbo (ADS784~1.DTB)
Checking file /overlays/README
Checking file /overlays/dwc-otg.dtbo (DWC-OT~1.DTB)
Checking file /overlays/akkordion-iqdacplus.dtbo (AKKORD~1.DTB)
Checking file /overlays/at86rf233.dtbo (AT86RF~1.DTB)
Checking file /overlays/bmp085_i2c-sensor.dtbo (BMP085~1.DTB)
Checking file /overlays/boomberry-dac.dtbo (BOOMBE~1.DTB)
Checking file /overlays/boomberry-digi.dtbo (BOOMBE~2.DTB)
Checking file /overlays/dpi24.dtbo (DPI24~1.DTB)
Checking file /overlays/enc28j60.dtbo (ENC28J~1.DTB)
Checking file /overlays/dwc2.dtbo (DWC2~1.DTB)
Checking file /overlays/dht11.dtbo (DHT11~1.DTB)
Checking file /overlays/gpio-ir.dtbo (GPIO-I~1.DTB)
Checking file /overlays/gpio-poweroff.dtbo (GPIO-P~1.DTB)
Checking file /overlays/hifiberry-amp.dtbo (HIFIBE~1.DTB)
Checking file /overlays/hifiberry-dac.dtbo (HIFIBE~2.DTB)
Checking file /overlays/hifiberry-dacplus.dtbo (HIFIBE~3.DTB)
Checking file /overlays/hifiberry-digi.dtbo (HIFIBE~4.DTB)
Checking file /overlays/hy28a.dtbo (HY28A~1.DTB)
Checking file /overlays/hy28b.dtbo (HY28B~1.DTB)
Checking file /overlays/i2c-gpio.dtbo (I2C-GP~1.DTB)
Checking file /overlays/i2c-mux-pca9548a.dtbo (I2C-MU~1.DTB)
Checking file /overlays/i2c-pwm-pca9685a.dtbo (I2C-PW~1.DTB)
Checking file /overlays/i2c-rtc.dtbo (I2C-RT~1.DTB)
Checking file /overlays/i2c0-bcm2708.dtbo (I2C0-B~1.DTB)
Checking file /overlays/i2c1-bcm2708.dtbo (I2C1-B~1.DTB)
Checking file /overlays/i2s-gpio28-31.dtbo (I2S-GP~1.DTB)
Checking file /overlays/i2s-mmap.dtbo (I2S-MM~1.DTB)
Checking file /overlays/iqaudio-dac.dtbo (IQAUDI~1.DTB)
Checking file /overlays/iqaudio-dacplus.dtbo (IQAUDI~2.DTB)
Checking file /overlays/lirc-rpi.dtbo (LIRC-R~1.DTB)
Checking file /overlays/mcp2515-can0.dtbo (MCP251~1.DTB)
Checking file /overlays/mcp2515-can1.dtbo (MCP251~2.DTB)
Checking file /overlays/mmc.dtbo (MMC~1.DTB)
Checking file /overlays/mz61581.dtbo (MZ6158~1.DTB)
Checking file /overlays/pi3-act-led.dtbo (PI3-AC~1.DTB)
Checking file /overlays/pi3-disable-bt.dtbo (PI3-DI~1.DTB)
Checking file /overlays/pi3-miniuart-bt.dtbo (PI3-MI~1.DTB)
Checking file /overlays/piscreen.dtbo (PISCRE~1.DTB)
Checking file /overlays/piscreen2r.dtbo (PISCRE~2.DTB)
Checking file /overlays/pitft22.dtbo (PITFT2~1.DTB)
Checking file /overlays/pitft28-capacitive.dtbo (PITFT2~2.DTB)
Checking file /overlays/pitft28-resistive.dtbo (PITFT2~3.DTB)
Checking file /overlays/pps-gpio.dtbo (PPS-GP~1.DTB)
Checking file /overlays/pwm-2chan.dtbo (PWM-2C~1.DTB)
Checking file /overlays/pwm.dtbo (PWM~1.DTB)
Checking file /overlays/qca7000.dtbo (QCA700~1.DTB)
Checking file /overlays/raspidac3.dtbo (RASPID~1.DTB)
Checking file /overlays/rpi-backlight.dtbo (RPI-BA~1.DTB)
Checking file /overlays/rpi-dac.dtbo (RPI-DA~1.DTB)
Checking file /overlays/rpi-display.dtbo (RPI-DI~1.DTB)
Checking file /overlays/rpi-ft5406.dtbo (RPI-FT~1.DTB)
Checking file /overlays/rpi-proto.dtbo (RPI-PR~1.DTB)
Checking file /overlays/rpi-sense.dtbo (RPI-SE~1.DTB)
Checking file /overlays/sdhost.dtbo (SDHOST~1.DTB)
Checking file /overlays/sdio-1bit.dtbo (SDIO-1~1.DTB)
Checking file /overlays/sdio.dtbo (SDIO~1.DTB)
Checking file /overlays/sdtweak.dtbo (SDTWEA~1.DTB)
Checking file /overlays/smi-dev.dtbo (SMI-DE~1.DTB)
Checking file /overlays/smi-nand.dtbo (SMI-NA~1.DTB)
Checking file /overlays/smi.dtbo (SMI~1.DTB)
Checking file /overlays/spi-gpio35-39.dtbo (SPI-GP~1.DTB)
Checking file /overlays/spi1-1cs.dtbo (SPI1-1~1.DTB)
Checking file /overlays/spi1-2cs.dtbo (SPI1-2~1.DTB)
Checking file /overlays/spi1-3cs.dtbo (SPI1-3~1.DTB)
Checking file /overlays/spi2-1cs.dtbo (SPI2-1~1.DTB)
Checking file /overlays/spi2-2cs.dtbo (SPI2-2~1.DTB)
Checking file /overlays/spi2-3cs.dtbo (SPI2-3~1.DTB)
Checking file /overlays/tinylcd35.dtbo (TINYLC~1.DTB)
Checking file /overlays/uart1.dtbo (UART1~1.DTB)
Checking file /overlays/vc4-kms-v3d.dtbo (VC4-KM~1.DTB)
Checking file /overlays/vga666.dtbo (VGA666~1.DTB)
Checking file /overlays/w1-gpio-pullup.dtbo (W1-GPI~1.DTB)
Checking file /overlays/w1-gpio.dtbo (W1-GPI~2.DTB)
Checking file /overlays/wittypi.dtbo (WITTYP~1.DTB)
Checking file /RCS/.
Checking file /RCS/..
Checking file /RCS/config.txt,v (CONFIG~1.TXT)
Checking for bad clusters.
Reclaiming unconnected clusters.
Performing changes.
/dev/sdd1: 101 files, 2620/7673 clusters
root@lorenzo:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment