Actions
Bug #2403
opennewfs -E doesn't handle /dev/serno device names properly
Start date:
08/17/2012
Due date:
% Done:
0%
Estimated time:
Description
Trying to run this command fails:
newfs_hammer -E -L USR_OBJ /dev/serno/00000000112233445566
Device:/dev/serno/00000000112233445566 (kern.cam.da.rno/00000000112233445566.trim_enabled) does not support the TRIM command
usage: newfs_hammer -L label [-Ef] [-b bootsize] [-m savesize] [-u undosize]
[-V version] special ...
The only trim_enabled sysctls id are of the form
kern.cam.da.0.trim_enabled
kern.cam.da.1.trim_enabled
kern.cam.da.2.trim_enabled
etc...
It seems newfs -E only expects drive names to be of the form /dev/daX
TRIM options in other utilities such as fdisk or disklabel may have the same issue
No data to display
Actions