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

Re: [MiNT] drive letters (was: Kernal questions)



On Mon, 25 Jan 1999, Konrad Kokoszkiewicz wrote:

> > As I said: changing the current behaviour (all available filesystems
> > are mounted on u:\) will break existing programs. What's the benefit?
> 
> Well, yes, I would agree with Julian here. 

> BTW. drives are available in /dev anyways, though they're invisible. 
> But try cd /dev/a

Let's see how Linux handles this:

fsck repairs/verifies drive letters, but the drives are mounted as 
filesystems.  For example, floppy is accessed as /floppy and cd as 
/cdrom, but other drives are mounted

Is there any way we could implement something similar on MiNT?
For instance, boot drive could be /boot, but also known to fsck.fat
as drive C (or whichever drive we boot from).

Question:  
how do system utilities (ie: fsck) know which drive letters
use what kind of filesystems (ie: FAT, Minix, ext2) on Linux?

The answer to this could show us how to handle it.

The way I see this, GEM applications should still be able to access
files using DOS drive letters, even though they would be hidden from
root, while CLI should work using /path/to/file à la UNIX.

How does that sound?

----------------------------------------------------------------
  Martin-Eric Racine * http://www.pp.fishpool.com/~q-funk/M-E/
  The Atari TT030 Homepage * http://members.tripod.com/~TT030/
----------------------------------------------------------------