[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: AW: [MiNT] drive letters (was: Kernal questions)
> > > > 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 as filesystems.
> > > >
> > > > 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 file /etc/mtab contains something like this:
> > >
> > > The same information can also be found if you read from /proc/mounts.
> >
> > This concept does not work very well with MiNT (or MagiC), as
> the type of
> > the filesystem only depends on the mounted media. We need something more
> > flexible.
>
> Very nice Mr.Lincoln, but how do you propose we deal with this, then?
By adding system calls that are needed to implement getmntent() and
related calls.