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

Re: AUTOFIX patch and a question



On Tue, 10 Oct 1995, Wolfgang Lux wrote:

> > # I don't want the floppy mounted.
> > # map a: /floppy
> > map c: /gemdog
> > # d: also not mounted
> > map e: /rootfs
> > map f: /usr
> > map g: /home
> > map h: /var

> > 
> Nice idea; I think something along these lines should really be
> implemented in MiNT. (Perhaps, we should have an unmap command, too.
> We then could maintain compatibility with existing versions of MiNT,
> and people how don't like this stuff --- if there are any :-)
> 
> However, what to do, if I need the floppy later during the session?
> Did you mean to make map (and my unmap) to be systems calls or only
> commands in MINT.CNF? I suspect having system calls would be better.

Why not use standard command names? The lines above then read

mount f: /usr
mount g: /home           etc.

This should exist as a command in mint.cnf and as a separate program (and 
as system call, of course, on which these commands rely). A floppy mount 
would then be 'mount a: /floppy' and unmount is 'umount /floppy'.

I would even prefer to get rid of all drive letters even as /a, /b,...
All drives and partitions should show up as entry in /dev. For this,
block oriented devices have to be implemented!
SCSI partitions should be named e.g. /dev/scsi03, where 0 is the device 
number and 3 the partition number, ACSI is /dev/acsi00 etc.
Mounting a floppy then looks like

mount /dev/fd0 /floppy
or 
mount /dev/fd0 a:        or even both.

But for all those who don't care about those things, MiNT should by 
standard mount the drives on their letters. For the freaks, there could be a 
key word like 'NO_STD_MOUNT' in mint.cnf which turns this off.


Ciao,
Stephan

-----------------------------------------------------------
Stephan Haslbeck
Student of Computer Science, Technical University of Munich

std mail: Agricolastr. 61, D-80686 Muenchen
email: haslbecs@informatik.tu-muenchen.de
-----------------------------------------------------------
Es gibt keine Probleme, nur Loesungen.
-----------------------------------------------------------