From: Michael Shigorin <mike@lic145.kiev.ua> To: mandrake-russian@altlinux.ru Subject: [mdk-re] Re: Монтирование раздела в домашний каталог Date: Thu Feb 21 13:46:17 2002 Message-ID: <20020221105007.GX1538@lic145.kiev.ua> (raw) In-Reply-To: <20020221111323.7323d235.spice@rbac.kharkov.ua> On Thu, Feb 21, 2002 at 11:13:23AM +0200, Stanislav Makarchuk wrote: > Есть 2 вопроса: > 1 Нужно подмонтировать в домашний каталог пользователя раздел > диска и дать ему право писать на этот раздел mount его /mnt/disk cp -ax /home/* /mnt/disk; umount /mnt/disk mount его_же /home все проверить, посмотреть, убедиться umount /home rm -rf /home/* # для того, чтоб на / место не занималось -- все равно # перекроется при mount echo "/dev/его /home какая_fs defaults 1 2" >> /etc/fstab mount /home > Может кто-нибудь подсказать, каким образом это можно сделать ? > Или где можно об этом почитать... man mount fstab /usr/share/doc/HOWTO/HTML/en/mini/Hard-Disk-Upgrade.html > 2. Случайно раздел диска с ext2 был отформатирован в raiserfs. > Можно ли как нибудь восстановить данные ? Увы, вряд ли :( Можете посмотреть /usr/share/doc/HOWTO/HTML/en/mini/Ext2fs-Undeletion.html /usr/share/doc/HOWTO/HTML/en/mini/Ext2fs-Undeletion-Dir-Struct.html и пакет recover, но если они не были бесценными -- труба. В любом случае сделайте dd if=этот_раздел of=/другой_раздел/файл.img с тем, чтобы был бэкап (только IIRC надо вручную размер задать -- bs=1k, count -- тж. см. fdisk)... Если там было что-то ценное -- пишите, я к вечеру вернусь, постараюсь подробнее. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ http://visa.chem.univ.kiev.ua/~mike/
prev parent reply other threads:[~2002-02-21 13:46 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-21 12:10 [mdk-re] " Stanislav Makarchuk 2002-02-21 12:17 ` Vyt 2002-02-21 13:46 ` Michael Shigorin [this message]
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=20020221105007.GX1538@lic145.kiev.ua \ --to=mike@lic145.kiev.ua \ --cc=mandrake-russian@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