Re: [RFC] mount(8) can figure out fstype

From: Luigi Rizzo <rizzo_at_icir.org>
Date: Thu, 18 Jan 2007 06:49:12 -0800
On Thu, Jan 18, 2007 at 05:14:49PM +0300, Andrew Pantyukhin wrote:
> On 1/18/07, Craig Rodrigues <rodrigc_at_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
Received on Thu Jan 18 2007 - 13:49:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:04 UTC