* mount & fstype auto
@ 2004-02-16 17:25 Sven Köhler
0 siblings, 0 replies; only message in thread
From: Sven Köhler @ 2004-02-16 17:25 UTC (permalink / raw)
To: linux-kernel
Hi,
if fstab contains an entry like
/dev/hda5 /mnt/test auto
and if this get's mounted, the mtab will also contain the fstype "auto".
Wouldn't it be reasonable to put the detected fstype in the mtab?
I'm sure there exists a Map somewhere inside the kernel that maps the
fstype-string to the appropriate routines. My question is, if this
mapping is reversible.
My intention is to write a patch for mount that writes the detected
fstype into the mtab or writing a patch for updatedb from the slocate
package.
updatedb has a blacklist of fstypes that it won't search for files.
For both patches i would need to syscall that allows me to query the
fstype-string for a given path.
Do you see any possibility?
Thx
Sven
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-16 17:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-16 17:25 mount & fstype auto Sven Köhler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox