smbd: Show blk and chr devices as nfs reparse points
commitbbe2c82f620e692272f6292ff86b4a2167e0d6c4
authorVolker Lendecke <vl@samba.org>
Mon, 8 Jul 2024 09:23:14 +0000 (8 11:23 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 12 Jul 2024 21:36:16 +0000 (12 21:36 +0000)
tree0549a42f52f17c9de1a5e017a09b2d693d1d30fe
parentcd7889deb8713f03d493acb93400270357e6f65e
smbd: Show blk and chr devices as nfs reparse points

Can't test these in selftest, we can't create devices and I don't want
us to depend on /dev to exist. Tested manually on a system where
/dev/null exists:

Try "help" to get a list of possible commands.
smb: \> allinfo null
altname: null
create_time:    Fri Jun 21 02:45:59 PM 2024 CEST
access_time:    Fri Jun 21 02:45:59 PM 2024 CEST
write_time:     Fri Jun 21 02:45:59 PM 2024 CEST
change_time:    Fri Jun 21 02:45:59 PM 2024 CEST
attributes:  (480)
stream: [::$DATA], 0 bytes
0x80000014 (IO_REPARSE_TAG_NFS)
 0x524843 (NFS_SPECFILE_CHR)
 1/3
smb: \>

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jul 12 21:36:16 UTC 2024 on atb-devel-224
source3/modules/util_reparse.c
source3/smbd/dosmode.c