Thanks oldfred. What I did was I reinstalled the system / root partition on the first raid array using the Ubuntu Server installer. It re-installed grub correctly. What I think happened was I had...
Type: Posts; User: kiplingw; Keyword(s):
Thanks oldfred. What I did was I reinstalled the system / root partition on the first raid array using the Ubuntu Server installer. It re-installed grub correctly. What I think happened was I had...
Hey forum,
I have UEFI disabled in the BIOS. I have two RAID1 arrays. One for boot / root and the other for home. I installed Ubuntu Server 17.10 successfully on the RAID1 arrays.
I was...
"The free-software project marked a milestone with the release of Avaneya: Viking Lander Remastered," (Georgia Straight). More.
Friends,
Avaneya is a cerebral science fiction game set on Mars currently under active development (GPLv3). It combines the perfect blend of the metropolis city builder social simulation, real...
It's definitely possible to copy itself to tmp and execute the copy with the idea that it would relieve the device it was hosted on from being locked. I had considered that route, but then I figured...
Right, but how will you know if the "exec eject" command completed successfully? As soon as it's run, execution leaves the script and never returns again, so there is no way to check eject's exit...
Hey Schragge. I had thought about that already and isn't the problem that control never "returns" from the conditional's evaluation in the then since the exec it calls replaces the process space?
That's one approach, but I think a problem with it is it won't be very elegant if, say, the script doesn't need to wait that long, or the script ends up taking a little longer than that.
It would be nice if the script were not locking the device and control could return to the script after the eject command. But I guess that is not so straightforward.
I guess what I'm confused about is how exec works. As I understand it, it takes over execution of the current process with nothing further of the original script being executed after it. The reason...
Hey schragge. Thanks for the heads up. I was actually missing that package.
Got it, thanks =)
The problem with that is I need just the directory and not the directory and the file name....
Thanks Slavik, but that's a given. It should have gone without saying that I wasn't satisfied with the man page.
Thanks folks. This is what I've come up with based on some of the feedback and researching a bit more BASH.
# Eject the media only if we are running off of removable media......
Hey forum,
Is there a recommended approach for a Bash script to find at runtime the device which contains the mount which contains the running script? I have a script which runs off of a removable...
I am using Python 3 with GObject introspection to create a Vte.Terminal widget. Up to date and reliable documentation on this widget is scarce. If one uses the fork_command_full() method to create a...
Yes, that could be. The syntax is quite cumbersome.
I don't know why, but suddenly this seems to work now. I could have sworn I had tried this already. Regardless, thanks for the bash refresher.
The loop I was showing you was not my actual problem code, but just a minimal. I believe I've also tried the syntax you mentioned, but maybe I missed something.
The problem code is here. An...
Vaphell, I understand that. As I've said three times now, I need to preserve the script's arguments and cannot rely on them being implicitly available through the shorthand for loop notation. As soon...
Hey Vaphell. Maybe I'm missing something, but I believe I've already tried what you are saying:
#!/usr/bin/env bash
Arguments=( "$@" )
for Index in "${Arguments}"
do
echo $Index
done
Hey Vaphell. The problem is I need to preserve the arguments to the script because I need to pass them on to an inferior process later. That is why I need to keep the Arguments variable. I can't...
Hey forum,
I'm having a problem with Bash and my head is sore from banging it against my desk. All I am trying to do is have my shell script preserve the arguments passed to it and then pass those...
Thanks dFlyer, but I think that is just for recording.
Hey forum. An organization I'm affiliated with sometimes needs to contact all of its members (not spam) to confirm their attendance at certain events. They can't send out invitations by email because...
Does anyone have any information on the VGA capabilities of the new Vodafone Webbook?
http://www.omgubuntu.co.uk/2011/10/the-ubuntu-powered-vodafone-webbook-launches-tomorrow/
I found some...