From d734abec83120a834e30b7221c926cdd051d387c Mon Sep 17 00:00:00 2001 From: Peter Gerwinski <peter.gerwinski@hs-bochum.de> Date: Mon, 2 May 2022 15:00:58 +0200 Subject: [PATCH] Notizen, Beispiele und Screenshots 2.5.2022 --- 20220502/bs-20220502.txt | 3 ++ 20220502/filesystems-1.txt | 14 ++++++++ 20220502/filesystems-10.txt | 12 +++++++ 20220502/filesystems-11.txt | 5 +++ 20220502/filesystems-12.txt | 11 +++++++ 20220502/filesystems-13.txt | 13 ++++++++ 20220502/filesystems-14.txt | 62 +++++++++++++++++++++++++++++++++++ 20220502/filesystems-15.txt | 64 +++++++++++++++++++++++++++++++++++++ 20220502/filesystems-16.txt | 11 +++++++ 20220502/filesystems-17.txt | 40 +++++++++++++++++++++++ 20220502/filesystems-18.txt | 20 ++++++++++++ 20220502/filesystems-19.txt | 42 ++++++++++++++++++++++++ 20220502/filesystems-2.txt | 11 +++++++ 20220502/filesystems-3.txt | 5 +++ 20220502/filesystems-4.txt | 8 +++++ 20220502/filesystems-5.txt | 42 ++++++++++++++++++++++++ 20220502/filesystems-6.txt | 43 +++++++++++++++++++++++++ 20220502/filesystems-7.txt | 42 ++++++++++++++++++++++++ 20220502/filesystems-8.txt | 43 +++++++++++++++++++++++++ 20220502/filesystems-9.txt | 21 ++++++++++++ 20220502/read-1.c | 10 ++++++ 20220502/read-2.c | 10 ++++++ 20220502/read-3.c | 10 ++++++ 20220502/read-4.c | 11 +++++++ 20220502/read-5.c | 11 +++++++ 20220502/read-6.c | 11 +++++++ 20220502/read-7.c | 12 +++++++ 27 files changed, 587 insertions(+) create mode 100644 20220502/bs-20220502.txt create mode 100644 20220502/filesystems-1.txt create mode 100644 20220502/filesystems-10.txt create mode 100644 20220502/filesystems-11.txt create mode 100644 20220502/filesystems-12.txt create mode 100644 20220502/filesystems-13.txt create mode 100644 20220502/filesystems-14.txt create mode 100644 20220502/filesystems-15.txt create mode 100644 20220502/filesystems-16.txt create mode 100644 20220502/filesystems-17.txt create mode 100644 20220502/filesystems-18.txt create mode 100644 20220502/filesystems-19.txt create mode 100644 20220502/filesystems-2.txt create mode 100644 20220502/filesystems-3.txt create mode 100644 20220502/filesystems-4.txt create mode 100644 20220502/filesystems-5.txt create mode 100644 20220502/filesystems-6.txt create mode 100644 20220502/filesystems-7.txt create mode 100644 20220502/filesystems-8.txt create mode 100644 20220502/filesystems-9.txt create mode 100644 20220502/read-1.c create mode 100644 20220502/read-2.c create mode 100644 20220502/read-3.c create mode 100644 20220502/read-4.c create mode 100644 20220502/read-5.c create mode 100644 20220502/read-6.c create mode 100644 20220502/read-7.c diff --git a/20220502/bs-20220502.txt b/20220502/bs-20220502.txt new file mode 100644 index 0000000..1a5d5df --- /dev/null +++ b/20220502/bs-20220502.txt @@ -0,0 +1,3 @@ +Dateisysteme, 02.05.2022, 12:45:10 +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +FAT-Dateisysteme: https://de.wikipedia.org/wiki/File_Allocation_Table diff --git a/20220502/filesystems-1.txt b/20220502/filesystems-1.txt new file mode 100644 index 0000000..71ef73c --- /dev/null +++ b/20220502/filesystems-1.txt @@ -0,0 +1,14 @@ +cassini/home/peter/bo/2022ss/bs/20220502> mount /media/usb1/ +Sie haben Post in /var/mail/peter. +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /media/usb1/ +insgesamt 0 +cassini/home/peter/bo/2022ss/bs/20220502> echo "Dies ist ein Test." > /media/usb1/test.txt +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /media/usb1/ +insgesamt 4 +-rwxr-xr-x 1 peter peter 19 Mai 2 12:46 test.txt +cassini/home/peter/bo/2022ss/bs/20220502> cat /media/usb1/test.txt +Dies ist ein Test. +cassini/home/peter/bo/2022ss/bs/20220502> umount /media/usb1 +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /media/usb1/ +insgesamt 0 +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/filesystems-10.txt b/20220502/filesystems-10.txt new file mode 100644 index 0000000..9a99d1b --- /dev/null +++ b/20220502/filesystems-10.txt @@ -0,0 +1,12 @@ +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /dev/zero +crw-rw-rw- 1 root root 1, 5 Mär 15 18:48 /dev/zero +cassini/home/peter/bo/2022ss/bs/20220502> cat /dev/zero | hexdump -C | head -20 +^C +cassini/home/peter/bo/2022ss/bs/20220502> dd if=/dev/zero bs=1024 count=1 | hexdump -C +00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +1+0 Datensätze ein +1+0 Datensätze aus +* +00000400 +1024 bytes (1,0 kB, 1,0 KiB) copied, 6,6155e-05 s, 15,5 MB/s +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/filesystems-11.txt b/20220502/filesystems-11.txt new file mode 100644 index 0000000..9f8d998 --- /dev/null +++ b/20220502/filesystems-11.txt @@ -0,0 +1,5 @@ +cassini/home/peter/bo/2022ss/bs/20220502> cat /dev/zero > /dev/sdb +bash: /dev/sdb: Keine Berechtigung +cassini/home/peter/bo/2022ss/bs/20220502> sudo cat /dev/zero > /dev/sdb +bash: /dev/sdb: Keine Berechtigung +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/filesystems-12.txt b/20220502/filesystems-12.txt new file mode 100644 index 0000000..df0ead6 --- /dev/null +++ b/20220502/filesystems-12.txt @@ -0,0 +1,11 @@ +cassini/home/peter/bo/2022ss/bs/20220502# dd if=/dev/sdb bs=1024 count=1024 | hexdump -C 00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00100000 +1024+0 Datensätze ein +1024+0 Datensätze aus +1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,121808 s, 8,6 MB/s +cassini/home/peter/bo/2022ss/bs/20220502# mount /media/usb1/ +mount: /media/usb1: special device /dev/sdb1 does not exist. +cassini/home/peter/bo/2022ss/bs/20220502# mount /media/usb0 +mount: /media/usb0: wrong fs type, bad option, bad superblock on /dev/sdb, missing codepage or helper program, or other error. +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-13.txt b/20220502/filesystems-13.txt new file mode 100644 index 0000000..ec7c6b0 --- /dev/null +++ b/20220502/filesystems-13.txt @@ -0,0 +1,13 @@ +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /dev/sdb* +brw-rw---- 1 root disk 8, 16 Mai 2 13:22 /dev/sdb +cassini/home/peter/bo/2022ss/bs/20220502# echo "Dies ist ein Test." > /dev/sdb +cassini/home/peter/bo/2022ss/bs/20220502# dd if=/dev/sdb bs=1024 count=1024 | hexdump -C +00000000 44 69 65 73 20 69 73 74 20 65 69 6e 20 54 65 73 |Dies ist ein Tes| +00000010 74 2e 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 |t...............| +00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00100000 +1024+0 Datensätze ein +1024+0 Datensätze aus +1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,123712 s, 8,5 MB/s +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-14.txt b/20220502/filesystems-14.txt new file mode 100644 index 0000000..e6b0d43 --- /dev/null +++ b/20220502/filesystems-14.txt @@ -0,0 +1,62 @@ +cassini/home/peter/bo/2022ss/bs/20220502# mkdosfs /dev/sdb +mkfs.fat 4.1 (2017-01-24) +attribute "partition" not found +cassini/home/peter/bo/2022ss/bs/20220502# dd if=/dev/sdb bs=1024 count=1024 | hexdump -C +00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000010 02 00 00 00 00 f8 00 00 3e 00 81 00 00 00 00 00 |........>.......| +00000020 00 d0 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000040 80 00 29 27 b7 d9 08 4e 4f 20 4e 41 4d 45 20 20 |..)'...NO NAME | +00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +000000e0 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 52 52 61 41 00 00 00 00 00 00 00 00 00 00 00 00 |RRaA............| +00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000003e0 00 00 00 00 72 72 41 61 31 92 0f 00 02 00 00 00 |....rrAa1.......| +000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000c00 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000c10 02 00 00 00 00 f8 00 00 3e 00 81 00 00 00 00 00 |........>.......| +00000c20 00 d0 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000c30 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000c40 80 00 29 27 b7 d9 08 4e 4f 20 4e 41 4d 45 20 20 |..)'...NO NAME | +00000c50 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000c60 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000c70 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000c80 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000c90 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +00000ca0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +00000cb0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +00000cc0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +00000cd0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +00000ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000df0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00004000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f 00 00 00 00 |................| +00004010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00100000 +1024+0 Datensätze ein +1024+0 Datensätze aus +1048576 bytes (1,0 MB, 1,0 MiB) copied, 0,121888 s, 8,6 MB/s +cassini/home/peter/bo/2022ss/bs/20220502# mount /media/usb0 +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /media/usb0/ +insgesamt 8 +drwxr-xr-x 2 root root 4096 Jan 1 1970 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +cassini/home/peter/bo/2022ss/bs/20220502# echo "Dies ist ein Test." > /media/usb0/test.txt +cassini/home/peter/bo/2022ss/bs/20220502# umount /media/usb0 +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-15.txt b/20220502/filesystems-15.txt new file mode 100644 index 0000000..51e53e6 --- /dev/null +++ b/20220502/filesystems-15.txt @@ -0,0 +1,64 @@ +cassini/home/peter/bo/2022ss/bs/20220502# dd if=/dev/sdb bs=1024 count=40960 | hexdump -C 00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000010 02 00 00 00 00 f8 00 00 3e 00 81 00 00 00 00 00 |........>.......| +00000020 00 d0 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000040 80 00 29 27 b7 d9 08 4e 4f 20 4e 41 4d 45 20 20 |..)'...NO NAME | +00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +000000e0 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 52 52 61 41 00 00 00 00 00 00 00 00 00 00 00 00 |RRaA............| +00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000003e0 00 00 00 00 72 72 41 61 30 92 0f 00 03 00 00 00 |....rrAa0.......| +000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000c00 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000c10 02 00 00 00 00 f8 00 00 3e 00 81 00 00 00 00 00 |........>.......| +00000c20 00 d0 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000c30 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000c40 80 00 29 27 b7 d9 08 4e 4f 20 4e 41 4d 45 20 20 |..)'...NO NAME | +00000c50 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000c60 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000c70 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000c80 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000c90 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +00000ca0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +00000cb0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +00000cc0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +00000cd0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +00000ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000df0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00004000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f ff ff ff 0f |................| +00004010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +003e9000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f ff ff ff 0f |................| +003e9010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007ce000 41 74 00 65 00 73 00 74 00 2e 00 0f 00 8f 74 00 |At.e.s.t......t.| +007ce010 78 00 74 00 00 00 ff ff ff ff 00 00 ff ff ff ff |x.t.............| +007ce020 54 45 53 54 20 20 20 20 54 58 54 20 00 64 cf 5b |TEST TXT .d.[| +007ce030 a2 54 a2 54 00 00 cf 5b a2 54 03 00 13 00 00 00 |.T.T...[.T......| +007ce040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007cf000 44 69 65 73 20 69 73 74 20 65 69 6e 20 54 65 73 |Dies ist ein Tes| +007cf010 74 2e 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 |t...............| +007cf020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +02800000 +40960+0 Datensätze ein +40960+0 Datensätze aus +41943040 bytes (42 MB, 40 MiB) copied, 3,92683 s, 10,7 MB/s +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-16.txt b/20220502/filesystems-16.txt new file mode 100644 index 0000000..1028779 --- /dev/null +++ b/20220502/filesystems-16.txt @@ -0,0 +1,11 @@ +cassini/home/peter/bo/2022ss/bs/20220502# cp -pi ../common/os-layers-5.jpg /media/usb0/ +cp: der Eigentümer für '/media/usb0/os-layers-5.jpg' konnte nicht beibehalten werden: Die Operation ist nicht erlaubt +cassini/home/peter/bo/2022ss/bs/20220502# ls -l ../common/os-layers-5.jpg +-rw-r--r-- 1 peter peter 54499 Mai 4 2015 ../common/os-layers-5.jpg +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /media/usb0/ +insgesamt 68 +drwxr-xr-x 2 root root 4096 Mai 2 14:03 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +-rwxr-xr-x 1 root root 54499 Mai 4 2015 os-layers-5.jpg +-rwxr-xr-x 1 root root 19 Mai 2 13:30 test.txt +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-17.txt b/20220502/filesystems-17.txt new file mode 100644 index 0000000..8f0d8c2 --- /dev/null +++ b/20220502/filesystems-17.txt @@ -0,0 +1,40 @@ +00004000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f ff ff ff 0f |................| +00004010 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 |................| +00004020 09 00 00 00 0a 00 00 00 0b 00 00 00 0c 00 00 00 |................| +00004030 0d 00 00 00 0e 00 00 00 0f 00 00 00 10 00 00 00 |................| +00004040 11 00 00 00 ff ff ff 0f 00 00 00 00 00 00 00 00 |................| +00004050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +003e9000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f ff ff ff 0f |................| +003e9010 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 |................| +003e9020 09 00 00 00 0a 00 00 00 0b 00 00 00 0c 00 00 00 |................| +003e9030 0d 00 00 00 0e 00 00 00 0f 00 00 00 10 00 00 00 |................| +003e9040 11 00 00 00 ff ff ff 0f 00 00 00 00 00 00 00 00 |................| +003e9050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007ce000 41 74 00 65 00 73 00 74 00 2e 00 0f 00 8f 74 00 |At.e.s.t......t.| +007ce010 78 00 74 00 00 00 ff ff ff ff 00 00 ff ff ff ff |x.t.............| +007ce020 54 45 53 54 20 20 20 20 54 58 54 20 00 64 cf 5b |TEST TXT .d.[| +007ce030 a2 54 a2 54 00 00 cf 5b a2 54 03 00 13 00 00 00 |.T.T...[.T......| +007ce040 42 70 00 67 00 00 00 ff ff ff ff 0f 00 0e ff ff |Bp.g............| +007ce050 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |................| +007ce060 01 6f 00 73 00 2d 00 6c 00 61 00 0f 00 0e 79 00 |.o.s.-.l.a....y.| +007ce070 65 00 72 00 73 00 2d 00 35 00 00 00 2e 00 6a 00 |e.r.s.-.5.....j.| +007ce080 4f 53 2d 4c 41 59 7e 31 4a 50 47 20 00 00 78 60 |OS-LAY~1JPG ..x`| +007ce090 a2 54 a2 54 00 00 a2 43 a4 46 04 00 e3 d4 00 00 |.T.T...C.F......| +007ce0a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007cf000 44 69 65 73 20 69 73 74 20 65 69 6e 20 54 65 73 |Dies ist ein Tes| +007cf010 74 2e 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 |t...............| +007cf020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007d0000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 |......JFIF.....H| +007d0010 00 48 00 00 ff e1 00 80 45 78 69 66 00 00 4d 4d |.H......Exif..MM| +007d0020 00 2a 00 00 00 08 00 04 01 1a 00 05 00 00 00 01 |.*..............| +007d0030 00 00 00 3e 01 1b 00 05 00 00 00 01 00 00 00 46 |...>...........F| +007d0040 01 28 00 03 00 00 00 01 00 02 00 00 87 69 00 04 |.(...........i..| +007d0050 00 00 00 01 00 00 00 4e 00 00 00 00 00 00 00 48 |.......N.......H| +007d0060 00 00 00 01 00 00 00 48 00 00 00 01 00 03 90 00 |.......H........| +007d0070 00 07 00 00 00 04 30 32 31 30 a0 00 00 07 00 00 |......0210......| +007d0080 00 04 30 31 30 30 a0 01 00 03 00 00 00 01 ff ff |..0100..........| +007d0090 00 00 00 00 00 00 ff e1 02 88 68 74 74 70 3a 2f |..........http:/| diff --git a/20220502/filesystems-18.txt b/20220502/filesystems-18.txt new file mode 100644 index 0000000..03a4a73 --- /dev/null +++ b/20220502/filesystems-18.txt @@ -0,0 +1,20 @@ +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /media/usb0/ +insgesamt 68 +drwxr-xr-x 2 root root 4096 Jan 1 1970 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +-rwxr-xr-x 1 root root 54499 Mai 4 2015 os-layers-5.jpg +-rwxr-xr-x 1 root root 19 Mai 2 13:30 test.txt +cassini/home/peter/bo/2022ss/bs/20220502# rm /media/usb0/test.txt +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /media/usb0/ +insgesamt 64 +drwxr-xr-x 2 root root 4096 Mai 2 14:13 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +-rwxr-xr-x 1 root root 54499 Mai 4 2015 os-layers-5.jpg +cassini/home/peter/bo/2022ss/bs/20220502# cp -pi ../common/Operating_system_placement-de.svg /media/usb0/ +cp: der Eigentümer für '/media/usb0/Operating_system_placement-de.svg' konnte nicht beibehalten werden: Die Operation ist nicht erlaubt +cassini/home/peter/bo/2022ss/bs/20220502# ls -l /media/usb0/ insgesamt 84 +drwxr-xr-x 2 root root 4096 Mai 2 14:14 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +-rwxr-xr-x 1 root root 17312 Okt 5 2013 Operating_system_placement-de.svg +-rwxr-xr-x 1 root root 54499 Mai 4 2015 os-layers-5.jpg +cassini/home/peter/bo/2022ss/bs/20220502# diff --git a/20220502/filesystems-19.txt b/20220502/filesystems-19.txt new file mode 100644 index 0000000..1a38659 --- /dev/null +++ b/20220502/filesystems-19.txt @@ -0,0 +1,42 @@ +00004000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f 00 00 00 00 |................| +00004010 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 |................| +00004020 09 00 00 00 0a 00 00 00 0b 00 00 00 0c 00 00 00 |................| +00004030 0d 00 00 00 0e 00 00 00 0f 00 00 00 10 00 00 00 |................| +00004040 11 00 00 00 ff ff ff 0f 13 00 00 00 14 00 00 00 |................| +00004050 15 00 00 00 16 00 00 00 ff ff ff 0f 00 00 00 00 |................| +00004060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +003e9000 f8 ff ff 0f ff ff ff 0f f8 ff ff 0f 00 00 00 00 |................| +003e9010 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 |................| +003e9020 09 00 00 00 0a 00 00 00 0b 00 00 00 0c 00 00 00 |................| +003e9030 0d 00 00 00 0e 00 00 00 0f 00 00 00 10 00 00 00 |................| +003e9040 11 00 00 00 ff ff ff 0f 13 00 00 00 14 00 00 00 |................| +003e9050 15 00 00 00 16 00 00 00 ff ff ff 0f 00 00 00 00 |................| +003e9060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007ce000 e5 74 00 65 00 73 00 74 00 2e 00 0f 00 8f 74 00 |.t.e.s.t......t.| +007ce010 78 00 74 00 00 00 ff ff ff ff 00 00 ff ff ff ff |x.t.............| +007ce020 e5 45 53 54 20 20 20 20 54 58 54 20 00 64 cf 5b |.EST TXT .d.[| +007ce030 a2 54 a2 54 00 00 cf 5b a2 54 03 00 13 00 00 00 |.T.T...[.T......| +007ce040 42 70 00 67 00 00 00 ff ff ff ff 0f 00 0e ff ff |Bp.g............| +007ce050 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |................| +007ce060 01 6f 00 73 00 2d 00 6c 00 61 00 0f 00 0e 79 00 |.o.s.-.l.a....y.| +007ce070 65 00 72 00 73 00 2d 00 35 00 00 00 2e 00 6a 00 |e.r.s.-.5.....j.| +007ce080 4f 53 2d 4c 41 59 7e 31 4a 50 47 20 00 00 78 60 |OS-LAY~1JPG ..x`| +007ce090 a2 54 a2 54 00 00 a2 43 a4 46 04 00 e3 d4 00 00 |.T.T...C.F......| +007ce0a0 43 2d 00 64 00 65 00 2e 00 73 00 0f 00 51 76 00 |C-.d.e...s...Qv.| +007ce0b0 67 00 00 00 ff ff ff ff ff ff 00 00 ff ff ff ff |g...............| +007ce0c0 02 74 00 65 00 6d 00 5f 00 70 00 0f 00 51 6c 00 |.t.e.m._.p...Ql.| +007ce0d0 61 00 63 00 65 00 6d 00 65 00 00 00 6e 00 74 00 |a.c.e.m.e...n.t.| +007ce0e0 01 4f 00 70 00 65 00 72 00 61 00 0f 00 51 74 00 |.O.p.e.r.a...Qt.| +007ce0f0 69 00 6e 00 67 00 5f 00 73 00 00 00 79 00 73 00 |i.n.g._.s...y.s.| +007ce100 4f 50 45 52 41 54 7e 31 53 56 47 20 00 64 c6 61 |OPERAT~1SVG .d.a| +007ce110 a2 54 87 54 00 00 8a 5c 45 43 12 00 a0 43 00 00 |.T.T...\EC...C..| +007ce120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007cf000 44 69 65 73 20 69 73 74 20 65 69 6e 20 54 65 73 |Dies ist ein Tes| +007cf010 74 2e 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 |t...............| +007cf020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +007d0000 ff d8 ff e0 00 10 4a 46 49 46 00 01 01 01 00 48 |......JFIF.....H| +007d0010 00 48 00 00 ff e1 00 80 45 78 69 66 00 00 4d 4d |.H......Exif..MM| diff --git a/20220502/filesystems-2.txt b/20220502/filesystems-2.txt new file mode 100644 index 0000000..2b715a1 --- /dev/null +++ b/20220502/filesystems-2.txt @@ -0,0 +1,11 @@ +cassini/home/peter/bo/2022ss/bs/20220502> mount /media/usb1 +mount: /media/usb1: special device /dev/sdb1 does not exist. +cassini/home/peter/bo/2022ss/bs/20220502> mount /media/usb1 +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /media/usb1/ +insgesamt 4 +-rwxr-xr-x 1 peter peter 19 Mai 2 12:46 test.txt +cassini/home/peter/bo/2022ss/bs/20220502> rm /media/usb1/test.txt +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /media/usb1/ +insgesamt 0 +cassini/home/peter/bo/2022ss/bs/20220502> umount /media/usb1 +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/filesystems-3.txt b/20220502/filesystems-3.txt new file mode 100644 index 0000000..6c9129e --- /dev/null +++ b/20220502/filesystems-3.txt @@ -0,0 +1,5 @@ +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /dev/sdb1 +ls: Zugriff auf '/dev/sdb1' nicht möglich: Datei oder Verzeichnis nicht gefunden +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /dev/sdb1 +brw-rw---- 1 root disk 8, 17 Mai 2 12:50 /dev/sdb1 +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/filesystems-4.txt b/20220502/filesystems-4.txt new file mode 100644 index 0000000..8c22f8a --- /dev/null +++ b/20220502/filesystems-4.txt @@ -0,0 +1,8 @@ +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /dev/sdb1 +brw-rw---- 1 root disk 8, 17 Mai 2 12:50 /dev/sdb1 +cassini/home/peter/bo/2022ss/bs/20220502> +cassini/home/peter/bo/2022ss/bs/20220502> less /dev/sdb1 +/dev/sdb1 is not a regular file (use -f to see it) +cassini/home/peter/bo/2022ss/bs/20220502> less -f /dev/sdb1 +/dev/sdb1: Keine Berechtigung +cassini/home/peter/bo/2022ss/bs/20220502> sudo less -f /dev/sdb1 diff --git a/20220502/filesystems-5.txt b/20220502/filesystems-5.txt new file mode 100644 index 0000000..7d15398 --- /dev/null +++ b/20220502/filesystems-5.txt @@ -0,0 +1,42 @@ +<EB>X<90>mkfs.fat^@^B^H ^@^B^@^@^@^@<F8>^@^@>^@<81>^@^@^H^@^@^@<C8>|^@(^_^@^@^@^@^@^@^B^@^@^@ +^A^@^F^@^@^@^@^@^@^@^@^@^@^@^@^@<80>^A)_Q3<C0>NO NAME FAT32 ^N^_<BE>w|<AC>"<C0>t^KV<B4> +^N<BB>^G^@<CD>^P^<EB><F0>2<E4><CD>^V<CD>^Y<EB><FE>This is not a bootable disk. Please insert + a bootable floppy and +press any key to try again ... +^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ +^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ +^@^@^@^@^@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^@^@^@^@^@^@^@^@^@^@^@ +^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ +^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ diff --git a/20220502/filesystems-6.txt b/20220502/filesystems-6.txt new file mode 100644 index 0000000..85f28a1 --- /dev/null +++ b/20220502/filesystems-6.txt @@ -0,0 +1,43 @@ +00000000 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000010 02 00 00 00 00 f8 00 00 3e 00 81 00 00 08 00 00 |........>.......| +00000020 00 c8 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000040 80 01 29 5f 51 33 c0 4e 4f 20 4e 41 4d 45 20 20 |..)_Q3.NO NAME | +00000050 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000060 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000070 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000080 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000090 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +000000a0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +000000b0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +000000c0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +000000d0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +000000e0 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 52 52 61 41 00 00 00 00 00 00 00 00 00 00 00 00 |RRaA............| +00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +000003e0 00 00 00 00 72 72 41 61 31 91 0f 00 83 7e 0a 00 |....rrAa1....~..| +000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000c00 eb 58 90 6d 6b 66 73 2e 66 61 74 00 02 08 20 00 |.X.mkfs.fat... .| +00000c10 02 00 00 00 00 f8 00 00 3e 00 81 00 00 08 00 00 |........>.......| +00000c20 00 c8 7c 00 28 1f 00 00 00 00 00 00 02 00 00 00 |..|.(...........| +00000c30 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +00000c40 80 00 29 5f 51 33 c0 4e 4f 20 4e 41 4d 45 20 20 |..)_Q3.NO NAME | +00000c50 20 20 46 41 54 33 32 20 20 20 0e 1f be 77 7c ac | FAT32 ...w|.| +00000c60 22 c0 74 0b 56 b4 0e bb 07 00 cd 10 5e eb f0 32 |".t.V.......^..2| +00000c70 e4 cd 16 cd 19 eb fe 54 68 69 73 20 69 73 20 6e |.......This is n| +00000c80 6f 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 64 69 |ot a bootable di| +00000c90 73 6b 2e 20 20 50 6c 65 61 73 65 20 69 6e 73 65 |sk. Please inse| +00000ca0 72 74 20 61 20 62 6f 6f 74 61 62 6c 65 20 66 6c |rt a bootable fl| +00000cb0 6f 70 70 79 20 61 6e 64 0d 0a 70 72 65 73 73 20 |oppy and..press | +00000cc0 61 6e 79 20 6b 65 79 20 74 6f 20 74 72 79 20 61 |any key to try a| +00000cd0 67 61 69 6e 20 2e 2e 2e 20 0d 0a 00 00 00 00 00 |gain ... .......| +00000ce0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* +00000df0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.| +00000e00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| +* diff --git a/20220502/filesystems-7.txt b/20220502/filesystems-7.txt new file mode 100644 index 0000000..42618d3 --- /dev/null +++ b/20220502/filesystems-7.txt @@ -0,0 +1,42 @@ +007ce000 e5 74 00 65 00 73 00 74 00 2e 00 0f 00 8f 74 00 |.t.e.s.t......t.| +007ce010 78 00 74 00 00 00 ff ff ff ff 00 00 ff ff ff ff |x.t.............| +007ce020 e5 45 53 54 20 20 20 20 54 58 54 20 00 64 c0 55 |.EST TXT .d.U| +007ce030 a2 54 a2 54 0a 00 c0 55 a2 54 83 7e 13 00 00 00 |.T.T...U.T.~....| +007ce040 e5 20 00 31 00 39 00 37 00 39 00 0f 00 af 20 00 |. .1.9.7.9.... .| +007ce050 33 04 2e 00 29 00 2d 00 54 00 00 00 47 00 52 00 |3...).-.T...G.R.| +007ce060 e5 39 04 20 00 22 04 30 04 40 04 0f 00 af 3a 04 |.9. .".0.@....:.| +007ce070 3e 04 32 04 41 04 3a 04 38 04 00 00 39 04 2c 00 |>.2.A.:.8...9.,.| +007ce080 e5 30 04 2c 00 20 00 40 04 35 04 0f 00 af 36 04 |.0.,. .@.5....6.| +007ce090 2e 00 20 00 10 04 3d 04 34 04 00 00 40 04 35 04 |.. ...=.4...@.5.| +007ce0a0 e5 48 00 44 00 2c 00 20 00 44 04 0f 00 af 30 04 |.H.D.,. .D....0.| +007ce0b0 3d 04 42 04 30 04 41 04 42 04 00 00 38 04 3a 04 |=.B.0.A.B...8.:.| +007ce0c0 e5 21 04 42 04 30 04 3b 04 3a 04 0f 00 af 35 04 |.!.B.0.;.:....5.| +007ce0d0 40 04 20 00 28 00 46 00 75 00 00 00 6c 00 6c 00 |@. .(.F.u...l.l.| +007ce0e0 e5 5f 5f 5f 5f 5f 7e 31 56 54 54 20 00 00 03 ab |._____~1VTT ....| +007ce0f0 8a 54 8a 54 05 00 03 ab 8a 54 f5 d8 8b 4e 01 00 |.T.T.....T...N..| +007ce100 e5 74 00 74 00 00 00 ff ff ff ff 0f 00 8f ff ff |.t.t............| +007ce110 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |................| +007ce120 e5 44 00 59 00 70 00 43 00 6d 00 0f 00 8f 4d 00 |.D.Y.p.C.m....M.| +007ce130 63 00 4d 00 2e 00 66 00 72 00 00 00 2e 00 76 00 |c.M...f.r.....v.| +007ce140 e5 20 00 31 00 39 00 37 00 39 00 0f 00 8f 20 00 |. .1.9.7.9.... .| +007ce150 33 04 2e 00 29 00 2d 00 54 00 00 00 47 00 52 00 |3...).-.T...G.R.| +007ce160 e5 39 04 20 00 22 04 30 04 40 04 0f 00 8f 3a 04 |.9. .".0.@....:.| +007ce170 3e 04 32 04 41 04 3a 04 38 04 00 00 39 04 2c 00 |>.2.A.:.8...9.,.| +007ce180 e5 30 04 2c 00 20 00 40 04 35 04 0f 00 8f 36 04 |.0.,. .@.5....6.| +007ce190 2e 00 20 00 10 04 3d 04 34 04 00 00 40 04 35 04 |.. ...=.4...@.5.| +007ce1a0 e5 48 00 44 00 2c 00 20 00 44 04 0f 00 8f 30 04 |.H.D.,. .D....0.| +007ce1b0 3d 04 42 04 30 04 41 04 42 04 00 00 38 04 3a 04 |=.B.0.A.B...8.:.| +007ce1c0 e5 21 04 42 04 30 04 3b 04 3a 04 0f 00 8f 35 04 |.!.B.0.;.:....5.| +007ce1d0 40 04 20 00 28 00 46 00 75 00 00 00 6c 00 6c 00 |@. .(.F.u...l.l.| +007ce1e0 e5 5f 5f 5f 5f 5f 7e 32 56 54 54 20 00 64 03 ab |._____~2VTT .d..| +007ce1f0 8a 54 8a 54 05 00 03 ab 8a 54 0a d9 17 30 01 00 |.T.T.....T...0..| +007ce200 e5 74 00 74 00 00 00 ff ff ff ff 0f 00 6f ff ff |.t.t.........o..| +007ce210 ff ff ff ff ff ff ff ff ff ff 00 00 ff ff ff ff |................| +007ce220 e5 44 00 59 00 70 00 43 00 6d 00 0f 00 6f 4d 00 |.D.Y.p.C.m...oM.| +007ce230 63 00 4d 00 2e 00 65 00 6e 00 00 00 2e 00 76 00 |c.M...e.n.....v.| +007ce240 e5 20 00 31 00 39 00 37 00 39 00 0f 00 6f 20 00 |. .1.9.7.9...o .| +007ce250 33 04 2e 00 29 00 2d 00 54 00 00 00 47 00 52 00 |3...).-.T...G.R.| +007ce260 e5 39 04 20 00 22 04 30 04 40 04 0f 00 6f 3a 04 |.9. .".0.@...o:.| +007ce270 3e 04 32 04 41 04 3a 04 38 04 00 00 39 04 2c 00 |>.2.A.:.8...9.,.| +007ce280 e5 30 04 2c 00 20 00 40 04 35 04 0f 00 6f 36 04 |.0.,. .@.5...o6.| +007ce290 2e 00 20 00 10 04 3d 04 34 04 00 00 40 04 35 04 |.. ...=.4...@.5.| diff --git a/20220502/filesystems-8.txt b/20220502/filesystems-8.txt new file mode 100644 index 0000000..8236fae --- /dev/null +++ b/20220502/filesystems-8.txt @@ -0,0 +1,43 @@ +007cf450 23 23 23 23 0a 0a 23 20 4a 75 73 74 20 66 6f 72 |####..# Just for| +007cf460 20 72 65 66 65 72 65 6e 63 65 20 61 6e 64 20 73 | reference and s| +007cf470 63 72 69 70 74 73 2e 20 0a 23 20 4f 6e 20 44 65 |cripts. .# On De| +007cf480 62 69 61 6e 20 73 79 73 74 65 6d 73 2c 20 74 68 |bian systems, th| +007cf490 65 20 6d 61 69 6e 20 62 69 6e 61 72 79 20 69 73 |e main binary is| +007cf4a0 20 69 6e 73 74 61 6c 6c 65 64 20 61 73 20 65 78 | installed as ex| +007cf4b0 69 6d 34 20 74 6f 20 61 76 6f 69 64 0a 23 20 63 |im4 to avoid.# c| +007cf4c0 6f 6e 66 6c 69 63 74 73 20 77 69 74 68 20 74 68 |onflicts with th| +007cf4d0 65 20 65 78 69 6d 20 33 20 70 61 63 6b 61 67 65 |e exim 3 package| +007cf4e0 73 2e 0a 65 78 69 6d 5f 70 61 74 68 20 3d 20 2f |s..exim_path = /| +007cf4f0 75 73 72 2f 73 62 69 6e 2f 65 78 69 6d 34 0a 0a |usr/sbin/exim4..| +007cf500 23 20 4d 61 63 72 6f 20 64 65 66 69 6e 69 6e 67 |# Macro defining| +007cf510 20 74 68 65 20 6d 61 69 6e 20 63 6f 6e 66 69 67 | the main config| +007cf520 75 72 61 74 69 6f 6e 20 64 69 72 65 63 74 6f 72 |uration director| +007cf530 79 2e 0a 23 20 57 65 20 64 6f 20 6e 6f 74 20 75 |y..# We do not u| +007cf540 73 65 20 61 62 73 6f 6c 75 74 65 20 70 61 74 68 |se absolute path| +007cf550 73 2e 0a 2e 69 66 6e 64 65 66 20 43 4f 4e 46 44 |s...ifndef CONFD| +007cf560 49 52 0a 43 4f 4e 46 44 49 52 20 3d 20 2f 65 74 |IR.CONFDIR = /et| +007cf570 63 2f 65 78 69 6d 34 0a 2e 65 6e 64 69 66 0a 0a |c/exim4..endif..| +007cf580 23 20 64 65 62 63 6f 6e 66 2d 64 72 69 76 65 6e |# debconf-driven| +007cf590 20 6d 61 63 72 6f 20 64 65 66 69 6e 69 74 69 6f | macro definitio| +007cf5a0 6e 73 20 67 65 74 20 69 6e 73 65 72 74 65 64 20 |ns get inserted | +007cf5b0 61 66 74 65 72 20 74 68 69 73 20 6c 69 6e 65 0a |after this line.| +007cf5c0 55 50 45 58 34 43 6d 61 63 72 6f 73 55 50 45 58 |UPEX4CmacrosUPEX| +007cf5d0 34 43 20 3d 20 31 0a 0a 23 20 43 72 65 61 74 65 |4C = 1..# Create| +007cf5e0 20 64 6f 6d 61 69 6e 20 61 6e 64 20 68 6f 73 74 | domain and host| +007cf5f0 20 6c 69 73 74 73 20 66 6f 72 20 72 65 6c 61 79 | lists for relay| +007cf600 20 63 6f 6e 74 72 6f 6c 0a 23 20 27 40 27 20 72 | control.# '@' r| +007cf610 65 66 65 72 73 20 74 6f 20 27 74 68 65 20 6e 61 |efers to 'the na| +007cf620 6d 65 20 6f 66 20 74 68 65 20 6c 6f 63 61 6c 20 |me of the local | +007cf630 68 6f 73 74 27 0a 0a 23 20 4c 69 73 74 20 6f 66 |host'..# List of| +007cf640 20 64 6f 6d 61 69 6e 73 20 63 6f 6e 73 69 64 65 | domains conside| +007cf650 72 65 64 20 6c 6f 63 61 6c 20 66 6f 72 20 65 78 |red local for ex| +007cf660 69 6d 2e 20 44 6f 6d 61 69 6e 73 20 6e 6f 74 20 |im. Domains not | +007cf670 6c 69 73 74 65 64 20 68 65 72 65 0a 23 20 6e 65 |listed here.# ne| +007cf680 65 64 20 74 6f 20 62 65 20 64 65 6c 69 76 65 72 |ed to be deliver| +007cf690 61 62 6c 65 20 72 65 6d 6f 74 65 6c 79 2e 0a 64 |able remotely..d| +007cf6a0 6f 6d 61 69 6e 6c 69 73 74 20 6c 6f 63 61 6c 5f |omainlist local_| +007cf6b0 64 6f 6d 61 69 6e 73 20 3d 20 4d 41 49 4e 5f 4c |domains = MAIN_L| +007cf6c0 4f 43 41 4c 5f 44 4f 4d 41 49 4e 53 0a 0a 23 20 |OCAL_DOMAINS..# | +007cf6d0 4c 69 73 74 20 6f 66 20 72 65 63 69 70 69 65 6e |List of recipien| +007cf6e0 74 20 64 6f 6d 61 69 6e 73 20 74 6f 20 72 65 6c |t domains to rel| +007cf6f0 61 79 20 5f 74 6f 5f 2e 20 55 73 65 20 74 68 69 |ay _to_. Use thi| diff --git a/20220502/filesystems-9.txt b/20220502/filesystems-9.txt new file mode 100644 index 0000000..10e5654 --- /dev/null +++ b/20220502/filesystems-9.txt @@ -0,0 +1,21 @@ +cassini/home/peter/bo/2022ss/bs/20220502> mount /media/usb1/ +cassini/home/peter/bo/2022ss/bs/20220502> ls -la /media/usb1 +insgesamt 8 +drwxr-xr-x 2 peter peter 4096 Jan 1 1970 . +drwxr-xr-x 17 root root 4096 Dez 4 2020 .. +cassini/home/peter/bo/2022ss/bs/20220502> ls -l /dev/sd* +brw-rw---- 1 root disk 8, 0 Mär 15 18:48 /dev/sda +brw-rw---- 1 root disk 8, 1 Mär 15 18:48 /dev/sda1 +brw-rw---- 1 root disk 8, 2 Mär 15 18:48 /dev/sda2 +brw-rw---- 1 root disk 8, 3 Mär 15 18:48 /dev/sda3 +brw-rw---- 1 root disk 8, 16 Mai 2 12:50 /dev/sdb +brw-rw---- 1 root disk 8, 17 Mai 2 12:50 /dev/sdb1 +cassini/home/peter/bo/2022ss/bs/20220502> mkdosfs /dev/sdb1 +bash: mkdosfs: Kommando nicht gefunden. +cassini/home/peter/bo/2022ss/bs/20220502> sudo mkdosfs /dev/sdb1 +mkfs.fat 4.1 (2017-01-24) +mkdosfs: /dev/sdb1 contains a mounted filesystem. +cassini/home/peter/bo/2022ss/bs/20220502> umount /media/usb1 +cassini/home/peter/bo/2022ss/bs/20220502> sudo mkdosfs /dev/sdb1 +mkfs.fat 4.1 (2017-01-24) +cassini/home/peter/bo/2022ss/bs/20220502> diff --git a/20220502/read-1.c b/20220502/read-1.c new file mode 100644 index 0000000..1c15969 --- /dev/null +++ b/20220502/read-1.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +int main (void) +{ + int a = 0; + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", &a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-2.c b/20220502/read-2.c new file mode 100644 index 0000000..0ed4feb --- /dev/null +++ b/20220502/read-2.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +int main (void) +{ + int a = 0; + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-3.c b/20220502/read-3.c new file mode 100644 index 0000000..8d2ee49 --- /dev/null +++ b/20220502/read-3.c @@ -0,0 +1,10 @@ +#include <stdio.h> + +int main (void) +{ + int a = &a; + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-4.c b/20220502/read-4.c new file mode 100644 index 0000000..ae544d7 --- /dev/null +++ b/20220502/read-4.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int main (void) +{ + int a = &a; + printf ("a = %d, &a = %d\n", a, &a); + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-5.c b/20220502/read-5.c new file mode 100644 index 0000000..86e674e --- /dev/null +++ b/20220502/read-5.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int main (void) +{ + int a = &a; + printf ("a = %ld, &a = %ld\n", a, &a); + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-6.c b/20220502/read-6.c new file mode 100644 index 0000000..75f096e --- /dev/null +++ b/20220502/read-6.c @@ -0,0 +1,11 @@ +#include <stdio.h> + +int main (void) +{ + int a = &a; + printf ("a = %ld, &a = %ld, &a == a = %d\n", a, &a, &a == a); + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} diff --git a/20220502/read-7.c b/20220502/read-7.c new file mode 100644 index 0000000..e564a6b --- /dev/null +++ b/20220502/read-7.c @@ -0,0 +1,12 @@ +#include <stdio.h> +#include <stdint.h> + +int main (void) +{ + uint64_t a = &a; + printf ("a = %lld, &a = %lld, &a == a = %d\n", a, &a, &a == a); + printf ("Bitte eine Zahl eingeben: "); + scanf ("%d", a); + printf ("Ihre Zahl lautete: %d\n", a); + return 0; +} -- GitLab