History log of /haiku/src/add-ons/kernel/file_systems/nfs/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
d5202040 24-Nov-2018 Augustin Cavalier <waddlesplash@gmail.com>

Fix various instances of -Wsign-compare.

509e0b58 28-Sep-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

nfs: remove commented out and #ifdefed out code.

No need for the cruft.

9c3eb71b 27-Sep-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

NFS: set block size as reported from server.

Fixes #9787.

6f7fc220 07-Mar-2016 Axel Dörfler <axeld@pinc-software.de>

NodeMonitor: Added B_WATCH_CHILDREN flag.

* Added a directory argument for notify_{stat/attribute}_changed().
* This allows to watch only a directory, and get the notifications for
all of its files, not just add/remove entry notifications.

8db7ed33 22-Jun-2015 Augustin Cavalier <waddlesplash@gmail.com>

Delete useless gunk (mostly old Makefiles).

5a58ea80 09-May-2013 Jérôme Duval <jerome.duval@gmail.com>

nfs: fixes 64 bit warnings

eb5f3639 12-Feb-2012 Jerome Duval <jerome.duval@gmail.com>

Fixes some occurrences of 'variable set but not used', disables Werror for problematic items.

a527d1d5 30-Dec-2011 Philippe Saint-Pierre <stpere@gmail.com>

NFS: various checks added if malloc succeeded. (also coding style fix).

85819ae1 11-Dec-2011 Michael Lotz <mmlr@mlotz.ch>

Remove extra free() that lead to a double free. CID 10546.

d63f4274 18-Oct-2010 Jérôme Duval <korli@users.berlios.de>

added a file system call preallocate() as described in #6285, currently unused

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39006 a95241bf-73f2-0310-859d-f6bbb57e9c96

d9590f1c 13-Apr-2010 François Revol <revol@free.fr>

Remove duplicate assignment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36241 a95241bf-73f2-0310-859d-f6bbb57e9c96

1ac83b4f 24-Feb-2010 Rene Gollent <anevilyak@gmail.com>

Patch by mjw: Fix browsing subdirectories in NFS.
Partially fixes ticket #4661. Thanks!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35612 a95241bf-73f2-0310-859d-f6bbb57e9c96

95ba9505 01-May-2009 François Revol <revol@free.fr>

Fix missing NULLs corresponding to io() and cancel_io() hooks which made all other calls shifted... This should fix #3500 and #3832.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30546 a95241bf-73f2-0310-859d-f6bbb57e9c96

3cf43c26 25-Mar-2009 Ingo Weinhold <ingo_weinhold@gmx.de>

Removed the fs_vnode_ops::create_dir() parameter for returning the ID of the
newly created dir. The VFS really doesn't need it and for some file systems
it might not be easy to get by. Several file systems (e.g. rootfs and fat)
were ignoring the parameter anyway.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29719 a95241bf-73f2-0310-859d-f6bbb57e9c96

49004dc7 19-Feb-2009 Michael Lotz <mmlr@mlotz.ch>

Remove the additional fs_vnode_ops arugment from get_vnode() again as it's not
needed at all when used as intended. Thanks Ingo for the explanation on how this
is intended to work. Adjusted the overlay fs accordingly and updated/reverted
the changes to the other filesystems.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29250 a95241bf-73f2-0310-859d-f6bbb57e9c96

00405f22 09-Feb-2009 Michael Lotz <mmlr@mlotz.ch>

* Add an additional argument to get_vnode() that gets the fs_vnode_ops of the
node. That is needed for a layered filesystem to be able to construct a full
fs_vnode out of a volume/inode pair.
* Adapt places where get_vnode is used. Sadly this is a C API and we can't just
use a default NULL for that argument.
* Introduce a flag B_VNODE_WANTS_OVERLAY_SUB_NODE that can be returned in the
flags field of a fs get_vnode call. A filesystem can use this flag to indicate
that it doesn't support the full set of fs features (attributes, write support)
and it'd like to have unsupported calls emulated by an overlay sub node.
* Add a perliminary overlay filesystem that emulates file attributes using files
on a filesystem where attributes aren't supported. It does currently only
support reading attributes/attribute directories though. All other calls are
just passed through to the super filesystem.
* Adjust places where a HAS_FS_CALL() is taken as a guarantee that the operation
is supported. For the overlay filesystem we may later return a B_UNSUPPORTED,
so make sure that in that case proper fallback options are taken.
* Make the iso9660 filesystem request overlay sub nodes. This can be fine tuned
later to only trigger where there are features on a CD that need emulation
at all.

If you happened to know the attribute file format and location you could build
an iso with read-only attribute support now. Note that this won't be enough to
get a bootable iso-only image as the query and index support is yet missing.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29177 a95241bf-73f2-0310-859d-f6bbb57e9c96

057f999d 13-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a flag B_DISK_SYSTEM_SUPPORTS_WRITING to determine whether or not a
file system can write to files before mounting.
* Set the flag for all file systems that actually can write.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28055 a95241bf-73f2-0310-859d-f6bbb57e9c96

b30e56f2 18-May-2008 Axel Dörfler <axeld@pinc-software.de>

Applied patch by Marco Minutoli that adds the short name to nfs, and userlandfs.
Please note, though, that both of these file systems currently don't compile and
are not part of the image.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25561 a95241bf-73f2-0310-859d-f6bbb57e9c96

0039ad59 21-Apr-2008 Ryan Leavengood <leavengood@gmail.com>

Committing patch from Alex Roman, with a few small changes. This updates the NFS file system to the latest file system interface. Untested.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25093 a95241bf-73f2-0310-859d-f6bbb57e9c96

5e2ef462 23-Mar-2008 Axel Dörfler <axeld@pinc-software.de>

* Got rid of the duality of FS_WRITE_STAT_* vs. B_STAT_* flags (removed
the former ones).
* Removed extraneous white space.
* net_server settings are now also updated when the size of the
file changed.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24552 a95241bf-73f2-0310-859d-f6bbb57e9c96

6f1dac37 21-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* Fixed lots of warnings (there are still a lot left).
* Got rid of the PARAMS_AS_STRING stuff (it's always defined, anyway).
* Will remove BeOS support, too, in the future.
* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22644 a95241bf-73f2-0310-859d-f6bbb57e9c96

76a8ec23 22-Aug-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added disk system flags for whether a partition name and partition
content name are supported.
* Added file_system_module_info::flags (analogously to
partition_module_info::flags) which indicate which disk device
features the FS supports.
* Replaced the
hooks by a get_supported_operations() hook and for partitioning
systems additionally a get_supported_child_operations() hook.
* Updated file and partitioning systems accordingly.
* Updated fs_shell accordingly.
* Updated the DDM accordingly. The syscall interface remains unchanged,
* _user_supports_initializing_partition() also checks whether the parent
partitioning system is content now.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22043 a95241bf-73f2-0310-859d-f6bbb57e9c96

245aecda 21-Jun-2007 Axel Dörfler <axeld@pinc-software.de>

Got rid of vnode_id and mount_id, replaced with ino_t and dev_t.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21485 a95241bf-73f2-0310-859d-f6bbb57e9c96

55b36803 01-May-2007 François Revol <revol@free.fr>

don't provide get_vnode_name as we don't know how to do it. just set it to NULL and let the VFS handle it.
This should fix oddities in Tracker.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20961 a95241bf-73f2-0310-859d-f6bbb57e9c96

12d359b8 04-Mar-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

* Removed write_link from the FS module interface. Adjusted all FS
add-ons accordingly and removed the syscall.
* Removed send_notification().
* Reimplemented notify_listener(). It used the unimplemented
send_notification(). Now it has a chance to work. Note that
notify_listener() is obsolete. I would already have removed it, if
there weren't lots of FS implementations still using it (Hint!).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20329 a95241bf-73f2-0310-859d-f6bbb57e9c96

caa76e0d 26-Jan-2007 François Revol <revol@free.fr>

Fix some warnings (unused args...). Only bad protos left.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19967 a95241bf-73f2-0310-859d-f6bbb57e9c96

448d2a89 25-Jan-2007 François Revol <revol@free.fr>

Make sure strings are 0-terminated. Fix some settings values.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19952 a95241bf-73f2-0310-859d-f6bbb57e9c96

34b5fabe 21-Jan-2007 François Revol <revol@free.fr>

Fixed parsing of param string. It now starts mounting, but blocks waiting for a reply. Is udp working already ??

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19892 a95241bf-73f2-0310-859d-f6bbb57e9c96

943a1668 21-Jan-2007 François Revol <revol@free.fr>

hack around to get a string from params for now.
Cleaned up error handling in fs_mount.
Don't have time to test but it should now work under Haiku.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19890 a95241bf-73f2-0310-859d-f6bbb57e9c96

3567f14e 20-Jan-2007 François Revol <revol@free.fr>

It will probably build better with a jamfile :D

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19884 a95241bf-73f2-0310-859d-f6bbb57e9c96

4b05e555 20-Jan-2007 François Revol <revol@free.fr>

NFS now builds for Haiku. Still needs fixes to be able to mount.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19879 a95241bf-73f2-0310-859d-f6bbb57e9c96

2740b98d 18-Jan-2007 François Revol <revol@free.fr>

Hey, we do seem to have a socket_module of some sort. Hope it works.
Added wrapper code for ksocket header.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19864 a95241bf-73f2-0310-859d-f6bbb57e9c96

f4783a9f 29-Sep-2006 François Revol <revol@free.fr>

The fixed version of the NFS client

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18983 a95241bf-73f2-0310-859d-f6bbb57e9c96