Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.misc > #6760
| From | Martin Bazley <martin.bazley@blueyonder.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.misc |
| Subject | Re: re-naming a drive |
| Message-ID | <584be1d752.martin@blueyonder.co.uk> (permalink) |
| References | <eccf80d552.jim@nails.abbeypress.net> <caa7c040-12f9-47be-9b15-fb6288f97100@googlegroups.com> |
| Organization | virginmedia.com |
| Date | 2012-10-01 15:50 +0100 |
The following bytes were arranged on 1 Oct 2012 by jgh@arcade.demon.co.uk: > Jim Nagel wrote: > > I'd like to give some harddrives a catchier (and shorter) name > ... > > Is there some clever way of doing it, ... that would avoid all > > sorts of niggles such as "Please insert disc BootDiscSp" from other > > software? Or from other agents on the network. > > Make sure your boot sequence reads the boot drive name > and then uses that from then onwards, instead of hard > coding the name into everything. I have a small utility > called !Boot.Utils.Boot.Root: [snip] > So then everything else refers to <Boot$Root> for the root > directory of the drive booted from, eg: > > Filer_Run <Boot$Root>.Apps.Editors.!StrongEd Since all that program will do, if placed within !Boot, is set <Boot$Root> to the name of the hard disc on which the !Boot directory resides, then a simpler way of getting exactly the same result is to replace all usage of the disc name with "Boot:^", as in: Filer_Run Boot:^.Apps.Editors.!StrongED In fact, I believe the default boot sequence does exactly this. -- __<^>__ "Your pet, our passion." - Purina / _ _ \ "Your potential, our passion." - Microsoft, a few months later ( ( |_| ) ) \_> <_/ ======================= Martin Bazley ==========================
Back to comp.sys.acorn.misc | Previous | Next — Previous in thread | Next in thread | Find similar
re-naming a drive Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2012-09-27 01:04 +0100
Re: re-naming a drive jgh@arcade.demon.co.uk - 2012-10-01 06:43 -0700
Re: re-naming a drive Martin Bazley <martin.bazley@blueyonder.co.uk> - 2012-10-01 15:50 +0100
Re: re-naming a drive jgh@arcade.demon.co.uk - 2012-10-01 12:36 -0700
Re: re-naming a drive Brian Carroll <bric-nospam@argonet.co.uk> - 2012-10-01 17:31 +0100
csiph-web