Re: [SLE] Addressing External USB Drive?

From: Neil Schneider (pacneil_at_linuxgeek.net)
Date: 06/11/04

  • Next message: Matt Burke: "Re: [SLE] Re: Removing a YOU patch?"
    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
    

  • Next message: Matt Burke: "Re: [SLE] Re: Removing a YOU patch?"

    Relevant Pages

    • [SLE] USB Mouse
      ... After try Redhat, Mandriva then Suse, i choose Suse 9.3, all features included ... I have one problem in SUSE, i use notebook and USB Mouse ... But right now, everytime i turn on notebook, my USB mouse not functionally. ...
      (SuSE)
    • [SLE] Auto switch the mouse
      ... I've Suse running since some days in my Compaq Notebook. ... connect a USB Mouse to my notebook to be more confortable, ...
      (SuSE)
    • RE: [SLE] SuSE 9.1 and VMWare Workstation 4.5 work fine (sorta)
      ... You mentioned that you USB works for you on a XP guest VM running on a SuSE ... SuSE 9.1 and VMWare Workstation 4.5 work fine ... > archives at http://lists.suse.com Please read the FAQs: ...
      (SuSE)
    • RE: [SLE] Boot time excessive for clean SuSE 9.0 install
      ... So I disable the four USB 1.1 ports from the motherboard BIOS, ... So the I disable USB hotplugging with SuSE configuration to avoid my USB 2.0 ... I review the HOTPLUG docs in SuSE 9.0 - practically zilch. ...
      (SuSE)
    • Re: Problems after HomeNetworking Install ?
      ... > reception on my notebook and second PC. ... If any of you are familiar with Comcast the ... > Network, USB drives (small flash memory devices, 32MB, ... the USB drive is recognized. ...
      (microsoft.public.windowsxp.help_and_support)