Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2015 13:02:34 +0900 (JST)
From:      maruyama@ism.ac.jp (=?ISO-2022-JP?B?GyRANF07M0Q+PjsbKEo=?=)
To:        hiroo.ono+freebsd@gmail.com
Cc:        freebsd-users-jp@freebsd.org
Subject:   [FreeBSD-users-jp 95464] Re: =?utf-8?b?U1NE44Kz44OU44O844Gn44OP44Oe44Gj44Gm44G+44GZ44CC?= =?utf-8?b?77yI6KW/5p2R77yJ?=
Message-ID:  <201502260402.t1Q42Ybt019231@paksa.ism.ac.jp>
In-Reply-To: <CANtk6SiB%2BEnchfR4XwhfCN=QBxHU6f4quUSNHusKh0st7Ef9fA@mail.gmail.com> (hiroo.ono%2Bfreebsd@gmail.com)

next in thread | previous in thread | raw e-mail | index | archive | help
$BE}7W?tM}8&5f=j$N4];3$G$9!#(B

>Date: Thu, 26 Feb 2015 11:51:46 +0900
>From: Hiroo Ono ($B>.Ln42@8(B)

>10.xR$B$G$O(B /dev/$B$J$s$A$c$i$O(B /dev $B$K(B devfs $B$r%^%&%s%H$7$F<+F0$G@8@.$5$l$k$N$G!"85$,(B10.1R$B$J$3$NNc$G$O(B
>/dev $B$N2<$O6u$J$O$:$G$9!#(B

$B$"!"$=$&$+!#;d$N(B 9.1$B$G(B umount $B$7$?%k!<%H%Q!<%F%#%7%g%s$K(B /dev/null $B$,(B
$B$"$C$?$N$G!"$=$l$G4*0c$$$7$F$7$^$C$?$h$&$G$9!#(B devd $B$,(B /dev $B$r%^%&%s%H(B
$B$9$k$N$G!"2<$K2?$,$"$C$F$b8+$($J$$(B($B4X78$J$$(B)$B$O$:$G$9$M!#(B

.... $B$G$b(B devd $B$,F0$-=P$9A0$K$I$l$+$N%W%m%;%9$,(B /dev/null $B$K%"%/%;%9$7(B
$B$?$i$I$&$J$k!)$$$d!"$$$/$i2?$G$b(BOS$B@_7W<T$O$=$s$J%X%^$d$C$F$$$J$$$G$7$g(B
$B$&$M!#(B($B0J>eFH$j8@(B)

>$B;d$b(B dump & restore ($B$+(B cpio? $B$&$m3P$($G$9(B) $B$G$J$$$H<:$o$l$kB0@-$,$"$k$h$H65$o$j$^$7$?$,!"(B
>$B$=$&$$$($P$$$^$I$-$N(B tar $B$G$=$N$"$?$jBg>fIW$J$N$+CN$j$^$;$s!#(B

$B$d$C$F$_$^$7$?$,!":#;~$N(B tar $B$O!"$=$NE@$+$J$j<eE@$,>/$J$/$J$C$F$$$k$h$&$K;W$$$^$9!#(B
FreeBSD 9.1 $B$G(B

# (cd /dev; tar cf - null)| (cd /tmp; tar xfp -)

# ( cd /; tar cf - rescue)| (cd /tmp; tar xfp -)

# (cd /usr; tar cf - lib)|(cd /tmp; tar xfp -)

$B$O$9$Y$FLdBj$O5/$3$j$^$;$s$G$7$?!#$D$^$j(B special file, hard link, schg
flag$B!"$9$Y$FCi<B$K%3%T!<$5$l$^$7$?!#(B

$B$=$l$G$b;d$O(B dump + restore $B$r4+$a$?$$$G$9!#$=$l$O(B /dev $B$N2<$N07$$$,(BOS
$B$N%P!<%8%g%s$K$h$C$F0[$J$C$F$$$F!"(B /dev $B$NItJ,$N%3%T!<$K$D$$$F!"(BOS$B%P!<(B
$B%8%g%sKh$NG[N8$,I,MW$K$J$k$+$i$G$9!#(B dump + restore $B$O!"(BSunOS4.1$B!"(B
Solaris 2.6, SunOS5.8, 5.9 5.10$B!"(B FreeBSD 1.x $B!A(B9.x $B$^$G!"$9$Y$FF1$8$h(B
$B$&$K;H$($^$9(B(linux$B$O;H$C$?$3$H$J$$$G$9(B)$B!#(B25$BG/4V$3$NJ}K!$r;H$C$F$$$^$9!#(B
tar $B$,$$$+$K?JJb$7$F$b!"$3$NMQES$G(Bdump + restore $B$r1[$($k$3$H$O$J$$$G(B
$B$7$g$&!#F1$8$K$J$k$3$H$O$"$C$F$b!#(B

$B@>B<$5$s$,(B dump + restore $B$G$&$^$/$$$+$J$+$C$?M}M3$O(B restore $B$N:n6HNN(B
$B0hITB-$,860x$@$m$&$HA[A|$7$^$9!#(BliveCD$B$G(BFreeBSD($B$K8B$i$:(BUNIX)$B$rF0$+$9(B
$B$H(B memory file system $B$K%k!<%H%Q!<%F%#%7%g%s$r:n$k$N$G!"4JC1$K%a%b%jIT(B
$BB-$H(B /tmp $BITB-$,5/$3$j$^$9!#$3$N;v>p$O(BSunOS4.1 $B$N;~Be$K$b$"$C$F!"(B 
restore $B$G$OB@8E$N@N$+$i(B TMPDIR $B$H$$$&4D6-JQ?t$G(B /tmp $B$NBe$o$j$N>l=j$r(B
$B;XDj$G$-$k$h$&$K$J$C$F$$$^$9!#(B

dump 0f - /dev/ada0p2 |(cd /tmp/x; env TMPDIR=/xxx/yyy restore rf -)

$B$H$$$&46$8!#$G$b%I%i%$%V$,Fs$D$7$+$J$/$F(B

>#mount /dev/ada0p2 /mnt
>#mount /dev/ada1p2 /tmp/x

$B$@$H(B

dump 0f - /dev/ada0p2 |(cd /tmp/x; env TMPDIR=/tmp/x restore rf -)

$B$b(B

dump 0f - /dev/ada0p2 |(cd /tmp/x; env TMPDIR=/mnt restore rf -)

$B$b!"$$$:$l$b622a$.$F$G$-$^$;$s$M!#$A$g$C$H9)IW$,I,MW$+$J!)(B

--------
$B4];3D>>;!wE}7W?tM}8&5f=j(B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502260402.t1Q42Ybt019231>