Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Vulture on April 26, 2011, 06:27:34 PM

Title: Homedir trouble
Post by: Vulture on April 26, 2011, 06:27:34 PM
So, for no apparent reason, my um... "homedir" for lack of a better term, has changed. Let me explain:
My SYS: is fine, it points to dh0:
But, when I open a shell or a program which asks for a file to open, it defaults to hd0: instead, which is not my primary system drive and that's a bit annoying. Sure , I can change the shell's default behavior, but that doesn't solve the problem. I've no idea what caused it either. So, anyone who knows what should I change to get my homedir back to dh0: (an env variable maybe...?) please help me!
Title: Re: Homedir trouble
Post by: Franko on April 26, 2011, 06:41:14 PM
Not quite sure what the problem is... but...

Try typing Assign (return) in a shell window and see what devices are mounted, in particular look for an "HD0" reference... :)

Could be that for some reason the "ToolTypes" in the icons you are clicking have "HD0:" in them and not "DH0:" as you require... :)

The only time you usually get "HD0:" showing up is when you first format & partition an HD in HDToolBox but most folk change this to the more traditional "DH0:" for the Amiga... :)

It would also help to check your StartUp-Sequence to see if any Assigns have been made there referring to "HD0:"... :)
Title: Re: Homedir trouble
Post by: Vulture on April 26, 2011, 07:26:11 PM
thx for your reply Franko!

bad thing is that hd0: is actually an existing partition, just not my system one. Also, it's not just one proggie pointing to it, but rather every program which defaulted to dh0: before and the shell as well, so something has messed my homedir (I think).
Title: Re: Homedir trouble
Post by: Franko on April 26, 2011, 07:59:20 PM
So you have an DH0: & and HD0: partitions, I do too but I don't have any problems with utils looking on the HD0: partition for things... :)

Sounds to me like your ToolTypes in the .info files are pointing to HD0: and not DH0: you really need to check them and change them if so... :)

Also as I said it would be work checking your StartUp-Sequence and User-Startup to see if any Assigns or Paths are being made in them that point to HD0: ... :)
Title: Re: Homedir trouble
Post by: Vulture on April 26, 2011, 08:09:22 PM
startup files are clean of that, ditto for tooltypes, ie black's editor has no default dir set in the icon and nothing set in prefs. It defaulted to sys: until recently :/ Again thx Franko!
Title: Re: Homedir trouble
Post by: Franko on April 26, 2011, 08:22:58 PM
Quote from: Vulture;633745
startup files are clean of that, ditto for tooltypes, ie black's editor has no default dir set in the icon and nothing set in prefs. It defaulted to sys: until recently :/ Again thx Franko!


Hmmm... have you added a new HD or created some new partitions recently or have you recently re-installed your system (anything along those lines might help in trying to pinpoint the problem)... ;)
Title: Re: Homedir trouble
Post by: Franko on April 26, 2011, 08:27:53 PM
Dunno if you have SnoopDOS on your Amiga but no Amiga should be without this brilliant little piece of software, a true godsend fro tracking down problems like this... :)

SnoopDOS on AmiNet (http://aminet.net/package/util/moni/SnoopDos)
Title: Re: Homedir trouble
Post by: Vulture on April 26, 2011, 08:29:44 PM
actually I kind of "cloned" my hd recently ie took my new 320gb one, made the exact same partitions (only bigger) and copied all data from the old disk exactly as they were and where they were. The thing is, it was ok until about a month or two ago whereas my "cloning" took place about a year before.... I've double checked my volume names, my device names, my assigns.... it drives me crazy! It's not *that* important to be honest, it's just SO annoying!
Title: Re: Homedir trouble
Post by: Vulture on April 26, 2011, 08:36:03 PM
yup, I'll try snoopdos. I do wonder why I haven't done that yet (!!!) thx Franko!
Title: Re: Homedir trouble
Post by: Franko on April 26, 2011, 08:42:37 PM
Quote from: Vulture;633754
yup, I'll try snoopdos. I do wonder why I haven't done that yet (!!!) thx Franko!


Well after what you said about "cloning" then SnoopDOS would be you're best way to go as you'll be able to see just what exactly is looking for stuff on HD0: and when, reckon you'll soon pinpoint the source of the problem with SnoopDOS... :)