Re: [SLE] Addressing External USB Drive?
From: Neil Schneider (pacneil_at_linuxgeek.net)
Date: 06/11/04
- Previous message: Sid Boyce: "[SLE] RUTE- A Champion Linux Guide"
- In reply to: dmc: "[SLE] Addressing External USB Drive?"
- Next in thread: dmc: "Re: [SLE] Addressing External USB Drive?"
- Reply: dmc: "Re: [SLE] Addressing External USB Drive?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Jun 2004 16:42:09 -0700 (PDT) To: suse-linux-e@suse.com
dmc said:
> I have connected a Bytecc 3.5 HDD carrier containing a 80gig HDD
> set as Master to my Suse 9 notebook via the USB port.
>
> I think I see it via lsusb as the following
>
> Bus 001 Device 002: ID 067b:3507 Prolific Technology, Inc.
>
> After this I have no idea how to address the device.
>
> What I want to do is to dump the contents of my notebook HDD
> to the external drive so I may make a clean load of Suse 9.1
> to the notebook.
>
> Help, please?
Take a look at rsync.
Here's a short script I wrote for backing up a system to a USB drive.
It's not pretty but it works.
#!/bin/sh
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
LIST="/"
SPARDISK="/dev/sdb1"
EXCLUDE1="/media"
EXCLUDE2="/var/run"
MOUNT="/media/sdb1"
i=`/sbin/lsusb | grep Iomega`
if [ x"$i" = x ] ;
then
echo "Please plug in the external USB drive"
else
for d in $LIST; do
mount $SPAREDISK $MOUNT
rsync -ax --exclude $EXCLUDE1 --exclude $EXCLUDE2 $LIST $MOUNT
umount $MOUNT
done
fi
--
Neil Schneider pacneil_at_linuxgeek_dot_net
http://www.paccomp.com
Key fingerprint = 67F0 E493 FCC0 0A8C 769B 8209 32D7 1DB1 8460 C47D
Fires can't be made with dead embers, nor can enthusiasm be stirred by
spiritless men. Enthusiasm in our daily work lightens effort and turns
even labor into pleasant tasks. --James Baldwin
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Sid Boyce: "[SLE] RUTE- A Champion Linux Guide"
- In reply to: dmc: "[SLE] Addressing External USB Drive?"
- Next in thread: dmc: "Re: [SLE] Addressing External USB Drive?"
- Reply: dmc: "Re: [SLE] Addressing External USB Drive?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|