Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: MyDSLgui, Can't unmount cdrom< Next Oldest | Next Newest >
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Nov. 09 2004,02:20 QUOTE

I'll get busy and work with that a while.
---
If I find out anything interesting, I'll get back in here.
 :D


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
Rapidweather Offline





Group: Members
Posts: 375
Joined: Jan. 2004
Posted: Nov. 10 2004,01:15 QUOTE

roberts is right.
I did tests with my script, and eventually, the system gets to the
point where the MyDSL apps will not load anymore. I get a message, "can't find
/dev/cloop8".
So, the Official DSL way is the _way_ to do it, Use the MyDSL GUI to load
the applications, and when through with them, use the MyDSL GUI to unload them.
The use of emelfm gives a response in the bottom pane, however, that you
can see. At this point, 0.8.2, the MyDSL GUI does not have "unload" buttons, or any other way to _know_ what you have, and need to do.
---
I have this little message in my Remaster of 0.8.2 that tells what to do
when you want to unload the apps, and use the CDROM to play music:
----------------------------------------------------------------------------------
Quote

Rapidweather Remaster Version 0.2.8, Beta

Based on Damn Small Linux 0.8.2

What's Different about Version 0.2.8?

The Getting Started Guide provides detailed information about
the Rapidweather Remaster series. Version 0.2.8 is different
in that Mozilla Firefox and Opera are not mastered in to the
filesystem, as with other Rapidweather Remaster versions.
All of the additional applications are added to the root of the
CD, and are MyDSL applications that need to be loaded into the
running system.

About this CD:

Here are some guidelines for setting up the system:

The following applications are included in the /optional directory
in the CD, and are to be loaded using the MyDSL Click and Load GUI,
accessed with the MyDSL icon on the desktop:

Mozilla Firefox, Opera 6.12, Gimp 1.2, and Abiword.

You may load any or all of them, and then start the programs
using the Menu.

Important: Should you want to unload any of the applications,
or all of them that you have loaded, so that the CDROM drive
drawer may be opened, follow this procedure:

1. The applications in the /optional directory in the CD are MyDSL
  applications that are not part of the filesystem until they are
  loaded into the system as described above. Once any of them are
  loaded, then the CDROM drive drawer is locked.

2. If you use the MyDSL Click and Load GUI to load an application,
  it may be used to unload it, by clicking on the application again.
  Be sure that the application is closed before doing that.
 
3. The MyDSL Click and Load GUI will not reflect that the application
  is unloaded, as it is only designed to load applications.
 
4. Another way to unload an application found in the /optional
  directory in the CDROM, is to open a root shell (top menu item),
  and start emelfm. Navigate to the /mnt/auto/cdrom/optional directory
  on the CDROM, and highlight the application that you wish to either
  load or unload. Click on the MyDSL button in the center panel of
  emelfm. In the output pane at the bottom of emelfm, you will see
  a message.
 
  A loaded application will show:
 
  opera.uci successfully mounted! (an example for Opera 6.12)
 
  Then, to unload the application, click the MyDSL button again.
  This message will appear:
  /mnt/auto/cdrom/optional/opera.uci on /opt/opera type iso9660 (ro,loop=/dev/cloop1)
  Although this does not say that the application is unloaded, this is
  all that you will see, and the application is now unloaded.
 
5. At this point you can use the menu item to unmount the CDROM drive
  from the filesystem, so the CDROM drive door can be opened.
  If you have booted the system with the boot option "toram", then
  you can do this. Otherwise, you cannot.
 
6. Once the CDROM drive drawer is opened, and the DSL CD is removed, you
  may replace the CD with a music CD, and use the menu item for XMMS
  Play CD to play music on your system.
 
7. Should you now want to load one or more of the MyDSL applications,
  replace the DSL CD in the CDROM tray, and use the MyDSL Click and
  Load GUI, or emelfm to load them into the filesystem, so they can
  be run using the menu.
 

The Dock Apps are in the root of the CD, and are
already loaded, ready for menu access.

Rapidweather Remaster Version 0.2.8 Beta is a work in progress,
and some of the changes are experimental.

--------------------------------------------------------------------------------
I have done extensive load and unload, play CD, etc using this method,
and have no problems.
----
So, any of you trying out my code sample in the earlier posts, be forewarned
that it did not stand up to the test of time, and I discarded it, in favor of
the Official DSL way.
I did decide to add this to my fluxbox menu, to allow some control of the
CDROM drive, once the MyDSL applications are unloaded, and I am
wanting to open the drive drawer:

Code Sample
[submenu] (CDROM Drive)  {}        
[exec] (Mount) {rxvt -rv -T "Mount_CDROM" -e sudo -H mount /dev/cdrom -t iso9660 /mnt/auto/cdrom }
[exec] (Unmount) {rxvt -rv -T "Unmount_CDROM" -e sudo -H umount /mnt/auto/cdrom }
       [end]

---
I don't know if the latest DSL has any changes to the MyDSL Click and Load GUI that has an "unload" section, buttons, etc.
That would be simpler to use than emelfm, although once you get used to
using emelfm, it's very nice for this load/unload work.
---
Note for Remasterers:
Also, it is useful to master- in the file /opt/mydsl-drives that shows "cdrom"
if one is going to put the MyDSL applications in /optional in the CD.
That way, you don't have to fill it out in the MyDSL GUI, it comes up ready to
use, with your applications already there.
If you want, add it to your filetool.lst, and once you use the MyDSL GUI, the file will be in /ramdisk/opt/mydsl-drives for your backup to pick up.
That may be easier for the non-remastering folks.
---
:;):


--------------
Rapidweather Remaster of DSL:
http://www.angelfire.com/ms/telegram/getting_started.html
Rapidweather Remaster of Knoppix Linux:
http://www.geocities.com/rapidweather/getting_started.html
Screenshots:
http://www.rapidweather.com/linuxcdsales.html
Back to top
Profile PM WEB 
6 replies since Nov. 08 2004,22:37 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: MyDSLgui

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code