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}"
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to