Date: Tue, 11 Nov 2008 09:50:13 GMT From: Sachidananda Urs <sacchi@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/128779: New port: sysutils/fstyp - Detect filesystem type on a partition Message-ID: <200811110950.mAB9oDja097750@www.freebsd.org> Resent-Message-ID: <200811111000.mABA0AZi014234@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128779 >Category: ports >Synopsis: New port: sysutils/fstyp - Detect filesystem type on a partition >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Nov 11 10:00:10 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Sachidananda Urs >Release: FreeBSD 8.0 - Current >Organization: >Environment: FreeBSD hope 8.0-CURRENT-200809 FreeBSD 8.0-CURRENT-200809 #0: Sun Sep 7 22:13:46 UTC 2008 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: This is new port of the fstyp command found on most Unices. fstyp can be used to heuristically detect which filesystem type a device or a partition contains. Useful for backup scripts. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # fstyp # fstyp/Makefile # fstyp/distinfo # fstyp/pkg-descr # echo c - fstyp mkdir -p fstyp > /dev/null 2>&1 echo x - fstyp/Makefile sed 's/^X//' >fstyp/Makefile << 'dba037cc7af97b3a63ff12d2f132edd8' X# New ports collection makefile for: fstyp X# Date created: Sun Nov 9 X# Whom: Sachidananda Urs X# X# $FreeBSD$ X# X XPORTNAME= fstyp XPORTVERSION= 0.1 XCATEGORIES= sysutils XMASTER_SITES= http://thegaul.org/src/ X XMAINTAINER= sacchi@gmail.com XCOMMENT= Detect which filesystem type a device/partition contains X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XPLIST_FILES= bin/fstyp X XMAN8= fstyp.8 X.include <bsd.port.mk> dba037cc7af97b3a63ff12d2f132edd8 echo x - fstyp/distinfo sed 's/^X//' >fstyp/distinfo << 'a3ecc9a844f5a9e086afa6477e3d2f1d' XMD5 (fstyp-0.1.tar.gz) = b6e4e0d406fd809c2b99ac7848795f0b XSHA256 (fstyp-0.1.tar.gz) = a41fa79dc6abbc146101926856706aedf227d7f6b8e6c8375b741bc43b80aec6 XSIZE (fstyp-0.1.tar.gz) = 203414 a3ecc9a844f5a9e086afa6477e3d2f1d echo x - fstyp/pkg-descr sed 's/^X//' >fstyp/pkg-descr << '74f5882062f2e6f0e50360f23acfd6f2' Xfstyp can be used to heuristically detect which filesystem type a device or a Xpartition contains. Useful for backup scripts. X XWWW: http://thegaul.org/src/ 74f5882062f2e6f0e50360f23acfd6f2 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811110950.mAB9oDja097750>