The directory's partition in a frugal install


Forum: HD Install
Topic: The directory's partition in a frugal install
started by: jhsu

Posted by jhsu on May 26 2007,14:26
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.
Posted by mikshaw on May 26 2007,15: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

Posted by jhsu on May 26 2007,15:42
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.
Posted by mikshaw on May 26 2007,18:51
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.

Posted by ^thehatsrule^ on May 26 2007,20:45
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.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.