LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2015, 04:58 PM   #1
Jeff_Vader
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
Question 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
 
Old 02-12-2015, 07:24 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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
 
Old 02-13-2015, 01:51 AM   #3
Jeff_Vader
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using OpenSuSE 11.3...how do I auto-mount my two optical drives? cbjhawks SUSE / openSUSE 1 03-21-2011 08:21 AM
Auto mount USB drive to specified mount point after reboot smallbook Linux - Server 7 07-21-2010 04:40 AM
Auto-mount usb flash without any DE TweeKane Debian 8 12-04-2008 10:22 AM
Auto-mount USB device satimis Linux - General 1 10-07-2006 11:37 PM
Auto Mount Floppy/CD/USB Asificare Red Hat 2 08-29-2003 09:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration