You are not logged in.
I think it's probably been encountered before but I'm looking for a foolproof solution, which googling has thus far not found.
I have a 1TB External Harddrive which i use to store all my media on.
I use MPD, which starts automatically on boot, therefore if my HDD is not mounted it cannot find the songs and well, it's a hassle mounting the HDD from terminal and fixing my musicdb.
I'm basically looking for a way of mounting the drive later than fstab, but hopefully before the MDB server starts up.
I use just Openbox as my WM, with no DE - so I wondered whether I could somehow mount it from ~/.config/openbox/autostart.sh - Although this will be run by my normal user and not root? So maybe it wouldn't work.
Any thoughts appreciated
Offline
I normally don't start up my mpd in rc.conf at all.
I just have a shortcut in openbox which simply starts mpd and then sonata together
mpd && sonata
That way a single keybinding canget your music player started.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I had a similar problem on a computer that did everything slowly and wouldn't boot the external drive via fstab.
I solved it by essentially re-fstab'ing from the /etc/rc.local file after the real ftstab ran.
/etc/rc.local
/bin/mount -a
Bob
Last edited by Hrod beraht (2009-03-21 00:18:44)
Offline
I have the same problem and get around it with the following in /etc/rc.local
# Backup plan to mount external home.
mount -t xfs /dev/disk/by-uuid/85e95c7b-5c4e-40d0-b53f-480401b3766a /home
This gets home available before I need it, but not part of the normal mounting of /etc/fstab base file systems....
It would be nice to have a good fix for USB drives.
Russ
Offline
I had a similar problem on a computer that did everything slowly and wouldn't boot the external drive via fstab.
I solved it by essentially re-fstab'ing from the /etc/rc.local file after the real ftstab ran./etc/rc.local
/bin/mount -a
Bob
Seems to have worked, cheers.
Offline