System :: Hacking DSL



Code Sample
if [ -z $2 ]; then
   tar -C / -T /opt/.filetool.lst -X /opt/.xfiletool.lst  -czvf $MOUNTPOINT/backup.tar.gz
   echo -n "Press enter to continue:"; read ans
 else
   echo -n "${BLUE}Backing up files to ${YELLOW}$MOUNTPOINT ${BLUE}mounted on ${MAGENTA}/dev/$DEVICE ${NORMAL}"
   tar -C / -T /opt/.filetool.lst -X /opt/.xfiletool.lst  -czf "$MOUNTPOINT/backup.tar.gz"  2>/dev/null &
   rotdash $!
   sync
Code Sample
if [ -z "$MOUNTPOINT" ]; then
 echo "Invalid device $DEVICE"
 echo -n "Press enter to continue:"; read ans
 exit 1
fi
these look like the file name is backup.tar.gz and has to be a device.  Some time ago I tryed entering something like hda1/directory in the gui and it was rejected.
I checked over that page again.  the only things I find are.
Quote
base       Skip myDSL load only the base system
mydsl={hda1 / sda1}     Restore myDSL apps (default to cdrom).
Suppose you wish to run DSL from memory and your MyDSL applications are stored on hda1. Then you would use the cheatcode:

dsl toram mydsl=hda1
What am I missing?  I know I can use different partitions.

One quick question.  Is it standard within Linux/DSL for the user to include the trailing / (forward slash) when prompted for a directory or not?  It would be easy enough to check if they put one then add one if needed, but a waste of effort to check if it has been standardized.
Re-reading, my last post may have been incorrectly worded.
Quote
What am I missing?
I would like to know how to use this function.  Writing a routine that already exists would be a complete waste of everyones time.
Quote
How can you look up a word in a dictionary if you can't spell it?
You find it here among thousands of words listed by their Wrong spellings
From the cover of
The Bad Speller's Dictionary
Joseph Krevisky and Jordan L. Linfield
© 1967, 1963, by Innovation Press
It seems quite a part of my trouble transitioning to free software is the differences in what the exact same thing is called.  How do I look it up on the search engine if all I know it by is its proprietary name?
Thanks Everyone

Quote
Is it standard within Linux/DSL for the user to include the trailing / (forward slash) when prompted for a directory or not?  

It seemed to be the convention more than it seems to be anymore. You'll see it applied on auto-completion in most shells and in various applications.

Quote
How do I look it up on the search engine if all I know it by is its proprietary name?

By searching for "Linux equivalent" or looking on sites like these:
http://www.linuxalt.com/
http://www.physics.drexel.edu/liki....cations

I have not posted for some time.  My automated hack is progressing slow and un-surely.  

I would really like input from John, Robert, and the long standing DSL community especially about the user interface and DSL convention.  It is nowhere near being ready even for the testing area.  I could allow a limited number of downloads from one of my websites, but I use a hosting provider who does not restrict download speeds (throttling) or overload his servers (dual OC 149 for usually no more then 50 sites) .  I pay based on bandwidth usage tiers.

I see an aversion to linking to other then official DSL and agree with maintaining control.

Thanks Everyone


original here.