[haiku-development] bfs_fuse: can not create symlinks

  • From: Jens Arm <Jens.Arm@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 13 Jul 2009 09:17:39 +0200

Hi Haiku-Team


At the weeekend I was testing the bfs_fuse on many different disks 
(dvdram/usb-stick/...).

The only error I got was, that it is impossible to create symlinks (hardlinks 
not tested).
It is saying, that the file exits already:

tux@tux:~/media/bfs/myfs/test$ ls -lsa
total 14
6 drwxr-xr-x 1 root root 2048 Jul 13 09:07 .
4 drwxr-xr-x 1 root root 2048 Jul 12 12:52 ..
4 -rw-r--r-- 1 root root   30 Jul 13 09:08 test.txt

tux@tux:~/media/bfs/myfs/test$ ln -s test.txt t.t
ln: creating symbolic link `t.t' to `test.txt': File exists

tux@tux:~/media/bfs/myfs/test$ ls -lsa
total 14
6 drwxr-xr-x 1 root root 2048 Jul 13 09:07 .
4 drwxr-xr-x 1 root root 2048 Jul 12 12:52 ..
4 -rw-r--r-- 1 root root   30 Jul 13 09:08 test.txt


This is the output from the console where bfs_fuse is started:

unique: 1081, opcode: LOOKUP (1), nodeid: 37, insize: 44
LOOKUP /myfs/test/t.t
##getattr
GETATTR returned: -2147459069
   unique: 1081, error: -2 (No such file or directory), outsize: 16
unique: 1082, opcode: LOOKUP (1), nodeid: 37, insize: 44
LOOKUP /myfs/test/t.t
##getattr
GETATTR returned: -2147459069
   unique: 1082, error: -2 (No such file or directory), outsize: 16
unique: 1083, opcode: SYMLINK (6), nodeid: 37, insize: 53
SYMLINK /myfs/test/t.t
##symlink
   unique: 1083, error: -17 (File exists), outsize: 16


Jens

Other related posts: