Deprecated: Function set_magic_quotes_runtime() is deprecated in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/common.php on line 106
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 916: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 920: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 920: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 472

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /websites/123reg/LinuxPackage21/vi/rt/ua/virtualacorn.co.uk/public_html/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3526: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3528: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3529: Cannot modify header information - headers already sent by (output started at /common.php:106)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3530: Cannot modify header information - headers already sent by (output started at /common.php:106)
www.virtualacorn.co.uk/forum • View topic - Rename HardDisc4?

www.virtualacorn.co.uk/forum

For support and advice on VirtualAcorn products
It is currently Thu Oct 19, 2017 10:33 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Rename HardDisc4?
PostPosted: Sun May 29, 2005 6:17 pm 
Offline

Joined: Mon Mar 08, 2004 10:54 pm
Posts: 10
Location: Manchester, UK
Is it possible to rename HardDisc4?

I'm a little reluctant to fiddle with 'Add' or 'Remove' on the options dialogue in case I cause a major problem.

Thought it better to ask first.

Gary

_________________
Gary Jones


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 03, 2005 12:11 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
I don't reccomend renaming the harddisc - although you can do it from the HostFS control panel.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 26, 2005 8:18 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
I don't reccomend renaming the harddisc

What's the reason for that? Is it still the case with VRPC-Adjust?

Quote:
- although you can do it from the HostFS control panel.

Ooh, can you give more details?

Thanks,
Adam


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 10:45 am 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
You shouldn't rename a harddisc under RISC OS for a number of reasons. Firstly there's a high degree of probability that some things in your boot sequence wimply won't use relative names.

As an example suppose there is a reference to:

HostFS::HardDisc4.$.Printing.!Printers

In the boot sequence - if you rename the harddisc to, for example, Jim.
then the real path to the file would now be:

HostFS::Jim.$.Printing.!Printers

So RISC OS would no longer "find" !Printers and would throw up an error on booting.

If the entire !Boot sequence uses relative names, such as:

<Boot$Dir>.^.Printing.!Printers

then renaming the harddisc shouldn't cause as many problems, although
apps (and the pinboard) may still complain that they can't find things.

You can "rename" the existing HardDisc4 from the HostFS control panel by
making a new HostFS mount that points to the HardDisc4 folder (as seen by Windows) with a new name (for example Jim). You would then
have 2 HostFS mounts that point to the same Windows folder. Removing the one named "HardDisc4" would just leave the one called Jim, which would then become the first drive, and hence the boot drive.

However I really don't reccomend doing this, if you really must and are prepared for the potential problems then firstly back up the file:

C:\Program Files\VirtualAcorn\VRPC-xxx\Models\Arm 7 RISC OS xxx(Jit)\Model.cfg

(where xxx is determined by your version of VirtualAcorn)

So if it all goes wrong you can put things back. Also note that if you do rename the harddisc and it does all go wrong I won't be able to provide any support, I'll simply tell you to put it back!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 01, 2005 7:06 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
You shouldn't rename a harddisc under RISC OS for a number of reasons. Firstly there's a high degree of probability that some things in your boot sequence wimply won't use relative names.

Oh, OK - so it's not a recommendation related to VRPC then? I'm more than happy to rename my Harddisc - I've done so for the past 10 years so would disagree that it's a problem :)

Quote:
You can "rename" the existing HardDisc4 from the HostFS control panel by
making a new HostFS mount that points to the HardDisc4 folder (as seen by Windows) with a new name (for example Jim). You would then
have 2 HostFS mounts that point to the same Windows folder. Removing the one named "HardDisc4" would just leave the one called Jim, which would then become the first drive, and hence the boot drive.

Hmm, sounds a bit fiddly - I might just create a seperate mount to hold everything except my Boot sequence, then hide HardDisc4 away inside Minidisc.

Quote:
However I really don't reccomend doing this, if you really must and are prepared for the potential problems...

Problems related to VRPC or RISC OS?

Cheers,
Adam


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 2:22 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Problems related to RISC OS, provided the new HostFS mount is set up correctly (with the same flags as HardDisc4 - Bootable + Show DOS Extensions) then VRPC shouldn't mind, but it's at your own risc :lol:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 8:06 pm 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
You can "rename" the existing HardDisc4 from the HostFS control panel by
making a new HostFS mount that points to the HardDisc4 folder (as seen by Windows) with a new name (for example Jim). You would then
have 2 HostFS mounts that point to the same Windows folder. Removing the one named "HardDisc4" would just leave the one called Jim, which would then become the first drive, and hence the boot drive.

Worked a charm, thanks :)

Adam


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 02, 2005 8:31 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Glad it's working OK, certainly better than my spelling on earlier posts :oops:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 12:10 am 
Offline

Joined: Tue Jul 26, 2005 5:36 pm
Posts: 108
Aaron wrote:
If the entire !Boot sequence uses relative names, such as:

<Boot$Dir>.^.Printing.!Printers


Sorry to drag up this old thread but I've just been moving my VRPC installation and setting things up again, which included renaming the harddisc. I did get a single "disc not found" error, which I tracked down to the file boot.tasks.AccessSet. This references HostFS, so I suspect it's a VA-created file. Perhaps it could be re-jigged to have a relative file reference?

Cheers,
Adam


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 2:24 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
The AccessSet file sets up ShareFS drives. So it can't have relative paths it needs to have absolute paths.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 4:24 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
Hmmmm. I agree it is far better to quote absolute paths.

But it will work with relative paths.

So, simply having
Share Public
does work with the standard VRPC-SE build as the 'current directory' is set to the root of the boot disc during the boot sequence.

_________________
John


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 5:55 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
OK - so using relative paths just in the AccessSet file how do you (for example) share multiple folders - or the root of a harddisc?

As far I am aware you can't. Which is why it uses absolute paths, in exactly the same way as a "real" RiscPC would.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 14, 2007 7:21 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
The topic under discussion all follows from an original question "Is it possible to rename HardDisc4?"

.... and what a user would need to do to achieve that.

The discussion has made it clear that you do not recommend that - and nobody has disputed that point with you.

However, a second person stated that he had made it all work with one exception
Quote:
Sorry to drag up this old thread but I've just been moving my VRPC installation and setting things up again, which included renaming the harddisc. I did get a single "disc not found" error, which I tracked down to the file boot.tasks.AccessSet. This references HostFS, so I suspect it's a VA-created file. Perhaps it could be re-jigged to have a relative file reference?

I simply answered his final question, giving a method by which he could eliminate his single remaining error.

I stick to my assertion that relative paths will work. The following just in the AccessSet file (on either VRPC or a Real RiscPC) will share multiple folders and the root of the hard disc.

Share Public
Share Apps -readonly
Share $

However, I remind you that I did say:
Quote:
I agree - it is far better to quote absolute paths.


Of course, I should also have commented on his "suspicion" that boot.tasks.AccessSet file was a VA-created file. It is not. It is created by the !ShareFS application whether on a Real RiscPC or on VRPC.

_________________
John


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 15, 2007 12:50 pm 
Offline
Site Admin

Joined: Wed Oct 23, 2002 12:16 pm
Posts: 958
Sorry, but I disagree. The AccessSet file must have absolute paths, not relative paths.

The file is created by the !AccessSet application in Networking, it is not created by ShareFS.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Nov 15, 2007 6:03 pm 
Offline

Joined: Wed Oct 24, 2007 6:29 pm
Posts: 124
Location: West Lancashire
One of the fundamental points with the design of filing systems on RiscOS since the early Acorn days and still carried through until today is that file/directory pathnames can always be absolute or relative. This has always applied to both the command line and to properly written desktop applications, and applies to real computers or virtual ones.

VirtualRPC-SE is your system. You have the right to build it how you like; but the !AccessSet application (like every other correctly written application) is based on those early Acorn principles and the AccessSet file does work with properly created relative directory paths (because the *share command will deal correctly with absolute or relative pathnames).

Relative paths beginning with $ are always taken from the root directory of the current disk (no matter what the current directory might be).

However, with your second point you are, of course, quite right:-
"The file is created by the !AccessSet application in Networking, it is not created by ShareFS."
(I did not check my typing. :oops:)

_________________
John


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group