[SlimDevices: Unix] mounted external drive and suspend problem
I was able to succesfully mount my external drive that contains all my music onto the netbook that I'm using as my SB server. However, I have it set to suspend the system after a certain amoount of inactivity so that I can take advantage of the WOL ability of my SB Touch. Unfortunately, when it goes into suspend, it also unmounts the external drive. When it wakes up, the drive does not automatically re-mount itself to the proper partition. Using Ubuntu 10.4, SB 7.5.1 Any suggestions? -- dbinder101 dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997 View this thread: http://forums.slimdevices.com/showthread.php?t=80415 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] mounted external drive and suspend problem
I would suggest hacking a udev rule to fix the name of the usb device based on some recognizable characteristics, and mount it to some place in the filesystem. Alternatively you could use autofs to do the mounting part, if the drive gets swapped around a lot. To get you started I wrote 'here' (http://forums.slimdevices.com/showpost.php?p=456328postcount=7), 'there' (http://forums.slimdevices.com/showpost.php?p=495658postcount=18) and 'there' (http://forums.slimdevices.com/showthread.php?t=69926) again on the subject. I'm sure you can make a search in this forum and find some other advice. As I mentioned in some of my posts maybe there is an Ubuntu way, but I am not aware of it. (I use debian) -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=80415 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] mounted external drive and suspend problem
Thank you for your quick help. Unfortunately, this is way above my head. I tried creating a udev rule but it didn't seem to do anything different. Then I found some information about making sure the drive is being unmounted properly before going into suspend mode by using a file under /etc/acpi and adding an unmount command that is supposed to run before going into suspend mode. But I wasn't sure how to implement that either. Anyway, any other, simple solutions based on the unmount logic or any other way? Thanks again. -- dbinder101 dbinder101's Profile: http://forums.slimdevices.com/member.php?userid=36997 View this thread: http://forums.slimdevices.com/showthread.php?t=80415 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix