[techtalk] kernel-automounter, fstab, vfat and minix

Kir Kolyshkin kir at sgp.sever.ru
Thu Apr 13 21:32:03 EST 2000


Well, can't understand what do you mean by kernel automounter, because later
you're just talking about plain old fstab. Automounter uses its own mount
point and it's own config files (/etc/auto.master and others).

If we are talking about fstab and we mount partitions manually (mount /floppy)
when you can put these lines in /etc/fstab:

/dev/fd0        /floppy        vfat        noauto    0 0
/dev/fd0        /floppy        minix       noauto    0 0

and...oops, you will only be able to mount vfat disks.

In case if we use kernel automounter (such a nice thing!) you really need to
write 'auto' as the filesystem type. Here's what autofs.5 man page (from
autofs-3.1.4 distro) suggests:

> floppy    -fstype=auto        :/dev/fd0
>
Well, it should recognize filesystem type automagically (I haven't check it
out although with minix fs, but it mounts vfat with no problem)

But if you are not using automounter when you really need to have separate
dirs for each fs. I would like to suggest

/mnt/a - for DOS/Windoze disks (vfat)
/mnt/floppy - for ext2 disks
/mnt/mfloppy - for minix disks

So it will not clutter root directory :)

Michelle Konzack wrote:

> Hello,
>
> I have the kernel automonuer installed and it works... for one fs
>
> The problem is, that I have floppys with vfat and minix and I get
> errors if i have in /etc/fstab
>
> /dev/fd0    /floppy     vfat    noauto,user,unhide     0   2
> /dev/hdc4   /zip100     vfat    noauto,user,unhide     0   2
>
> and I try to mount a minix-fs...
>
> Curently I use a second entry like:
>
> /dev/fd0    /mfloppy    minix   noauto,user,unhide     0   2
> /dev/hdc4   /mzip100    minix   noauto,user,unhide     0   2
>
> For this I need two other mount directories...
> I have read the fstab-man-page but I have foung nothing which works for me.
>
> Is there a solution ???
>
> Michelle
>
> --
> Linux rebootet man in drei FДllen:
> Neuer Kernel, neue (Board-)Hardware, Stromausfall....
>
> Aber Windows rebootet man auch in drei FДllen:
> Schutzverletzung, Bluescreen, keinen Bock...
>
> _______________________________________________
> techtalk mailing list
> techtalk at linuxchix.org
> http://www.linux.org.uk/mailman/listinfo/techtalk

--
|< ()  http://kir.sever.net kir at sgp.sever.ru kir at sever.net ICQ 7551596
() |_   Microsoft SELLS you Windows, Linux GIVES you the whole house!








More information about the Techtalk mailing list