svn commit: r333685 - head/etc/rc.d
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed May 16 20:44:09 UTC 2018
Author: trasz
Date: Wed May 16 20:44:08 2018
New Revision: 333685
URL: https://svnweb.freebsd.org/changeset/base/333685
Log:
Set label when setting up USB LUNs, it looks nicer this way.
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Modified:
head/etc/rc.d/cfumass
Modified: head/etc/rc.d/cfumass
==============================================================================
--- head/etc/rc.d/cfumass Wed May 16 20:39:15 2018 (r333684)
+++ head/etc/rc.d/cfumass Wed May 16 20:44:08 2018 (r333685)
@@ -55,7 +55,8 @@ cfumass_start()
_files=`find "${cfumass_dir}" -newer "${cfumass_image}" -print 2> /dev/null`
if [ ! -e "${cfumass_image}" -o -n "${_files}" ]; then
# The image doesn't exist or is out of date.
- makefs -t cd9660 -o rockridge "${cfumass_image}" "${cfumass_dir}"
+ makefs -t cd9660 -o label="${cfumass_vendor}" \
+ -o rockridge "${cfumass_image}" "${cfumass_dir}"
err=$?
if [ "${err}" -ne 0 ]; then
warn "unable to create ${cfumass_image}"
More information about the svn-src-all
mailing list