Search:

Type: Posts; User: kiplingw; Keyword(s):

Page 1 of 8 1 2 3 4

Search: Search took 0.03 seconds.

  1. [SOLVED] Re: ALERT! UUID=62b70d9d-685f-47dc-8433-372a0152b80c does not exist. Dropping to shel

    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...
  2. [SOLVED] ALERT! UUID=62b70d9d-685f-47dc-8433-372a0152b80c does not exist. Dropping to shell!

    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...
  3. Geek Speak: Kip Warner, project lead for Avaneya

    "The free-software project marked a milestone with the release of Avaneya: Viking Lander Remastered," (Georgia Straight). More.
  4. Avaneya Game Project Releases Lost NASA Archive for Crowdfunding

    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...
  5. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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...
  6. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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...
  7. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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?
  8. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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.
  9. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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.
  10. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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...
  11. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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....
  12. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    Thanks Slavik, but that's a given. It should have gone without saying that I wasn't satisfied with the man page.
  13. Replies
    24
    Views
    1,672

    Re: Detecting mount containing running script

    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......
  14. Replies
    24
    Views
    1,672

    Detecting mount containing running script

    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...
  15. Replies
    0
    Views
    283

    Retrieving process ID from Vte.Terminal

    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...
  16. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    Yes, that could be. The syntax is quite cumbersome.
  17. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    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.
  18. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    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...
  19. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    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...
  20. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    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
  21. Replies
    12
    Views
    3,964

    [SOLVED] Re: Bash handling arguments with spaces

    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...
  22. Replies
    12
    Views
    3,964

    [SOLVED] Bash handling arguments with spaces

    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...
  23. Replies
    2
    Views
    766

    [ubuntu] Re: Automated Telephone Calling

    Thanks dFlyer, but I think that is just for recording.
  24. Replies
    2
    Views
    766

    [ubuntu] Automated Telephone Calling

    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...
  25. Replies
    163
    Views
    26,248

    Poll: Re: Avaneya: A Science Fiction Game for Ubuntu

    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...
Results 1 to 25 of 199
Page 1 of 8 1 2 3 4