On Fri, May 23, 2014 at 05:30:08PM +0800, Yu Li via smartos-discuss wrote: > hi, everyone, > > when back in smartos-201310... version, such as 20131003T221245Z > > the `rmformat -l` will return fastly, usually 1-2 seconds > > now in smartos-201404... version, such as 20140501T225642Z > > this same call `rmformat -l` will usually return after 1min. > > Do somebody know why? And is there any solution to make it return faster? > > PS: I use this cmd to find the dev of removable media (either DVD or USB) > in my program, as now it returns slower, it really makes me anxious > sometime. I know as it do return, it is a serious problem. But I just want > to know why, and is there anyway to speed it up.
Well, where is it spending its time? Have you tried using DTrace here, or even truss as a starting point? ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
