View previous topic :: View next topic |
Author |
Message |
nosacciu Tux's lil' helper


Joined: 20 Feb 2006 Posts: 89 Location: Reggio Calabria, Italy
|
Posted: Mon Feb 27, 2006 4:35 pm Post subject: squashfs e portage [risolto] |
|
|
qualcuno ha mai fatto questo esperimento?! io lo sto facendo ma ho un serio problema come faccio a syncare pensavo di fare uno script in cui quando voglio syncare mi copia tutto in una directory (/tmp/sync) poi fa un mv /tmp/sync /usr/portage synca dopo di che rifa' tutta la procedura dello squashfs ma volevo sapere esiste un modo piu' semplice? _________________ Linux GentooBOX 2.6.14-gentoo-r7 #1 PREEMPT Sat Feb 18 13:15:07 GMT 2006 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
Last edited by nosacciu on Mon Feb 27, 2006 6:10 pm; edited 1 time in total |
|
Back to top |
|
 |
Sasdo Guru


Joined: 18 Feb 2004 Posts: 542 Location: 44.476474,11.644446 circa.
|
Posted: Mon Feb 27, 2006 4:39 pm Post subject: |
|
|
ciao, se fai una ricerca nel forum italiano c'è addirittura un howto per squashfs =) _________________ LinuxUser #362518
--
Ochei lo ammetto: il mio cervello lo tengo in frigo. |
|
Back to top |
|
 |
Luca89 Advocate


Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Mon Feb 27, 2006 4:41 pm Post subject: |
|
|
Sasdo wrote: | ciao, se fai una ricerca nel forum italiano c'è addirittura un howto per squashfs =) |
E c'è pure uno script che fa quello che vuoi fare tu, nosacciu. _________________ Running Fast! |
|
Back to top |
|
 |
nosacciu Tux's lil' helper


Joined: 20 Feb 2006 Posts: 89 Location: Reggio Calabria, Italy
|
Posted: Mon Feb 27, 2006 4:43 pm Post subject: |
|
|
Sasdo wrote: | ciao, se fai una ricerca nel forum italiano c'è addirittura un howto per squashfs =) |
sul forum italiano non c'e' nulla... se tu dici su google l'ho fatta funziona tutto ma non so come syncare avevo pensato a uno script del genere (lo posto magari puo' servire a qualcuno... se funziona poi lo provo e vi faccio sapere)
Quote: |
#!/bin/sh
mkdir /tmp/portage
cp -r /usr/portage/* /tmp/portage
umount /usr/portage
rmdir /usr/portage
mv /tmp/portage /usr/portage
emerge --sync
mksquashfs /usr/portage/ /root/portage -e distfiles packages
rm -r /usr/portage
mount /root/portage /usr/portage -o loop -t squashfs
|
_________________ Linux GentooBOX 2.6.14-gentoo-r7 #1 PREEMPT Sat Feb 18 13:15:07 GMT 2006 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux |
|
Back to top |
|
 |
Luca89 Advocate


Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
|
Back to top |
|
 |
nosacciu Tux's lil' helper


Joined: 20 Feb 2006 Posts: 89 Location: Reggio Calabria, Italy
|
Posted: Mon Feb 27, 2006 4:51 pm Post subject: |
|
|
sto con kernel 2.6.14 quindi niente unionfs comunque sto provando il mio scriptino vediamo come va ... tanto il mio portage originale è gia backuppato vi faccio sapere _________________ Linux GentooBOX 2.6.14-gentoo-r7 #1 PREEMPT Sat Feb 18 13:15:07 GMT 2006 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux |
|
Back to top |
|
 |
Luca89 Advocate


Joined: 27 Apr 2005 Posts: 2107 Location: Agrigento (Italy)
|
Posted: Mon Feb 27, 2006 5:09 pm Post subject: |
|
|
Io l'ho provato con il kernel 2.6.15 e funzionava unionfs. _________________ Running Fast! |
|
Back to top |
|
 |
nosacciu Tux's lil' helper


Joined: 20 Feb 2006 Posts: 89 Location: Reggio Calabria, Italy
|
Posted: Mon Feb 27, 2006 5:23 pm Post subject: |
|
|
Luca89 wrote: | Io l'ho provato con il kernel 2.6.15 e funzionava unionfs. |
se mi dici cosi' provo comunque quello scriptino non va _________________ Linux GentooBOX 2.6.14-gentoo-r7 #1 PREEMPT Sat Feb 18 13:15:07 GMT 2006 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux |
|
Back to top |
|
 |
|