Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA328 ; Sun, 31 Jan 93 14:03:13 EST Newsgroups: comp.unix.bsd Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!rpi!usenet.coe.montana.edu!gemini.oscs.montana.edu!osynw From: osynw@gemini.oscs.montana.edu (Nate Williams) Subject: Tar handling special devices (Was Re: Does anybody have a complete tar.Z file of filesystem?) Message-ID: <1993Jan30.234734.12067@coe.montana.edu> Keywords: n Sender: usenet@coe.montana.edu (USENET News System) Organization: Montana State University References: <wagner.985.728099462@main.mndly.umn.edu> <1993Jan29.161226.966@sci34hub.sci.com> Date: Sat, 30 Jan 1993 23:47:34 GMT Lines: 57 In article <1993Jan29.161226.966@sci34hub.sci.com> gary@sci34hub.sci.com (Gary Heston) writes: >Considering that tar doesn't handle the device entries in /dev/*, you're >probably not going to find any such image. Huh?? What *nix have you been using? Tar has been able to handle character/block special devices for as long as I can remember. Script started on Sat Jan 30 16:41:13 1993 root:/dev # pwd /dev root:/dev # ls -al *wd1* crw-r----- 1 root 3, 8 Jul 22 1992 rwd1a crw-r----- 1 root 3, 9 Jul 22 1992 rwd1b crw-r----- 1 root 3, 10 Jul 22 1992 rwd1c crw-r----- 1 root 3, 11 Jul 22 1992 rwd1d crw-r----- 1 root 3, 12 Jul 22 1992 rwd1e crw-r----- 1 root 3, 13 Jul 22 1992 rwd1f crw-r----- 1 root 3, 14 Jul 22 1992 rwd1g crw-r----- 1 root 3, 15 Jul 22 1992 rwd1h brw-r----- 1 root 0, 8 Jul 22 1992 wd1a brw-r----- 1 root 0, 9 Jul 22 1992 wd1b brw-r----- 1 root 0, 10 Jul 22 1992 wd1c brw-r----- 1 root 0, 11 Jul 22 1992 wd1d brw-r----- 1 root 0, 12 Jul 22 1992 wd1e brw-r----- 1 root 0, 13 Jul 22 1992 wd1f brw-r----- 1 root 0, 14 Jul 22 1992 wd1g brw-r----- 1 root 0, 15 Jul 22 1992 wd1h root:/dev # tar cf /tmp/wd1_dev.tar *wd1* root:/dev # cd /tmp root:/tmp # mki[Kdir dev root:/tmp # cd dev root:/tmp/dev # tar xf /tmp/wd1_dev.tar root:/tmp/dev # ls -al *wd1* crw-r----- 1 root 3, 8 Jul 22 1992 rwd1a crw-r----- 1 root 3, 9 Jul 22 1992 rwd1b crw-r----- 1 root 3, 10 Jul 22 1992 rwd1c crw-r----- 1 root 3, 11 Jul 22 1992 rwd1d crw-r----- 1 root 3, 12 Jul 22 1992 rwd1e crw-r----- 1 root 3, 13 Jul 22 1992 rwd1f crw-r----- 1 root 3, 14 Jul 22 1992 rwd1g crw-r----- 1 root 3, 15 Jul 22 1992 rwd1h brw-r----- 1 root 0, 8 Jul 22 1992 wd1a brw-r----- 1 root 0, 9 Jul 22 1992 wd1b brw-r----- 1 root 0, 10 Jul 22 1992 wd1c brw-r----- 1 root 0, 11 Jul 22 1992 wd1d brw-r----- 1 root 0, 12 Jul 22 1992 wd1e brw-r----- 1 root 0, 13 Jul 22 1992 wd1f brw-r----- 1 root 0, 14 Jul 22 1992 wd1g brw-r----- 1 root 0, 15 Jul 22 1992 wd1h root:/tmp/dev # Script done on Sat Jan 30 16:41:54 1993 -- osynw@terra.oscs.montana.edu | A hacker w/out a home. work: (406) 994-5991 | Keeper of the Unofficial 386BSD Bug Report home: (406) 586-0579 | Please send bugs and/or fixes you find.