Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-15-2004, 11:27 AM
|
#1
|
Member
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359
Rep:
|
way to run one app from a different partition?
say i have firefox installed to hda2. is it possible to excecute firefox from hda2 and let it run, even though i am logged in on hda3?
the reason i ask is because i cant make an app (not firefox) intsall on my hda3 part, but it works fine on my hda2 part.
|
|
|
04-15-2004, 11:54 AM
|
#2
|
Member
Registered: Jan 2004
Location: Glasgow
Distribution: Gentoo 2004.0, Debain 3.0r2, Mandrake 10.0 and Slackware 9.1
Posts: 173
Rep:
|
1) What app?
2) What do you have install on hda2? Linux or Windows?
|
|
|
04-15-2004, 11:24 PM
|
#3
|
Member
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359
Original Poster
Rep:
|
1) kgeo, an interactive geometry drawer
2) linux is on both
thanks for any help
|
|
|
04-17-2004, 12:57 AM
|
#4
|
Member
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836
Rep:
|
as long as the filesystem and partition is mounted and writable from the current shell session, you can run programs from that partition.
you may have to use the ./program-to-exec
" ./ "
if the program isnt in your $PATH varible.
echo $PATH
|
|
|
04-17-2004, 04:19 AM
|
#5
|
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028
Rep:
|
Linux doesn't divide the system up in multiple filesystems with their own root.
All is gathered under one directory structure. Provided that you have the other partition mounted the only thing you have to do to run it from there is to copy /install to a directory present on that partition.
|
|
|
04-21-2004, 06:47 PM
|
#6
|
Member
Registered: Aug 2003
Location: North Carolina, USA
Distribution: Onebase 2004-r2 | Updated through 6-10-04
Posts: 359
Original Poster
Rep:
|
so i could mount the other part, then do a and it should work? or do i need to "echo $PATH" first?
|
|
|
04-21-2004, 11:07 PM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Rep:
|
you either need to specify the full path, which would be something like
/mnt/hda2/usr/bin/kgeo
or cd to the directory the binary is in.
example
Code:
. /mnt/hda2/usr/local/bin/kgeo
It might not work if you dont have the same libraries and such installed, though.
--Shade
|
|
|
All times are GMT -5. The time now is 05:25 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|