ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] смонтировать initrd образ в режиме RW
Date: Fri, 16 May 2003 15:40:52 +0400
Message-ID: <20030516114051.GB21992@vcserver.mivlgu.local> (raw)
In-Reply-To: <200305161600.00663.combr@vesna.ru>

On Fri, May 16, 2003 at 16:00:00 +0500, Mike Lykov wrote:
> мне надо в существующий образ initrd вставить драйвер.
> 
> делаю :
> gzip -dc /boot/initrd-up.img > /tmp/initrd.ext2
> mount -o loop /tmp/initrd.ext2 /mnt/initrd
> 
> в результате получаю в директории /mnt/initrd образ с директориями как надо, 
> но почему-то RO...
> т.е. при 
> cp file /mnt/initrd/file 
> получаю 
> 
> "невозможно создать обычный файл - Read-only filesystem"
> 
> хотя mount говорит
> 
> /tmp/initrd.ext2 on /mnt/initrd rype romfs (rw, loop=/dev/loop0)
> 
> ничего не понимаю - тут rw, там реально ro... чего не хватает?

romfs по своей сути read-only - её можно создать и заполнить файлами
только через genromfs.


  parent reply	other threads:[~2003-05-16 11:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-16 11:00 Mike Lykov
2003-05-16 11:19 ` Mike Lykov
2003-05-16 11:40 ` Sergey Vlasov [this message]
2003-05-16 12:07 ` Владимир

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=20030516114051.GB21992@vcserver.mivlgu.local \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git