[DragonFlyBSD - Bug #2403] newfs -E doesn't handle /dev/serno device names properly

Francois Tigeot via Redmine bugtracker-admin at leaf.dragonflybsd.org
Fri Aug 17 05:07:45 PDT 2012


Issue #2403 has been reported by Francois Tigeot.

----------------------------------------
Bug #2403: newfs -E doesn't handle /dev/serno device names properly
http://bugs.dragonflybsd.org/issues/2403

Author: Francois Tigeot
Status: New
Priority: Low
Assignee: 
Category: 
Target version: 


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


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account





More information about the Bugs mailing list