Mailinglist Archive: opensuse-factory (670 mails)

< Previous Next >
Re: [opensuse-factory] USB assignment
  • From: "Andrew Joakimsen" <joakimsen@xxxxxxxxx>
  • Date: Sun, 28 Sep 2008 04:12:57 -0400
  • Message-id: <23fd749a0809280112j55e1949arc234032ef26baff5@xxxxxxxxxxxxxx>
On Sat, Sep 27, 2008 at 6:07 PM, Robert Lewis <bob.l.lewis@xxxxxxxxx> wrote:
I realize that this is probably the wrong list to be writing this.
However, it would seem like something to make more user
friendly unless I am being foolish with such a question.

I have a USB drive that I use to backup my important files to
where the USB drive has an ext filesystem. I wrote a script
to do the backup but I find that when I plug in the USB drive
it doesn't always end up as the same device so my script
fails or needs changing each time to reflect where the drive
went. Yes, it's obviously a mountable drive.

When I plug it in my SUSE 11.0 pops up a screen saying it noticed
the device and asks me if I want to open it. That works.
Then I know where it is and can point my script to it.
However, I want to have my program figure it out or have
a specific USB port reserved for this purpose.


I've been needing to do something similar. I haven't tried anything at
all yet, but predicted the situation you describe. I found this method
rather interesting [1], maybe you can adapt some or all of it to fit
your needs.

[1] http://andri.dk/tech/linux/usb-backup
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
References