[PC-BSD Testing] update-part-list.sh issue

Kris Moore kris at pcbsd.com
Wed Jan 27 02:57:08 PST 2010


On 01/25/2010 12:17, Ian Robinson wrote:
> 1.  update-part-list.sh:
>
> On Sat. Jan 23, 2009, Ian Robinson asked about a question about code in
> "update-part-list.sh" located at:
>>
> https://trac.pcbsd.org/browser/pcbsd/trunk/pc-sysinstall/backend-query/update-part-list.sh?order=date&desc=1
>>
>> Does line 93 need "umount" instead of "unmount"?
>
> The remainder of the post was difficult to read because of the links between
> the line # and the code.
> My bad.  Therefore here is a cleaned-up copy of the code post:
>
> 86 # If we are on ZFS, cleanup after the mount
> 87   if [ ! -z "${ZROOT}" ]
> 88   then
> 89   umount ${FSMNT}/bootdir>>${LOGOUT} 2>>${LOGOUT}
> 90   /bin/sh /tmp/TempUMount>>${LOGOUT} 2>>${LOGOUT}
> 91
> 92 # Unmount any extra fs from the zfs pool
> 93 zfs unmount -a>>${LOGOUT} 2>>${LOGOUT}<----------------------
> 94
> 95 umount ${FSMNT}>>${LOGOUT} 2>>${LOGOUT}
> 96 rm /tmp/TempUMount>/dev/null 2>/dev/null
> 97

According to the ZFS manpage, it uses "zfs unmount" :)


-- 

Kris Moore
PC-BSD Software
http://www.pcbsd.com


More information about the Testing mailing list