Mount opts depending on fs type?

vda (vda@port.imtp.ilyichevsk.odessa.ua)
Mon, 19 Nov 2001 16:33:31 +0000


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/