mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
DSBMD is a media/filesystem type detecting daemon that allows clients to mount
storage devices. DSBMD watches the mount table for changes, monitors devd events for new storage devices, polls CD/DVD drives and card readers for media change events, deter- mines media types, volume names, and filesystem types. Mountable devices, changes in the mount table as well as device add/remove events and altered states of mountable devices are presented to clients. Clients can request DSBMD to mount, unmount, and eject media, or set the CD/DVD reading speed. WWW: http://freeshell.de/~mk/projects/dsbmd.html PR: 207897 Submitted by: mk@nic-nac-project.org
This commit is contained in:
parent
84fcb77945
commit
074e606599
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411124
@ -223,6 +223,7 @@
|
||||
SUBDIR += downtime
|
||||
SUBDIR += downtimed
|
||||
SUBDIR += dsbdriverd
|
||||
SUBDIR += dsbmd
|
||||
SUBDIR += dsbwrtsysctl
|
||||
SUBDIR += dt
|
||||
SUBDIR += dtpstree
|
||||
|
28
sysutils/dsbmd/Makefile
Normal file
28
sysutils/dsbmd/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
Created by: Marcel Kaiser <mk@nic-nac-project.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dsbmd
|
||||
PORTVERSION= 0.1.2
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://freeshell.de/~mk/download/
|
||||
|
||||
MAINTAINER= mk@nic-nac-project.org
|
||||
COMMENT= Media mounting daemon
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USES= tar:tgz
|
||||
|
||||
USE_RC_SUBR= dsbmd
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
PLIST_FILES= libexec/dsbmd "@sample etc/dsbmd.conf.sample etc/dsbmd.conf"
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
PORTDOCS= README
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
sysutils/dsbmd/distinfo
Normal file
2
sysutils/dsbmd/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (dsbmd-0.1.2.tgz) = a6e80ef57ac69042b267599c9f31be847d5900ee5f54e87b5d2ed8500b7b26ba
|
||||
SIZE (dsbmd-0.1.2.tgz) = 148480
|
28
sysutils/dsbmd/files/dsbmd.in
Normal file
28
sysutils/dsbmd/files/dsbmd.in
Normal file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: dsbmd
|
||||
# REQUIRE: LOGIN devfs devd mountlate
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# Add these lines to /etc/rc.conf.local or /etc/rc.conf
|
||||
# to enable this service:
|
||||
#
|
||||
# dsbmd_enable (bool): Set to NO by default.
|
||||
# Set it to YES to enable dsbmd.
|
||||
#
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=dsbmd
|
||||
rcvar=dsbmd_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${dsbmd_enable:=NO}
|
||||
|
||||
command=%%PREFIX%%/libexec/${name}
|
||||
pidfile=/var/run/${name}.pid
|
||||
|
||||
run_rc_command "$1"
|
11
sysutils/dsbmd/pkg-descr
Normal file
11
sysutils/dsbmd/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
DSBMD is a media/filesystem type detecting daemon that allows clients to mount
|
||||
storage devices.
|
||||
|
||||
DSBMD watches the mount table for changes, monitors devd events for new storage
|
||||
devices, polls CD/DVD drives and card readers for media change events, deter-
|
||||
mines media types, volume names, and filesystem types. Mountable devices,
|
||||
changes in the mount table as well as device add/remove events and altered
|
||||
states of mountable devices are presented to clients. Clients can request DSBMD
|
||||
to mount, unmount, and eject media, or set the CD/DVD reading speed.
|
||||
|
||||
WWW: http://freeshell.de/~mk/projects/dsbmd.html
|
Loading…
Reference in New Issue
Block a user