[NILFS users] mkcp does not follow symbolic links

Ryusuke Konishi ryusuke at osrg.net
Wed Nov 5 12:04:14 JST 2008


Hi,

On Tue, 4 Nov 2008 11:16:01 +0200, "Peter Smith" wrote:
> Hi
> 
> It seems that mkcp does not follow symbolic links
> 
> The command
> mkcp -s /dev/disk/by-id/usb-ST325031_5RY1_888888888888-0:0-part3
> gives this message:
> mkcp: /dev/disk/by-id/usb-ST325031_5RY1_888888888888-0:0-part3: cannot open
> NILFS
> 
> I use the 'disk/by-id' path because it is stable, despite
> removing/installing other drives
> 
> I solve the problem in my code by converting the symbolic link to a real
> path such as /dev/sde3
> and then mkcp works as expected.
> 
> I mention this because it is a potential trap for the unwary.
> 
> My environment is Suse Linux 10.3

Thanks for reporting this issue.

This comes from the nilfs2-utils stab library.
Hence, other tools including lscp, chcp, or lssu have the same problem.

I'll put it in our bugtrack list.

With regards,
Ryusuke Konishi



More information about the users mailing list