<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Tue, 10 Apr 2007 23:27:40 +0100
From   : BBCMailingList@... (Ian Wolstenholme)
Subject: MDFS bankrupt accounts

I think all this must mean that the disc name goes at the
end, so try:

*CREDIT <acc number> <amount> <disc name>

If you credit an account with 65535K then you will never run
out of space on that account as it is the maximum MDFS
disc partition size.  Deliberately bankrupting accounts is a
way of effectively giving users with those accounts read-only
access to the server since they don't own any space to save
any files.

Best wishes,



Ian

----- Original Message -----
From: Johan Heuseveldt [mailto:johan@...]
To: bbc-micro@...
Sent: Wed, 11 Apr 2007 00:01:33 +0200 (BST)
Subject: Re: [BBC-Micro] MDFS bankrupt accounts

Hi all,

On Tue 10 Apr, Johan Heuseveldt wrote:
> On Tue 10 Apr, Stuart Winter wrote:

> > Doesn't *CREDIT on its own reveal its sytax?
> 
> No, it doesn't. It then says 'Bad number', just as with anything else
> not being two numbers in hex and decimal respectively.

Hm, I did found some strange results when doing devious things. Doing so
is much better than throwing arms in the air because of dispair. :-)
Sometimes it can be the trigger to make some kind of progress:


The syntax, according to the manual, is:

  *CREDIT <account number> <amount>

where the account number is in hex,
and the amount is decimal in units of 1 kilobyte (K).

so an example is:

  *CREDIT F0 100

which makes it very odd to get back:

  Syntax error


If anything is wrong with one of the two numbers, a 'Bad number' is
returned. Examples are:

  *CREDIT &80 100
  *CREDIT G0 100


To continue this (devious)approach, I typed a 'K' with the second
number, and I got:

  *CREDIT F0 100K

  K not found

which was hard to believe! So the next attempt/result was:

  *CREDIT F0 100 K

  K not found

which is odd indeed. Now with /three/ parameters the syntax /is/ wrong, but
is not reported as such. Just the opposit when using /two/ parameters.


My hard disc - first partition of it - is called 'hdSJmain'.
I created a user GUEST with 'EditPass', and its root dir in $ of the hard
disc with '*CDIR GUEST'. The next two attempts/results are:

  *CREDIT F0 100 GUEST
  
  GUEST not found

and

  *CREDIT F0 100 :hdSJmain.GUEST  (or *CREDIT F0 100 $hdSJmain.GUEST)

  Bad name


So, these are quite surprising to me.

Does it ring a bell to anyone, somewhere???
Thanks


Greetings,
Johan

-- 
Johan Heuseveldt <johan@...              >
  aka  waarland

  The best place is a Riscy place
 
LADY: If I were your wife then I'd put poison in your coffee.
WINSTON: If I were your husband, I'd drink it.
WINSTON CHURCHILL



_______________________________________________
bbc-micro mailing list
bbc-micro@...               
http://lists.cloud9.co.uk/mailman/listinfo/bbc-micro
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>