Skip to content
Snippets Groups Projects
Commit 7f3f1f3f authored by Peter Gerwinski's avatar Peter Gerwinski
Browse files

Screenshots: Massenspeicher, 14.6.2019

parent 666c34b2
Branches
No related tags found
No related merge requests found
cassini/home/peter/bo/2019ss/bs/20190614> sudo dd if=/dev/sdd bs=1 skip=1130496 count=170000 of=test.jpg 170000+0 Datensätze ein
170000+0 Datensätze aus
170000 Bytes (170 kB, 166 KiB) kopiert, 0,239187 s, 711 kB/s
cassini/home/peter/bo/2019ss/bs/20190614> sudo fdisk /dev/sdd
Welcome to fdisk (util-linux 2.29.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.
Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0xdea02bba.
Command (m for help): m
Help:
DOS (MBR)
a toggle a bootable flag
b edit nested BSD disklabel
c toggle the dos compatibility flag
Generic
d delete a partition
F list free unpartitioned space
l list known partition types
n add a new partition
p print the partition table
t change a partition type
v verify the partition table
i print information about a partition
Misc
m print this menu
u change display/entry units
x extra functionality (experts only)
Script
I load disk layout from sfdisk script file
O dump disk layout to sfdisk script file
Save & Exit
w write table to disk and exit
q quit without saving changes
Create a new label
g create a new empty GPT partition table
G create a new empty SGI (IRIX) partition table
o create a new empty DOS partition table
s create a new empty Sun partition table
Command (m for help): o
Created a new DOS disklabel with disk identifier 0x013c121d.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1):
First sector (2048-60799, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-60799, default 60799): 8192
Created a new partition 1 of type 'Linux' and of size 3 MiB.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8192 6145 3M 83 Linux
Command (m for help): d
Selected partition 1
Partition 1 has been deleted.
Command (m for help): n
Partition type
p primary (0 primary, 0 extended, 4 free)
e extended (container for logical partitions)
Select (default p):
Using default response p.
Partition number (1-4, default 1):
First sector (2048-60799, default 2048):
Last sector, +sectors or +size{K,M,G,T,P} (2048-60799, default 60799): 8191
Created a new partition 1 of type 'Linux' and of size 3 MiB.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M 83 Linux
Command (m for help): t
Selected partition 1
Partition type (type L to list all types): L
0 Empty 24 NEC DOS 81 Minix / old Lin bf Solaris
1 FAT12 27 Hidden NTFS Win 82 Linux swap / So c1 DRDOS/sec (FAT-
2 XENIX root 39 Plan 9 83 Linux c4 DRDOS/sec (FAT-
3 XENIX usr 3c PartitionMagic 84 OS/2 hidden or c6 DRDOS/sec (FAT-
4 FAT16 <32M 40 Venix 80286 85 Linux extended c7 Syrinx
5 Extended 41 PPC PReP Boot 86 NTFS volume set da Non-FS data
6 FAT16 42 SFS 87 NTFS volume set db CP/M / CTOS / .
7 HPFS/NTFS/exFAT 4d QNX4.x 88 Linux plaintext de Dell Utility
8 AIX 4e QNX4.x 2nd part 8e Linux LVM df BootIt
9 AIX bootable 4f QNX4.x 3rd part 93 Amoeba e1 DOS access
a OS/2 Boot Manag 50 OnTrack DM 94 Amoeba BBT e3 DOS R/O
b W95 FAT32 51 OnTrack DM6 Aux 9f BSD/OS e4 SpeedStor
c W95 FAT32 (LBA) 52 CP/M a0 IBM Thinkpad hi ea Rufus alignment
e W95 FAT16 (LBA) 53 OnTrack DM6 Aux a5 FreeBSD eb BeOS fs
f W95 Ext'd (LBA) 54 OnTrackDM6 a6 OpenBSD ee GPT
10 OPUS 55 EZ-Drive a7 NeXTSTEP ef EFI (FAT-12/16/
11 Hidden FAT12 56 Golden Bow a8 Darwin UFS f0 Linux/PA-RISC b
12 Compaq diagnost 5c Priam Edisk a9 NetBSD f1 SpeedStor
14 Hidden FAT16 <3 61 SpeedStor ab Darwin boot f4 SpeedStor
16 Hidden FAT16 63 GNU HURD or Sys af HFS / HFS+ f2 DOS secondary
17 Hidden HPFS/NTF 64 Novell Netware b7 BSDI fs fb VMware VMFS
18 AST SmartSleep 65 Novell Netware b8 BSDI swap fc VMware VMKCORE
1b Hidden W95 FAT3 70 DiskSecure Mult bb Boot Wizard hid fd Linux raid auto
1c Hidden W95 FAT3 75 PC/IX bc Acronis FAT32 L fe LANstep
1e Hidden W95 FAT1 80 Old Minix be Solaris boot ff BBT
Partition type (type L to list all types): c
Changed type of partition 'Linux' to 'W95 FAT32 (LBA)'.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M c W95 FAT32 (LBA)
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
Select (default p): e
Partition number (2-4, default 2):
First sector (8192-60799, default 8192):
Last sector, +sectors or +size{K,M,G,T,P} (8192-60799, default 60799):
Created a new partition 2 of type 'Extended' and of size 25,7 MiB.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M c W95 FAT32 (LBA)
/dev/sdd2 8192 60799 52608 25,7M 5 Extended
Command (m for help): n
All space for primary partitions is in use.
Adding logical partition 5
First sector (10240-60799, default 10240):
Last sector, +sectors or +size{K,M,G,T,P} (10240-60799, default 60799): +10M
Created a new partition 5 of type 'Linux' and of size 10 MiB.
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M c W95 FAT32 (LBA)
/dev/sdd2 8192 60799 52608 25,7M 5 Extended
/dev/sdd5 10240 30719 20480 10M 83 Linux
Command (m for help): n
All space for primary partitions is in use.
Adding logical partition 6
First sector (32768-60799, default 32768):
Last sector, +sectors or +size{K,M,G,T,P} (32768-60799, default 60799):
Created a new partition 6 of type 'Linux' and of size 13,7 MiB.
Command (m for help):
Command (m for help): p
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M c W95 FAT32 (LBA)
/dev/sdd2 8192 60799 52608 25,7M 5 Extended
/dev/sdd5 10240 30719 20480 10M 83 Linux
/dev/sdd6 32768 60799 28032 13,7M 83 Linux
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
cassini/home/peter/bo/2019ss/bs/20190614> sudo fdisk -l /dev/sdd
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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: 0x013c121d
Device Boot Start End Sectors Size Id Type
/dev/sdd1 2048 8191 6144 3M c W95 FAT32 (LBA)
/dev/sdd2 8192 60799 52608 25,7M 5 Extended
/dev/sdd5 10240 30719 20480 10M 83 Linux
/dev/sdd6 32768 60799 28032 13,7M 83 Linux
cassini/home/peter/bo/2019ss/bs/20190614> ls -l /dev/sdd*
brw-rw---- 1 root disk 8, 48 Jun 14 11:44 /dev/sdd
brw-rw---- 1 root disk 8, 49 Jun 14 11:44 /dev/sdd1
brw-rw---- 1 root disk 8, 50 Jun 14 11:44 /dev/sdd2
brw-rw---- 1 root disk 8, 53 Jun 14 11:44 /dev/sdd5
brw-rw---- 1 root disk 8, 54 Jun 14 11:44 /dev/sdd6
cassini/home/peter/bo/2019ss/bs/20190614>
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 1d 12 3c 01 00 00 00 00 |..........<.....|
000001c0 09 22 0c 00 20 88 00 08 00 00 00 18 00 00 00 00 |.".. ...........|
000001d0 21 88 05 00 d4 f5 00 20 00 00 80 cd 00 00 00 00 |!...... ........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
004001c0 29 aa 83 00 7c ff 00 08 00 00 00 50 00 00 00 00 |)...|......P....|
004001d0 81 00 05 00 d4 f5 00 58 00 00 80 75 00 00 00 00 |.......X...u....|
004001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
004001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00400200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00f001c0 89 22 83 00 d4 f5 00 08 00 00 80 6d 00 00 00 00 |.".........m....|
00f001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00f001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00f00200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
01db0000
cassini/home/peter/bo/2019ss/bs/20190614> sudo magicrescue -d . -r jpeg-jfif /dev/sdd
Found jpeg-jfif at 0x114000
./000000114000-0.jpg: 156772 bytes
Scanning /dev/sdd finished at 29MB
cassini/home/peter/bo/2019ss/bs/20190614> t
insgesamt 488
-rw-r--r-- 1 root root 170000 Jun 14 10:34 test.jpg
-rw-r--r-- 1 peter peter 218 Jun 14 10:44 bs-20190614.txt
-rw-r--r-- 1 peter peter 2402 Jun 14 10:51 sdd-hexdump-1.txt
-rw-r--r-- 1 peter peter 156826 Jun 14 10:53 test2.jpg
-rw-r--r-- 1 root root 156772 Jun 14 11:17 000000114000-0.jpg
# Extracts jpeg files with the JFIF magic bytes. These are usually created by
# graphics manipulation programs.
# Depends on jpegtran from libjpeg: http://freshmeat.net/projects/libjpeg/
# See also jpeg-exif
6 string JFIF
0 int32 ffd80000 ffff0000
extension jpg
command jpegtran -copy all -outfile "$1"
cassini/usr/share/magicrescue/recipes> cd ~/bo/2019ss/bs/20190614/
cassini/home/peter/bo/2019ss/bs/20190614> hexdump -C test2.jpg | head -3
00000000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 60 |......JFIF.....`|
00000010 00 60 00 00 ff fe 00 3e 43 52 45 41 54 4f 52 3a |.`.....>CREATOR:|
00000020 20 67 64 2d 6a 70 65 67 20 76 31 2e 30 20 28 75 | gd-jpeg v1.0 (u|
cassini/home/peter/bo/2019ss/bs/20190614> cd -
/usr/share/magicrescue/recipes
cassini/usr/share/magicrescue/recipes> cat jpeg-exif
# Extracts jpeg files with the Exif magic bytes. These usually originate from
# digital camaras or other devices.
# Depends on jpegtran from libjpeg: http://freshmeat.net/projects/libjpeg/
# See also jpeg-jfif
6 string Exif
0 int32 ffd80000 ffff0000
extension jpg
command jpegtran -copy all -outfile "$1"
cassini/usr/share/magicrescue/recipes
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 1d 12 3c 01 00 00 00 00 |..........<.....|
000001c0 09 22 0c 00 20 88 00 08 00 00 00 18 00 00 00 00 |.".. ...........| # Partitionstabelle
000001d0 21 88 05 00 d4 f5 00 20 00 00 80 cd 00 00 00 00 |!...... ........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00100000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
00100010 02 00 02 00 18 f8 05 00 3c 00 01 00 00 08 00 00 |........<.......| # Vorspann
00100020 00 00 00 00 80 00 29 ed c9 c5 d6 4e 4f 20 4e 41 |......)....NO NA| # DOS-Dateisystem
00100030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
00100040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
00100050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
00100060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
00100070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
00100080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
00100090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
001000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
001000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
001000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
001001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00100200 f8 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| # FAT 1
00100210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00100c00 f8 ff ff 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| # FAT 2
00100c10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
004001c0 29 aa 83 00 7c ff 00 08 00 00 00 50 00 00 00 00 |)...|......P....|
004001d0 81 00 05 00 d4 f5 00 58 00 00 80 75 00 00 00 00 |.......X...u....| # Extended Partition
004001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
004001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00400200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00f001c0 89 22 83 00 d4 f5 00 08 00 00 80 6d 00 00 00 00 |.".........m....| # Logische Partition 5
00f001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00f001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| # Logische Partition 6
00f00200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
01db0000
cassini/home/peter/bo/2019ss/bs/20190614> mount /media/sd-card/
cassini/home/peter/bo/2019ss/bs/20190614> cp -pi test2.jpg /media/sd-card/
cassini/home/peter/bo/2019ss/bs/20190614> ls -l /media/sd-card/
insgesamt 154
-rwxr-xr-x 1 peter peter 156826 Jun 14 10:53 test2.jpg
cassini/home/peter/bo/2019ss/bs/20190614> umount /media/sd-card
cassini/home/peter/bo/2019ss/bs/20190614>
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 1d 12 3c 01 00 00 00 00 |..........<.....|
000001c0 09 22 0c 00 20 88 00 08 00 00 00 18 00 00 00 00 |.".. ...........|
000001d0 21 88 05 00 d4 f5 00 20 00 00 80 cd 00 00 00 00 |!...... ........|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00100000 eb 3c 90 6d 6b 66 73 2e 66 61 74 00 02 04 01 00 |.<.mkfs.fat.....|
00100010 02 00 02 00 18 f8 05 00 3c 00 01 00 00 08 00 00 |........<.......|
00100020 00 00 00 00 80 00 29 ed c9 c5 d6 4e 4f 20 4e 41 |......)....NO NA|
00100030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 0e 1f |ME FAT12 ..|
00100040 be 5b 7c ac 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 |.[|.".t.V.......|
00100050 5e eb f0 32 e4 cd 16 cd 19 eb fe 54 68 69 73 20 |^..2.......This |
00100060 69 73 20 6e 6f 74 20 61 20 62 6f 6f 74 61 62 6c |is not a bootabl|
00100070 65 20 64 69 73 6b 2e 20 20 50 6c 65 61 73 65 20 |e disk. Please |
00100080 69 6e 73 65 72 74 20 61 20 62 6f 6f 74 61 62 6c |insert a bootabl|
00100090 65 20 66 6c 6f 70 70 79 20 61 6e 64 0d 0a 70 72 |e floppy and..pr|
001000a0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 74 |ess any key to t|
001000b0 72 79 20 61 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 |ry again ... ...|
001000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
001001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00100200 f8 ff ff 00 40 00 05 60 00 07 80 00 09 a0 00 0b |....@..`........| # FAT 1: Wo befinden
00100210 c0 00 0d e0 00 0f 00 01 11 20 01 13 40 01 15 60 |......... ..@..`| # sich die Dateien?
00100220 01 17 80 01 19 a0 01 1b c0 01 1d e0 01 1f 00 02 |................|
00100230 21 20 02 23 40 02 25 60 02 27 80 02 29 a0 02 2b |! .#@.%`.'..)..+|
00100240 c0 02 2d e0 02 2f 00 03 31 20 03 33 40 03 35 60 |..-../..1 .3@.5`|
00100250 03 37 80 03 39 a0 03 3b c0 03 3d e0 03 3f 00 04 |.7..9..;..=..?..|
00100260 41 20 04 43 40 04 45 60 04 47 80 04 49 a0 04 4b |A .C@.E`.G..I..K|
00100270 c0 04 4d e0 04 4f f0 ff 00 00 00 00 00 00 00 00 |..M..O..........|
00100280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00100c00 f8 ff ff 00 40 00 05 60 00 07 80 00 09 a0 00 0b |....@..`........| # FAT 2: Kopie von FAT 1
00100c10 c0 00 0d e0 00 0f 00 01 11 20 01 13 40 01 15 60 |......... ..@..`|
00100c20 01 17 80 01 19 a0 01 1b c0 01 1d e0 01 1f 00 02 |................|
00100c30 21 20 02 23 40 02 25 60 02 27 80 02 29 a0 02 2b |! .#@.%`.'..)..+|
00100c40 c0 02 2d e0 02 2f 00 03 31 20 03 33 40 03 35 60 |..-../..1 .3@.5`|
00100c50 03 37 80 03 39 a0 03 3b c0 03 3d e0 03 3f 00 04 |.7..9..;..=..?..|
00100c60 41 20 04 43 40 04 45 60 04 47 80 04 49 a0 04 4b |A .C@.E`.G..I..K|
00100c70 c0 04 4d e0 04 4f f0 ff 00 00 00 00 00 00 00 00 |..M..O..........|
00100c80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00101600 41 74 00 65 00 73 00 74 00 32 00 0f 00 e3 2e 00 |At.e.s.t.2......| # Inhaltsverzeichnis
00101610 6a 00 70 00 67 00 00 00 ff ff 00 00 ff ff ff ff |j.p.g...........|
00101620 54 45 53 54 32 20 20 20 4a 50 47 20 00 00 98 4e |TEST2 JPG ...N|
00101630 ce 4e ce 4e 00 00 b1 46 ce 4e 03 00 9a 64 02 00 |.N.N...F.N...d..|
00101640 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00105e00 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 60 |......JFIF.....`| # Datei: test2.jpg
00105e10 00 60 00 00 ff fe 00 3e 43 52 45 41 54 4f 52 3a |.`.....>CREATOR:|
00105e20 20 67 64 2d 6a 70 65 67 20 76 31 2e 30 20 28 75 | gd-jpeg v1.0 (u|
00105e30 73 69 6e 67 20 49 4a 47 20 4a 50 45 47 20 76 36 |sing IJG JPEG v6|
00105e40 32 29 2c 20 64 65 66 61 75 6c 74 20 71 75 61 6c |2), default qual|
00105e50 69 74 79 0a ff db 00 43 00 08 06 06 07 06 05 08 |ity....C........|
00105e60 07 07 07 09 09 08 0a 0c 14 0d 0c 0b 0b 0c 19 12 |................|
00105e70 13 0f 14 1d 1a 1f 1e 1d 1a 1c 1c 20 24 2e 27 20 |........... $.' |
00105e80 22 2c 23 1c 1c 28 37 29 2c 30 31 34 34 34 1f 27 |",#..(7),01444.'|
00105e90 39 3d 38 32 3c 2e 33 34 32 ff db 00 43 01 09 09 |9=82<.342...C...|
00105ea0 09 0c 0b 0c 18 0d 0d 18 32 21 1c 21 32 32 32 32 |........2!.!2222|
00105eb0 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 |2222222222222222|
*
00105ed0 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ff c0 |22222222222222..|
00105ee0 00 11 08 04 38 07 80 03 01 22 00 02 11 01 03 11 |....8...."......|
00105ef0 01 ff c4 00 1f 00 00 01 05 01 01 01 01 01 01 00 |................|
00105f00 00 00 00 00 00 00 00 01 02 03 04 05 06 07 08 09 |................|
00105f10 0a 0b ff c4 00 b5 10 00 02 01 03 03 02 04 03 05 |................|
00105f20 05 04 04 00 00 01 7d 01 02 03 00 04 11 05 12 21 |......}........!|
00105f30 31 41 06 13 51 61 07 22 71 14 32 81 91 a1 08 23 |1A..Qa."q.2....#|
00105f40 42 b1 c1 15 52 d1 f0 24 33 62 72 82 09 0a 16 17 |B...R..$3br.....|
00105f50 18 19 1a 25 26 27 28 29 2a 34 35 36 37 38 39 3a |...%&'()*456789:|
00105f60 43 44 45 46 47 48 49 4a 53 54 55 56 57 58 59 5a |CDEFGHIJSTUVWXYZ|
00105f70 63 64 65 66 67 68 69 6a 73 74 75 76 77 78 79 7a |cdefghijstuvwxyz|
00105f80 83 84 85 86 87 88 89 8a 92 93 94 95 96 97 98 99 |................|
00105f90 9a a2 a3 a4 a5 a6 a7 a8 a9 aa b2 b3 b4 b5 b6 b7 |................|
00105fa0 b8 b9 ba c2 c3 c4 c5 c6 c7 c8 c9 ca d2 d3 d4 d5 |................|
00105fb0 d6 d7 d8 d9 da e1 e2 e3 e4 e5 e6 e7 e8 e9 ea f1 |................|
00105fc0 f2 f3 f4 f5 f6 f7 f8 f9 fa ff c4 00 1f 01 00 03 |................|
00105fd0 01 01 01 01 01 01 01 01 01 00 00 00 00 00 00 01 |................|
00105fe0 02 03 04 05 06 07 08 09 0a 0b ff c4 00 b5 11 00 |................|
00105ff0 02 01 02 04 04 03 04 07 05 04 04 00 01 02 77 00 |..............w.|
00106000 01 02 03 11 04 05 21 31 06 12 41 51 07 61 71 13 |......!1..AQ.aq.|
00106010 22 32 81 08 14 42 91 a1 b1 c1 09 23 33 52 f0 15 |"2...B.....#3R..|
00106020 62 72 d1 0a 16 24 34 e1 25 f1 17 18 19 1a 26 27 |br...$4.%.....&'|
00106030 28 29 2a 35 36 37 38 39 3a 43 44 45 46 47 48 49 |()*56789:CDEFGHI|
00106040 4a 53 54 55 56 57 58 59 5a 63 64 65 66 67 68 69 |JSTUVWXYZcdefghi|
00106050 6a 73 74 75 76 77 78 79 7a 82 83 84 85 86 87 88 |jstuvwxyz.......|
00106060 89 8a 92 93 94 95 96 97 98 99 9a a2 a3 a4 a5 a6 |................|
00106070 a7 a8 a9 aa b2 b3 b4 b5 b6 b7 b8 b9 ba c2 c3 c4 |................|
00106080 c5 c6 c7 c8 c9 ca d2 d3 d4 d5 d6 d7 d8 d9 da e2 |................|
00106090 e3 e4 e5 e6 e7 e8 e9 ea f2 f3 f4 f5 f6 f7 f8 f9 |................|
001060a0 fa ff da 00 0c 03 01 00 02 11 03 11 00 3f 00 f5 |.............?..|
001060b0 1e b4 ee 94 d0 38 a5 ef 56 66 29 f6 a0 d1 8f 5a |.....8..Vf)....Z|
001060c0 0f b5 03 12 8e b4 51 40 01 a0 1a 31 cd 03 8a 04 |......Q@...1....|
001060d0 06 98 69 f8 ea 69 ad 40 11 9a 8d 85 4a 7a 53 0d |..i..i.@....JzS.|
001060e0 03 23 a3 1c 53 b1 48 47 b5 20 1b db 9a 43 d3 8a |.#..S.HG. ...C..|
001060f0 53 48 68 19 1b 53 08 cd 48 dc 93 51 91 8e 94 30 |SHh..S..H..Q...0|
00106100 1a 7d 6a 27 a9 bb 54 6c 28 02 bb f7 a8 8f 5a 9d |.}j'..Tl(.....Z.|
00106110 bb d4 64 66 90 c8 5c 70 45 44 47 04 11 53 b2 f1 |..df..\pEDG..S..|
00106120 56 2d ec d5 a2 f3 a6 24 29 fb a3 d6 90 cc a7 81 |V-.....$).......|
00106130 4f 25 45 57 96 dd 0a 91 b4 73 ed 5d 0e cb 36 f9 |O%EW.....s.]..6.|
00106140 55 c0 61 d8 d3 1b 4f 8a 41 f2 ba 7e 74 c1 34 ce |U.a...O.A..~t.4.|
00106150 06 fa c9 e3 93 7a 02 47 71 55 84 59 e0 03 5d f4 |.....z.GqU.Y..].|
00106160 ba 18 93 f8 81 fa 1a aa fa 12 a1 c9 53 f9 50 b6 |............S.P.|
00106170 11 c3 bd bb 83 9c 1c 7d 29 3c 92 a4 02 08 fc 2b |.......})<.....+|
00106180 b6 3a 3e 4f 29 c5 21 d1 d3 a1 51 f9 53 0b 23 8a |.:>O).!...Q.S.#.|
00106190 11 9e 84 11 f8 53 84 67 af 35 d9 8d 0e 03 c9 41 |.....S.g.5.....A|
001061a0 52 2e 87 6e 40 25 47 e7 43 42 d0 e3 3c a3 8c e0 |R..n@%G.CB..<...|
001061b0 d2 95 00 80 c6 bb 41 a1 db 01 8d 8b f9 53 97 46 |......A......S.F|
001061c0 b6 00 80 8b f9 51 60 d0 e2 d6 3d e7 00 1a 9d 6d |.....Q`...=....m|
001061d0 c0 ea 0f e5 5d 7a e9 16 ea 72 11 7f 2a 7f f6 5c |....]z...r..*..\|
001061e0 03 9d a3 f2 a2 c1 a1 ca 25 a8 63 80 b4 e7 b4 20 |........%.c.... |
001061f0 64 a9 fc ab ad 5b 08 54 61 50 0f c2 94 d8 c6 dd |d....[.TaP......|
00106200 54 51 60 ba 39 15 b3 27 a2 9f ca 91 ad 08 ce 56 |TQ`.9..'.......V|
00106210 bb 01 63 18 e8 a0 53 1e c1 0f 25 45 16 16 87 1a |..c...S...%E....|
00106220 6d c0 27 22 a2 92 3e c1 4f e5 5d 74 ba 6c 7c 90 |m.'"..>.O.]t.l|.|
[...]
cassini/home/peter/bo/2019ss/bs/20190614> ls -lart --full-time
insgesamt 544
drwxr-xr-x 12 peter peter 4096 2019-06-14 10:33:51.063121487 +0200 ..
-rw-r--r-- 1 root root 170000 2019-06-14 10:34:06.087499477 +0200 test.jpg
-rw-r--r-- 1 peter peter 218 2019-06-14 10:44:24.083288582 +0200 bs-20190614.txt
-rw-r--r-- 1 peter peter 2402 2019-06-14 10:51:32.198371938 +0200 sdd-hexdump-1.txt
-rw-r--r-- 1 peter peter 156826 2019-06-14 10:53:34.933559035 +0200 test2.jpg
-rw-r--r-- 1 root root 156772 2019-06-14 11:17:21.286701068 +0200 000000114000-0.jpg
-rw-r--r-- 1 peter peter 539 2019-06-14 11:18:25.356371068 +0200 magicrescue-1.txt
-rw-r--r-- 1 peter peter 466 2019-06-14 11:21:53.493796494 +0200 zero-1.txt
-rw-r--r-- 1 peter peter 461 2019-06-14 11:32:40.142653833 +0200 zero-2.txt
-rw-r--r-- 1 peter peter 9147 2019-06-14 11:45:47.131170755 +0200 fdisk-1.txt
-rw-r--r-- 1 peter peter 1283 2019-06-14 11:47:44.166221913 +0200 fdisk-2.txt
-rw-r--r-- 1 peter peter 2859 2019-06-14 11:52:29.301655543 +0200 mkfs-1.txt
-rw-r--r-- 1 peter peter 378 2019-06-14 11:53:40.471510980 +0200 mkfs-2.txt
-rw-r--r-- 1 peter peter 8826 2019-06-14 11:56:21.687713979 +0200 mkfs-3.txt
drwxr-xr-x 2 peter peter 4096 2019-06-14 12:11:51.997539235 +0200 .
cassini/home/peter/bo/2019ss/bs/20190614> cp -pi mkfs-3.txt /media/sd-card/
cassini/home/peter/bo/2019ss/bs/20190614> ls -lart --full-time /media/sd-card/
insgesamt 184
drwxr-xr-x 10 root root 4096 2018-03-08 14:27:24.761256443 +0100 ..
-rwxr-xr-x 1 peter peter 156826 2019-06-14 10:53:34.000000000 +0200 test2.jpg
-rwxr-xr-x 1 peter peter 8826 2019-06-14 11:56:21.000000000 +0200 mkfs-3.txt
drwxr-xr-x 2 peter peter 16384 2019-06-14 12:13:15.000000000 +0200 .
cassini/home/peter/bo/2019ss/bs/20190614> /media/sd-card/test2.jpg
bash: /media/sd-card/test2.jpg: Keine Berechtigung
cassini/home/peter/bo/2019ss/bs/20190614> umount /media/sd-card
cassini/home/peter/bo/2019ss/bs/20190614> mount /media/sd-card
cassini/home/peter/bo/2019ss/bs/20190614> ls -lart --full-time /media/sd-card/
insgesamt 184
drwxr-xr-x 2 peter peter 16384 1970-01-01 01:00:00.000000000 +0100 .
drwxr-xr-x 10 root root 4096 2018-03-08 14:27:24.761256443 +0100 ..
-rwxr-xr-x 1 peter peter 156826 2019-06-14 10:53:34.000000000 +0200 test2.jpg
-rwxr-xr-x 1 peter peter 8826 2019-06-14 11:56:20.000000000 +0200 mkfs-3.txt
sudo cat /dev/sdd | hexdump -C | less
[...]
*
00108000 f8 ff ff ff 00 00 04 00 05 00 06 00 07 00 08 00 |................|
00108010 09 00 0a 00 0b 00 0c 00 0d 00 0e 00 0f 00 10 00 |................|
00108020 11 00 12 00 13 00 14 00 15 00 16 00 17 00 18 00 |................|
00108030 19 00 1a 00 1b 00 1c 00 1d 00 1e 00 1f 00 20 00 |.............. .|
00108040 21 00 22 00 23 00 24 00 25 00 26 00 27 00 28 00 |!.".#.$.%.&.'.(.|
00108050 29 00 2a 00 2b 00 2c 00 2d 00 2e 00 2f 00 30 00 |).*.+.,.-.../.0.| # File Allocation
00108060 31 00 32 00 33 00 34 00 35 00 36 00 37 00 38 00 |1.2.3.4.5.6.7.8.| # Table (FAT)
00108070 39 00 3a 00 3b 00 3c 00 3d 00 3e 00 3f 00 40 00 |9.:.;.<.=.>.?.@.|
00108080 41 00 42 00 43 00 44 00 45 00 46 00 47 00 48 00 |A.B.C.D.E.F.G.H.|
00108090 49 00 4a 00 4b 00 4c 00 4d 00 4e 00 4f 00 ff ff |I.J.K.L.M.N.O...|
001080a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
0010f800 42 37 00 2d 00 31 00 33 00 33 00 0f 00 c4 30 00 |B7.-.1.3.3....0.|
0010f810 32 00 35 00 2e 00 6a 00 70 00 00 00 67 00 00 00 |2.5...j.p...g...| # Inhaltsverzeichnis
0010f820 01 70 00 68 00 6f 00 74 00 6f 00 0f 00 c4 2d 00 |.p.h.o.t.o....-.|
0010f830 32 00 30 00 31 00 39 00 30 00 00 00 36 00 30 00 |2.0.1.9.0...6.0.|
0010f840 50 48 4f 54 4f 2d 7e 31 4a 50 47 20 00 64 99 36 |PHOTO-~1JPG .d.6|
0010f850 ce 4e ce 4e 00 00 d7 5b c7 4e 03 00 64 64 02 00 |.N.N...[.N..dd..|
0010f860 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00114000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 60 |......JFIF.....`|
00114010 00 60 00 00 ff fe 00 3e 43 52 45 41 54 4f 52 3a |.`.....>CREATOR:| # JPG-Datei
00114020 20 67 64 2d 6a 70 65 67 20 76 31 2e 30 20 28 75 | gd-jpeg v1.0 (u|
00114030 73 69 6e 67 20 49 4a 47 20 4a 50 45 47 20 76 36 |sing IJG JPEG v6|
00114040 32 29 2c 20 64 65 66 61 75 6c 74 20 71 75 61 6c |2), default qual|
00114050 69 74 79 0a ff db 00 43 00 08 06 06 07 06 05 08 |ity....C........|
00114060 07 07 07 09 09 08 0a 0c 14 0d 0c 0b 0b 0c 19 12 |................|
00114070 13 0f 14 1d 1a 1f 1e 1d 1a 1c 1c 20 24 2e 27 20 |........... $.' |
:
[...]
cassini/home/peter/bo/2019ss/bs/20190614> mount /media/sd-card/
cassini/home/peter/bo/2019ss/bs/20190614> ls -l /media/sd-card/
insgesamt 154
-rwxr-xr-x 1 peter peter 156772 Jun 7 13:30 photo-20190607-133025.jpg
cassini/home/peter/bo/2019ss/bs/20190614# ls -l /dev/zero
crw-rw-rw- 1 root root 1, 5 Apr 25 16:42 /dev/zero
cassini/home/peter/bo/2019ss/bs/20190614# cat /dev/zero
^C
cassini/home/peter/bo/2019ss/bs/20190614# cat /dev/zero > /dev/sdd
cat: Schreibfehler: Auf dem Gerät ist kein Speicherplatz mehr verfügbar
^C
cassini/home/peter/bo/2019ss/bs/20190614#
cassini/home/peter/bo/2019ss/bs/20190614# mount /media/sd-card/
mount: special device /dev/sdd1 does not exist
cassini/home/peter/bo/2019ss/bs/20190614# fdisk -l /dev/sdd
Disk /dev/sdd: 29,7 MiB, 31129600 bytes, 60800 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
cassini/home/peter/bo/2019ss/bs/20190614# dd if=/dev/zero of=/dev/sdd bs=1 count=31129600
31129600+0 Datensätze ein
31129600+0 Datensätze aus
31129600 Bytes (31 MB, 30 MiB) kopiert, 50,7742 s, 613 kB/s
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment