From: Michail Yakushin <silicium@altlinux.ru> To: devel-ports@lists.altlinux.org Subject: Re: [devel-ports] бесполезный checking root filesystem Date: Thu, 15 Apr 2010 10:56:03 +0400 Message-ID: <4BC6B883.4070601@altlinux.ru> (raw) In-Reply-To: <90011271313717@web67.yandex.ru> 15.04.2010 10:41, Mike Lykov пишет: > Здравствуйте. > > продолжу тему оптимизации стартовых скриптов еще раз, на конкретном примере. > напомню - имеем нечто, что держит корневую систему на flash с ФС jffs2, ubifs и т.п. > но в пакете startup есть такой скрипт /etc/rc.d/rc.sysinit , который у меня _упорно_ хочет сделать > > Checking root filesystem > [/sbin/fsck.ext2 (1) -- /] fsck.ext2 -ay /dev/mtdblock2 > > вот обязательно ext2 ему подавай, и все тут. Почему только ext2 сейчас не помню, может он fstab читает или еще как, но в результате все равно: > The superblock could not be read or does not describe a correct ext2 > filesystem. > *** An error occurred during the file system check. > > и все вываливается, останавливаясь. > Это, конечно, обходится (костыльный такой workaround) параметром fastboot при загрузке ядра, но не всегда я об этом вспоминаю, > и все равно приходится исправлять параметры ядра (а при rootfs от angstrom, например, не надо). > > так как же сделать в пакете startup, глобально, навсегда в arm-архитектуре в репозитории, чтобы изначально этого дурацкого > Checking root filesystem > не было? он читает fstab. напишите правильный fstab с правильным указанием fs. > т.е. нужно не просто пересобрать пакет, а еще и изменить его для этой архитектуры, оставив для других старый? > (вопрос не в том, что делать лично мне, а в том, как устроить репозиторий). У меня есть ARM машины с корнем на ext.
next prev parent reply other threads:[~2010-04-15 6:56 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-04-15 6:41 Mike Lykov 2010-04-15 6:56 ` Michail Yakushin [this message] 2010-04-15 7:57 ` Mike Lykov 2010-04-15 8:06 ` Michail Yakushin 2010-04-15 8:17 ` Mike Lykov 2010-04-15 8:51 ` Michail Yakushin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4BC6B883.4070601@altlinux.ru \ --to=silicium@altlinux.ru \ --cc=devel-ports@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux architecture porting This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \ devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com public-inbox-index devel-ports Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-ports AGPL code for this site: git clone https://public-inbox.org/public-inbox.git