우리는 Unix를 포함하는 1985년경의 디스크를 가지고 있습니다. 하지만 우리는 Unix 유형을 모릅니다. 나는 다음 단계를 수행했습니다.
dd if=/dev/sdc of./all_of_disk.iso #sdc is the given disk
그 다음에:
hexdump -C all_of_disk.iso > hex.dump
grep -i sysv hex.dump
00000000 53 59 53 56 00 00 00 00 00 00 00 00 00 00 00 00 |SYSV............|
000ea4a0 00 00 53 59 53 56 00 00 00 00 00 00 00 00 00 00 |..SYSV..........|
00651130 5f 67 74 73 79 73 76 2e 6f 00 00 00 00 00 00 00 |_gtsysv.o.......|
00652000 00 00 02 00 67 74 73 79 73 76 00 00 00 00 13 5c |....gtsysv.....\|
00652010 00 01 00 00 02 00 63 70 73 79 73 76 00 00 00 00 |......cpsysv....|
00652580 65 6e 5f 73 79 73 76 5f 63 6f 75 6e 74 00 6f 70 |en_sysv_count.op|
00652590 65 6e 5f 73 79 73 76 5f 66 69 72 73 74 00 6f 70 |en_sysv_first.op|
006525a0 65 6e 5f 73 79 73 76 5f 6c 61 73 74 00 72 65 74 |en_sysv_last.ret|
007101c0 00 00 53 59 53 56 00 00 00 00 00 00 00 00 00 00 |..SYSV..........|
참고: 데이터의 첫 번째 단어는 SYSV입니다.
zgrep -i sysv /proc/config.gz
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_SYSV68_PARTITION=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_SYSV_FS=y
내 디스크:
fdisk -l ./all_of_disk.iso
Disk ./all_of_disk.iso: 550.5 MiB, 577241088 bytes, 1127424 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
parted ./all_of_disk.iso print
Error: /home/mohsen/all_of_disk.iso: unrecognised disk label
Model: (file)
Disk /home/mohsen/all_of_disk.iso: 577MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags:
문제: 디스크를 마운트해야 하는데 다음 오류가 발생합니다.
mount -o loop -t sysv ./all_of_disk.iso ./x/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
어떤 아이디어가 있나요?