[sclug] Copy drive problem

John Stumbles sclug at yaph.org.uk
Mon Mar 4 23:58:20 UTC 2013


On 04/03/13 19:33, Dickon Hood wrote:

> That said, it is an odd flag to have.  /dev/disk/by-*/* are all symlinks,

oh cool: I wish I'd known/remembered those when I was trying to rebuild 
my raid box. Trying to work out which of two 1.5TB drives and which of 
two 2.0TBs was sda, sdb, c & d did my head in.
/dev/disk/by-path/ seems to show the physical order.


> for example, and it's quite handy to be able to pass those as device nodes
> to use, as they're consistent across reboots.  ZFS-on-Linux recommends
> using by-id/* for this reason.

 > That said, it is an odd flag to have.

Presumably the coders thought the default 'follow' behaviour was the 
sensible default so added 'nofollow' to allow for those infinitely rare 
occasions where coders fail to second-guess users' actual requirements? ;-)

-- 
John Stumbles                                       http://yaph.org.uk
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:



More information about the Sclug mailing list