- Fixed vfs_get_vnode_from_fd() return type.
- Added vfs_open_vnode().
- Added a "bool traverseLeafLink" parameter to vfs_get_fs_node_from_path().
It was always resolving symlinks.
* device manager/devfs:
- devfs: get_node_for_path() no longer resolves leaf symlinks. That still
doesn't help with file disk devices, as creating partition wouldn't work
anyway.
- Pulled the module-related implementation part of BaseDevice into new class
AbstractModuleDevice and made all methods of BaseDevice virtual. Small
adjustments to devfs to be happy with the new BaseDevice interface.
- Added BaseDevice subclass FileDevice, which maps the interface to a file's
file descriptor. Still got a few TODOs, but should basically work.
- Use FileDevice for publishing file disk devices in devfs. Now those do
actually work, though there's some BFS trouble with one of the images I
tested.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33385 a95241bf-73f2-0310-859d-f6bbb57e9c96
23 lines
477 B
Plaintext
23 lines
477 B
Plaintext
SubDir HAIKU_TOP src system kernel device_manager ;
|
|
|
|
UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
|
|
UsePrivateHeaders [ FDirName kernel util ] shared ;
|
|
|
|
KernelMergeObject kernel_device_manager.o :
|
|
AbstractModuleDevice.cpp
|
|
BaseDevice.cpp
|
|
device_manager.cpp
|
|
devfs.cpp
|
|
FileDevice.cpp
|
|
id_generator.cpp
|
|
io_resources.cpp
|
|
IOScheduler.cpp
|
|
legacy_drivers.cpp
|
|
|
|
dma_resources.cpp
|
|
io_requests.cpp
|
|
IORequest.cpp
|
|
:
|
|
$(TARGET_KERNEL_PIC_CCFLAGS)
|
|
;
|