Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2007 06:49:12 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        Andrew Pantyukhin <infofarmer@freebsd.org>
Cc:        Craig Rodrigues <rodrigc@crodrigues.org>, freebsd-current@freebsd.org, freebsd-arch@freebsd.org
Subject:   Re: [RFC] mount(8) can figure out fstype
Message-ID:  <20070118064912.A39777@xorpc.icir.org>
In-Reply-To: <cb5206420701180614n3eb5bb6cla6c9fdf9ee6f1a9@mail.gmail.com>; from infofarmer@freebsd.org on Thu, Jan 18, 2007 at 05:14:49PM %2B0300
References:  <20070118134936.GA7391@crodrigues.org> <cb5206420701180614n3eb5bb6cla6c9fdf9ee6f1a9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 18, 2007 at 05:14:49PM +0300, Andrew Pantyukhin wrote:
> On 1/18/07, Craig Rodrigues <rodrigc@crodrigues.org> wrote:
...
> > One of the pet peeves I have with FreeBSD is that
> > if I have a device with a local filesystem that I want to mount,
> > I need to explicitly know what type of filesystem is on the
> > device in order to mount it from the command-line.
...
> > Where this is particularly annoying is if I have multiple
> > USB thumb drives with different filesystems on them.
...
> > What I would like to do is:
> >
> > mount /dev/ad0s4 /mnt
> >
> > and if I do not specify a filesystem type with -t, the mount
> > program should "magically" figure out how to mount the disk.
> > This is closer to how the mount program behaves on Linux for example.
> >
> > In this patch, I only modified the userland mount program.
...
> 2. "mount -t auto" might be closer to POLA

great feature. I probably agree that "mount -t auto" might
be a safer way to implement it, but other than that i'd
love to have it too.

	cheers
	luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070118064912.A39777>