>> Edit article
이름
제목
패스워드
NAME e2fsck - check a Linux second extended file system SYNOPSIS e2fsck [ -pacnyrdfvstFSV ] [ -b superblock ] [ -B blocksize ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j external-journal ] device DESCRIPTION e2fsck is used to check a Linux second extended file system (e2fs). E2fsck also supports ext2 filesystems countaining a journal, which are also sometimes known as ext3 filesystems. device is the device file where the filesystem is stored (e.g. /dev/hdc1). OPTIONS -a This option does the same thing as the -p option. It is provided for backwards compatibility only; it is suggested that people use -p option whenever possible. -b superblock Instead of using the normal superblock, use an alternative superblock specified by superblock. This option is normally used when the primary superblock has been corrupted. The location of the backup superblock is dependent on the filesystem's blocksize. For filesys- tems with 1k blocksizes, a backup superblock can be found at block 8193; for filesystems with 2k blocksizes, at block 16384; and for 4k blocksizes, at block 32768. Additional backup superblocks can be determined by using the mke2fs program using the -n option to print out where the superblocks were created. The -b option to mke2fs, which specifies blocksize of the filesystem must be specified in order for the superblock locations that are printed out to be accurate. If an alternative superblock is specified and the filesystem is not opened read-only, e2fsck will make sure that the primary superblock is updated appropriately upon completion of the filesystem check. 이건 man e2fsck 를 하면 나오는 내용입니다. mkfs 를 하실때 보면 슈퍼블럭 위치가 몇개 써지는데요 제생각에 (위에도 있듯이) alternative superblock 이라는게 있습니다. 슈퍼블럭을 백업한거죠. 1K 블럭사이즈 하드는 8193에 또다른 슈퍼블럭이 존재한다고 하네요. 보통 1K 블럭 사이즈를 사용하니깐 아마 8193에 다른게 하나 있을 듯 하네요 이걸 한번 참고해 보세요. 결과는 저도 해본적 없어서 모르겠네요. 가능하다면 결과좀 알려주세요 ^^ (결과가 궁금해서) 그럼 성공하시길 ^^
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved