From 57b1f8183ce032a9974ca8eda41833f3ece012b1 Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Wed, 16 May 2018 20:44:08 +0000 Subject: [PATCH] Set label when setting up USB LUNs, it looks nicer this way. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation --- etc/rc.d/cfumass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/rc.d/cfumass b/etc/rc.d/cfumass index 60082c3dc10f..064f23b37e1f 100755 --- a/etc/rc.d/cfumass +++ b/etc/rc.d/cfumass @@ -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}"