LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   openSuSE 12.3 auto mount USB (https://www.linuxquestions.org/questions/linux-newbie-8/opensuse-12-3-auto-mount-usb-4175533848/)

Jeff_Vader 02-12-2015 05:58 PM

openSuSE 12.3 auto mount USB
 
Hi
First post, hope this is in the right forum.

When I plug a USB key into my PC it appears in dolphin but isn't mounted until I click on it.

Running df at the command line doesn't show the USB key until I've clicked it in dolphin then I can access it via the command line.

I'm trying to find a way to automatically mount the key when I boot up.

I found a script that scans /dev/disk/by-label and mounts any disks it finds in to the correct location. This works great from the command line.

I tried adding it to /etc/init.d/boot.local but on a reboot it failed as the USB disk hadn't been detected when boot.local ran.

So where do I need to put this script so it will run when the machine has booted and the USB key has been detected by the OS?

The PC is unattended so I need to be sure that if its remotely rebooted the script is run so the key is mounted.

Thanks

John VV 02-12-2015 08:24 PM

if that opensuse 12.3 is not a typo
( it better be )

you have more problems that a usb

12.3 END OF LIFE as of last month

time to upgrade to OpenSUSE 13.2

Quote:

When I plug a USB key into my PC it appears in dolphin but isn't mounted until I click on it.
that sounds about right for the old and now unsupported kde DE in 12.3

Quote:

I'm trying to find a way to automatically mount the key when I boot up.
install the Current Opensuse13.2 and that is the DEFAULT

Jeff_Vader 02-13-2015 02:51 AM

Thanks for the reply.
Unfortunately this is 12.3! and I currently can't upgrade.
(local it manager issues)

Is there anyway I can get this to work with what I've got ?
Thanks


All times are GMT -5. The time now is 03:34 AM.