| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Scott Ehrlich wrote:
> Clarification request - why rewind the tape after all dumps have
> completed? Wouldn't that be the same as using /dev/st0? If not,
> what's the difference?
>
> Thanks.
>
> Scott
If you're doing 10 dumps to the tape, you could use nst0 for the first 9
and then use st0 for the 10th. But that's less elegant, as seen below:
#! /bin/sh
export TAPE=/dev/nst0
for fs in /foo /bar /baz ; do
dump -0 $fs
done
mt rewoffl
vs
#! /bin/sh
export TAPE=/dev/nst0
for fs in /foo /bar ; do
dump -0 $fs
done
dump -0 -f /dev/st0 /baz
If you want to add /zoidberg to the list, and you have scripts with
dependencies on the order that the filesystems appear on the tapes,
then /zoidberg needs to be dumped after /baz. In the first case,
you could add it to the for... line, after /baz; in the latter, you'd have
to move /baz to the for... line, and replace /baz in the final dump line.
That's more complicated and error-prone.
--
John Abreau
IT Manager
Zuken USA
238 Littleton Rd., Suite 100
Westford, MA 01886
T: 978-392-1777 F: 978-692-4725
M: 978-764-8934
E: [hidden email] W: www.zuken.com
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
Discuss mailing list
[hidden email]
http://lists.blu.org/mailman/listinfo/discuss