[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filesystems



q-funk@megacom.net%INTERNET wrote:
> 
>  >> Related to that:
>  >> we found that the kernel still uses the BIOS function Mediach()
>  >> in filesys.c.
> 
> 'dskchng' in FILESYS structure calls Mediach(), is this what you're
> refering to?

disk_changed() in filesys.c.

> After discussion with Frank, (that'll teach me to mail this list,
> without first reciting the Compendium according to Sanders twice)
> I've managed to narrow down my file copying problem using newfat,
> to GEMDOS function Pdomain(), which is what performs the filename
> case conversion automatically.
> 
> Problem:
> 
>    TOSFS is uppercase by default, so software written for Atari
>    assumes uppercase filenames, especially when reading files.
>    This is usually true of older ST software.
> 
>    However, under MiNT, Pdomain() performs case conversion always.
> 
> Solution:
> 
>    Perhaps a way to solve this would be alter the Pdomain() rule:
> 
>       TOS -> case-sensitive:  maintain uppercase
>       case-sensitive -> TOS:  transform to uppercase
> 
> Caveat:
> 
>    However, case conversion CAN be desirable under certain cases.
>    Which conditions should apply, to decide if the case should be
>    converted or not?  When is it desirable to do so?
> 
> ***
> 
> Comments?  Reactions?  Suggestions?

I would say the kernel itself should *never* touch a filename. This
must be under the control of the filesystem.