Opened 16 years ago

Last modified 7 years ago

#1879 closed bug

Cannot create hard link — at Version 3

Reported by: kaliber Owned by: axeld
Priority: low Milestone: Unscheduled
Component: File Systems/BFS Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by axeld)

~>touch t1
~>ln t1 t2
/bin/ls: creating hard link `t2' => `t1': General system error

Change History (3)

comment:1 by axeld, 16 years ago

Component: System/KernelFile Systems/BFS
Milestone: R1Unscheduled
Priority: normallow

That's no surprise as BFS cannot support hard links due to its on disk representation.

comment:2 by emitrax, 16 years ago

Can this be fixed in BeOS? If not, we should at least modify our ln to report the "unsupported operation".

comment:3 by axeld, 16 years ago

Description: modified (diff)

Huh? As I wrote, BFS cannot support hard links with its current on-disk representation. The only way to fix it is to make it incompatible, but even that would be a bit problematic with queries (the correct thing would probably be to show all hard links then, not just one, ie. the node must know all of its parents).

In any case, I changed the return code in hrev27501.

Note: See TracTickets for help on using tickets.