No volumes in Linux?

Bob Warren warren at howsoft.com
Thu Sep 8 14:14:14 EDT 2005


Ken:

Your suggestion of "sfdisk -s" to list the mounted volumes on my Ubuntu
Linux machine works exactly as predicted when it is entered through the
terminal, i.e. almost exactly:

   /dev/hda: 12345678
   /dev/hdb: 45678901
   total:  92929292

However, doing this through the RR Shell proved to be problematic on account
of the root permission required, as you correctly anticipated. The problem
in Ubuntu is that there is no normal way of "logging on" with root
priveleges. When the normal user calls the (root) terminal, he has to type
in the root password, and it was this part that I could not successfully
incorporate into the RR Shell. So I tried a workaround to eliminate the
necessity of the password and ended up not being able to call the terminal
at all! For this (and other) reason(s) I need to clean my computer down and
re-install Linux. Good job I have a computer reserved specifically for
playing around with Linux!

Glenn:

Thanks very much for your suggestion, but as you see above I am in the merda
at the moment. When I get up and running again, I'll give your suggestion a
try.

Mark Waddingham (if you are reading this):

In our recent discussions regarding the possibility of the early
introduction of altBrowser into Linux, I believe you (or Chipp) mentioned
the necessity of modifying the RR engine to affect "the way RR calls
externals". Excuse my ignorance, but does this have some connection with the
way the RR Shell works? Is it possible that the problems I am having with
with the Shell (described above) and the transfer of the root password are
part and parcel of the same thing? If you can do anything to alleviate the
technical fog I am thrashing around in, I would be grateful. Thanks.

Bob

''''''''''''''''''''''''''''''''''''''''
Bob Warren wrote:

>Does this really mean that although a computer may have 2 or 3 physical
>drives, there is no way that RR can discover this in Linux? If so, I find
>that rather disappointing, don't you?

'''''''''''''''''''''''''''''''''''''''''
>Ken Ray
>Sons of Thunder Software
>Web site: http://www.sonsothunder.com/
>Email: kray at sonsothunder.com

>Bob, I don't have Linux handy, but my web search showed you can use:

>  sfdisk -s

>through the shell to get the list of partitions and their sizes (I think
you
>need to be logged in as root). It will come up with something like this:

>   /dev/hda: 12345678
>   /dev/hdb: 45678901
>   total:  92929292

>Drives aren't "named" per se, but they can be identified in this way,
>AFAICT.

'''''''''''''''''''''''''''''''''''''''''''''''''''''''
>Glenn E. Fisher University of Houston - Retired
>22402 Diane Dr. Spring, Tx 77373
>gfisher4 at houston.rr.com http://www.uh.edu/~fisher
>http://home.houston.rr.com/thegefishers/
>http://homepage.mac.com/gefisher


>I don't know Linux, but from my old unix days I remember that "df" was
>useful.
>You might give it a try.
>Best,
>Glenn
--








More information about the use-livecode mailing list