public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Sven Köhler" <skoehler@upb.de>
To: linux-kernel@vger.kernel.org
Subject: mount & fstype auto
Date: Mon, 16 Feb 2004 18:25:54 +0100	[thread overview]
Message-ID: <c0quq8$8sg$1@sea.gmane.org> (raw)

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


                 reply	other threads:[~2004-02-16 17:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='c0quq8$8sg$1@sea.gmane.org' \
    --to=skoehler@upb.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox