From: Vitaly Ostanin <vyt@vzljot.ru> To: ALT Devel discussion list <devel@altlinux.ru> Subject: [devel] Re: unionfsctl and dir creation Date: Tue, 03 May 2005 18:13:18 +0400 Message-ID: <427786FE.7050209@vzljot.ru> (raw) In-Reply-To: <42778155.2030105@altlinux.com> [-- Attachment #1: Type: text/plain, Size: 1402 bytes --] Anton Farygin пишет: > Vitaly Ostanin wrote: > > >>Здравствуйте. >> >>Скажите, после добавления rw бранча с помощью unionfsctl нужно >>воссоздавать структуру каталогов бранча? >> >>mkdir /mnt/usbroot >>mount -L usbroot /mnt/usbroot >>mkdir /mnt/usbroot/etc >>mkdir /mnt/usbroot/home >> >>Добавил c unionctl к /etc ещё /mnt/usbroot/etc >>к /home - /mnt/usbroot/home. >> >>Потом сделал >>touch /home/vyt/file >> >>После загрузку в рабочую систему на флешке появился >>/mnt/usbroot/etc/mtab >>а вот >>/mnt/usbroot/home/vyt/file >>не появился. >> >>Так вот, как правильно добавлять rw бранчи, чтобы сохранялись все >>изменения? > > > нужно делать именно то - забирать с предыдущего r/w branch'а все > изменения. Каким образом их забирать? Кстати, что именно считается изменением? При изменении содержимого файла в одном r/w branch он изменится в другом branch ? После следующего заклинания: mount -t unionfs -o dirs=/mnt/usbroot/home/vyt=rw:/home/vyt/temp/vyt=rw /mnt/usbroot/home/vyt /home/vyt/temp/vyt воссоздал в бранче на флешке структуру из временного каталога. Изменил пару строк в файле в temp, на флешке никаких изменений не нашёл. > Но имейте в виду, что в случае, если там были сокеты - может > быть кому-то плохо. Насколько плохо? Я хочу на флешке изменения /etc и /home носить - чем сокеты в них могут подгадить? <skipped/> -- Regards, Vyt mailto: vyt@vzljot.ru JID: vyt@vzljot.ru [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2005-05-03 14:13 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-04-30 15:39 [devel] " Vitaly Ostanin 2005-05-03 13:49 ` Anton Farygin 2005-05-03 14:13 ` Vitaly Ostanin [this message] 2005-05-04 5:48 ` [devel] " Anton Farygin 2005-05-04 8:46 ` Vitaly Ostanin
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=427786FE.7050209@vzljot.ru \ --to=vyt@vzljot.ru \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git