[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed Jan 19 15:19:34 2005 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevfgbcure Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Making a backup with tar -->
- <li><em>date</em>: Wed Jan 19 15:19:34 2005</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Christopher Fowler)</li>
- <li><em>in-reply-to</em>: <<a href="msg00764.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00736.html">[email protected]</a>> <<a href="msg00749.html">[email protected]</a>> <<a href="msg00756.html">[email protected]</a>> <<a href="msg00764.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Making a backup with tar</li>
tar: /sys/class/netlink/skip/dev: File shrank by 0 bytes; padding with
zeros
tar: /sys/class/netlink/route/dev: File shrank by 3072 bytes; padding
with zeros
Maybe one of my command-line options is negating the use of -l ?
On Wed, 2005-01-19 at 14:39, Stephan Uphoff wrote:
> On Wed, 2005-01-19 at 14:21, Christopher Fowler wrote:
> > I tried the -l option and it seemed that tar did not understand that
> > /sys was a different filesystem. I saw it walking that directory trying
> > to add those files. /sys is sysfs.
>
> Works on my laptop.
>
> sunburn:/# tar clvf /dev/null ./
> ./sys/
> tar: ./sys/: file is on a different filesystem; not dumped
>
>
> sunburn:/# stat /
> File: `/'
> Size: 4096 Blocks: 8 IO Block: 4096 directory
> Device: 302h/770d Inode: 2 Links: 21
> Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
> Access: 2004-05-05 07:35:04.000000000 -0400
> Modify: 2004-05-13 11:51:46.000000000 -0400
> Change: 2004-05-13 11:51:46.000000000 -0400
>
> sunburn:/# stat /sys/
> File: `/sys/'
> Size: 0 Blocks: 0 IO Block: 4096 directory
> Device: 0h/0d Inode: 1 Links: 8
> Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
> Access: 2005-01-19 14:26:21.000000000 -0500
> Modify: 2005-01-11 12:32:29.000000000 -0500
> Change: 2005-01-11 12:32:29.000000000 -0500
>
> sunburn:/# uname -a
> Linux sunburn 2.6.5 #1 Mon May 3 17:45:45 EDT 2004 i686 GNU/Linux
>
> sunburn:/# tar --version
> tar (GNU tar) 1.13.93
> Copyright (C) 2003 Free Software Foundation, Inc.
> This program comes with NO WARRANTY, to the extent permitted by law.
> You may redistribute it under the terms of the GNU General Public
> License;
> see the file named COPYING for details.
> Written by John Gilmore and Jay Fenlason.
>
> >
> > On Wed, 2005-01-19 at 13:56, Stephan Uphoff wrote:
> > > --preserve on extraction always worked for me.
> > >
> > > I recommend creating a backup file per file system with -l or
> > > --one-file-system using a relative path.
> > >
> > > (cd / ; tar cjvlf tarfile1.bz2 ./)
> > > (cd /usr ; tar cjvlf tarfile2.bz2 ./)
> > >
> > > makes it easier to install from bare metal.
> > >
> > >
> > > On Wed, 2005-01-19 at 12:46, Christopher Fowler wrote:
> > > > I'm trying to create a file system backup using 'tar -cjpsvf
> > > > /bu/full.tar.bz2 /bin /boot /opt /home ...'. When I extract the files
> > > > they are all owned by root. Should I use the '--same-owner' option on
> > > > extraction?
> > > >
> > > > Chris
> > > >
> > > >
> > > > _______________________________________________
> > > > Ale mailing list
> > > > Ale at ale.org
> > > > <a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
> > > >
> > > >
> >
> >
> >
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00771" href="msg00771.html">[ale] Making a backup with tar</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00736" href="msg00736.html">[ale] Making a backup with tar</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00749" href="msg00749.html">[ale] Making a backup with tar</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
<li><strong><a name="00756" href="msg00756.html">[ale] Making a backup with tar</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00764" href="msg00764.html">[ale] Making a backup with tar</a></strong>
<ul><li><em>From:</em> ups at tree.com (Stephan Uphoff)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00768.html">[ale] OT: HTML, Forms and Buttons?</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00770.html">[ale] Upgrade hell</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00764.html">[ale] Making a backup with tar</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00771.html">[ale] Making a backup with tar</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00769"><strong>Date</strong></a></li>
<li><a href="threads.html#00769"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>