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
 

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

reply to topic new topic new poll
Topic: The directory's partition in a frugal install, Is it in hda1 or hda3?< Next Oldest | Next Newest >
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,14:26 QUOTE

How do I confirm which partition a particular directory is?  I want to make sure that I only save changes to hda3, because hda1 is the partition containing the CD image and is the part that gets changed by every upgrade.

--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2007,15:01 QUOTE

In DSL, partitions are listed in /mnt according to their device names.
If you want to see if your persistent home is really on hda3, simply create a file in /home/dsl and then look in /mnt/hda3/home/dsl. If the file is there, your persistent home is on hda3. If you see a file named /mnt/hda3/backup.tar.gz, you also have backup/restore working on that partition.

One thing I would look into, though, is changing your default mydsl directory. Since you have your mydsl extensions in /mnt/hda3/mydsl (or so I recall), you may want to put that directory in /opt/.mydsl_dir instead of the default /tmp. This will allow any mydsl extensions downloaded through the mydsl gui to be automatically persistent on hda3


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
jhsu Offline





Group: Members
Posts: 175
Joined: Mar. 2007
Posted: May 26 2007,15:42 QUOTE

Quote (mikshaw @ May 26 2007,11:01)
In DSL, partitions are listed in /mnt according to their device names.
If you want to see if your persistent home is really on hda3, simply create a file in /home/dsl and then look in /mnt/hda3/home/dsl. If the file is there, your persistent home is on hda3. If you see a file named /mnt/hda3/backup.tar.gz, you also have backup/restore working on that partition.

One thing I would look into, though, is changing your default mydsl directory. Since you have your mydsl extensions in /mnt/hda3/mydsl (or so I recall), you may want to put that directory in /opt/.mydsl_dir instead of the default /tmp. This will allow any mydsl extensions downloaded through the mydsl gui to be automatically persistent on hda3

I haven't gotten around to creating /mnt/hda3/mydsl yet.  What exactly do I need to do to have the MyDSL extensions stored on hda3 instead of the tmp directory?  I realize that there are several .* configuration files that control things.

--------------
Current cheatcodes:
kernel /boot/linux24 root=/dev/hda1 quiet vga=normal noacpi noapm nodma noscsi frugal home=hda3 opt=hda3 restore=hda3 root=hda3
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: May 26 2007,18:51 QUOTE

Open /opt/.mydsl_dir in a text editor and change "/tmp" to "/mnt/hda3/mydsl". You must have backup/restore working, or have some other method of restoring /opt/.mydsl_dir, in order for this to work after a reboot.

I'm not sure what will happen if you try to use the mydsl gui without first creating the mydsl directory...I assume it will probably download to your home directory, or whatever directory you happen to be in when running the program.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 26 2007,20:45 QUOTE

Quote
How do I confirm which partition a particular directory is?
You could just look up /etc/fstab ... but not sure if persistent ones cheatcodes such as home= will put /home here or not in DSL.
Back to top
Profile PM 
4 replies since May 26 2007,14:26 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: The directory's partition in a frugal install

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