[haiku-development] Re: bfs_shell: error "cp -r"

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 17 Jul 2009 13:59:59 +0200

On 2009-07-17 at 09:12:41 [+0200], Jens Arm <Jens.Arm@xxxxxx> wrote:
> Hi
> 
> 
> Little addition:
> 
> I can not copy anything anymore.
> Not recursive and not directly.
> 
> 
> Jens
> 
> 
> 
> On Fri, 17 Jul 2009 08:52:11 +0200
> Jens Arm <Jens.Arm@xxxxxx> wrote:
> 
> > Hello Haiku-Team
> > 
> > 
> > If I try to copy this directory today:
> > 
> > tux@tux:~$ ls -lsa /tmp/bfsTest
> > insgesamt 0
> > 0 drwxr-xr-x  2 tux  tux  120 2009-07-17 08:34 .
> > 0 drwxrwxrwt 10 root root 312 2009-07-17 08:34 ..
> > 0 -rw-r--r--  1 tux  tux    0 2009-07-17 08:34 1
> > 0 -rw-r--r--  1 tux  tux    0 2009-07-17 08:34 2
> > 0 -rw-r--r--  1 tux  tux    0 2009-07-17 08:34 3
> > 
> > with bfs_shell build yesterday evening to a USB-Stick under Linux
> > I get this:
> > 
> > tux@tux:~$ bfs_shell --initialize /dev/sdb 256M
> > tux@tux:~$ bfs_shell /dev/sdb
> > bfs: mounted "256M" (root node at 2057, device = /dev/sdb)
> > fssh:/> cd myfs
> > fssh:/myfs>
> > fssh:/myfs>
> > fssh:/myfs> cp -r :/tmp/bfsTest .
> > Error: Failed to open source path `/tmp/bfsTest': No such file or 
> > directory
> > fssh:/myfs>
> > fssh:/myfs> info
> > root inode:   2057
> > flags:        QAM-P-W
> > block size:   2048
> > I/O size:     65536
> > total size:   250.0M (128000 blocks)
> > free size:    245.7M (125805 blocks)
> > total nodes:  0
> > free nodes:   0
> > volume name:  256M
> > fs name:      bfs
> > fssh:/myfs>
> > 
> > 
> > The interesting thing is, that it has worked yesterday evening after the 
> > build, but today
> > it do not work anymore and I do not know why.
> > 
> > Any ideas?

The only reason I can imagine is that you haven't built that bfs_shell with 
xattr support and have now moved or deleted your generated directory (or any 
of its parents). That would cause the bfs_shell to fail opening the 
attribute directory of the source path.

CU, Ingo

Other related posts: