Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152810273
D19441.id54924.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
419 B
Referenced Files
None
Subscribers
None
D19441.id54924.diff
View Options
Index: head/libexec/rc/rc.d/growfs
===================================================================
--- head/libexec/rc/rc.d/growfs
+++ head/libexec/rc/rc.d/growfs
@@ -57,7 +57,7 @@
;;
zfs)
pool=${FSDEV%%/*}
- rootdev=$(zpool list -v $pool | tail -n 1 | awk '{ print $1 }')
+ rootdev=$(zpool list -v $pool | awk 'END { print $1 }')
;;
*)
echo "Don't know how to grow root filesystem type: $FSTYPE"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 6:29 AM (16 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31703530
Default Alt Text
D19441.id54924.diff (419 B)
Attached To
Mode
D19441: Remove an unneeded 'tail -n 1' from a pipeline
Attached
Detach File
Event Timeline
Log In to Comment