Date: Tue, 9 Dec 2014 10:04:48 +0100 From: Lars Engels <lars.engels@0x20.net> To: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= <trasz@FreeBSD.org> Cc: "hackers@FreeBSD.org" <hackers@FreeBSD.org> Subject: Re: fstyp(8) Message-ID: <20141209090448.GF68024@e-new.0x20.net> In-Reply-To: <02915D00-6415-4C9C-B841-7351B0886BC0@FreeBSD.org> References: <20141205114635.GA12557@brick.home> <20141208131107.GD68024@e-new.0x20.net> <02915D00-6415-4C9C-B841-7351B0886BC0@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Dec 08, 2014 at 05:59:17PM +0100, Edward Tomasz Napierała wrote: > Dnia 8 gru 2014 o godz. 14:11 Lars Engels <lars.engels@0x20.net> napisał(a): > > >> On Fri, Dec 05, 2014 at 12:46:35PM +0100, Edward Tomasz Napierała wrote: > >> 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). > >> > >> 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. > >> > >> You can join the review at https://reviews.freebsd.org/D1255. > > > > 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". Okay, that's a candidate for some shell alias then :) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJUhrswXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1tFFAH/ApFaVtA3K/PTrIHrzDHQZhZ HIPruEGyRb2VEH+LkznZrxSKiWLluHcbB9cW0ojdd21wNOQ3ms08d0TKhc34q9KF gz7L3tQnI4FU0jj63DVJAwJNVmxlJX84zvIAsjxOrfZ4yFNuRUWgcU/TaT6IDGm8 yzIsP8f7ru8Z4lcKW/cat7W0hFwyfItFrDbishE8drKOd8vPiDuhwADmzkL65e+1 mP0ynw8G231wo48C2b0PxetLGgdXTDiNgz6njVjQrx+x6192tpQAVaBG+038dnGZ lGt0TBv97WsSx7RyRLl4zg86o0CqiP/g/9S2bJsPVtUr+Gi0KosvZfrzJNyOKS8= =ftXf -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141209090448.GF68024>
