DragonFly BSD
DragonFly bugs List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Francois Tigeot via Redmine <bugtracker-admin@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 17 Aug 2012 05:07:45 -0700

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]