summaryrefslogtreecommitdiff
path: root/libdiskfs/direnter.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-24 07:31:10 +0000
committerRoland McGrath <roland@gnu.org>1998-10-24 07:31:10 +0000
commitf8e9c21bc6f36840b308da7bb1c2d1be79386830 (patch)
treeb1a483b0eb4cb992d22d3cbe9fa26302d9b5158b /libdiskfs/direnter.c
parent00ccf96ef26845b7182bcbcf48ea061190b7184a (diff)
1998-04-04 Roland McGrath <roland@baalperazim.frob.com>
Add support for a "virtual root directory" specified at startup. * priv.h (_diskfs_chroot_directory): Declare new variable. * opts-std-startup.c (startup_options, parse_startup_opt): New string-valued option -C/--directory/--virtual-root/--chroot sets _diskfs_chroot_directory. * init-startup.c (_diskfs_chroot_directory): New variable. (diskfs_startup_diskfs): If that's set, look up the name and warp us to that as a virtual root directory. * fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's shadow_root_parent to null, and shadow_root to either null or, if _diskfs_chroot_directory is set, to diskfs_root_node.
Diffstat (limited to 'libdiskfs/direnter.c')
0 files changed, 0 insertions, 0 deletions