Date: Mon, 8 Dec 2014 17:59:17 +0100 From: =?utf-8?Q?Edward_Tomasz_Napiera=C5=82a?= <trasz@FreeBSD.org> To: Lars Engels <lars.engels@0x20.net> Cc: "hackers@FreeBSD.org" <hackers@FreeBSD.org> Subject: Re: fstyp(8) Message-ID: <02915D00-6415-4C9C-B841-7351B0886BC0@FreeBSD.org> In-Reply-To: <20141208131107.GD68024@e-new.0x20.net> References: <20141205114635.GA12557@brick.home> <20141208131107.GD68024@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Dnia 8 gru 2014 o godz. 14:11 Lars Engels <lars.engels@0x20.net> napisa=C5=82= (a): >> On Fri, Dec 05, 2014 at 12:46:35PM +0100, Edward Tomasz Napiera=C5=82a wr= ote: >> I'm slowly working on making autofs suitable for mounting removable >> media, and one of the things required is filesystem detection. It's >> kind of possible to use file(1), but it's, well, "suboptimal" for this >> task. So, I went and wrote fstyp(8). >>=20 >> This utility, named after SVR4 command with same weird name, detects >> filesystems. It's mostly based on glabel code. The output is machine >> parseable, it can print out filesystem labels, and runs capsicated. >>=20 >> You can join the review at https://reviews.freebsd.org/D1255. >=20 > Will it be possible to run "mount /dev/da$foo" without specifying a file > system type? No, but it's possible to run "mount -t `fstyp /dev/da$foo` /dev/da$foo /mnt"= . Or, with upcoming "-media" autofs map, just "cd /media/da$foo".
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02915D00-6415-4C9C-B841-7351B0886BC0>