Mount opts depending on fs type?

From: vda (vda@port.imtp.ilyichevsk.odessa.ua)
Date: Mon Nov 19 2001 - 11:33:31 EST


Since I frequently insert/remove hdds from my boxes,
I think it is useful to have conditional mount options
defending on type of detected fs type, something along the lines:

mount -O vfat:a,b,c -O ntfs:.... -o.... device dir

-O fs:opt[=val],opt[=val],...
    Apply these options if filesystem 'fs' is autodetected on device
-o ...
    Apply these always

A similar thing is probably needed for automounter.
Or maybe I am stupid and some script trickery could do it too...

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:20 EST