diff options
author | mux <mux@FreeBSD.org> | 2002-08-03 16:03:21 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2002-08-03 16:03:21 +0000 |
commit | f72ce2f014de34b8615290f44d408be01938dd02 (patch) | |
tree | 767cb1c371d1f8a92f24d3039b035dc1af421bc6 /usr.sbin/mount_nwfs | |
parent | 3b6651b983ed2691da3bbc5b5c4cdc8cf4c65900 (diff) | |
download | FreeBSD-src-f72ce2f014de34b8615290f44d408be01938dd02.zip FreeBSD-src-f72ce2f014de34b8615290f44d408be01938dd02.tar.gz |
Now that the kernel is able to load modules itself,
remove all the code which was trying to do so.
This code was nasty in several ways, it was hiding
the kernel bug where the kernel was unable to properly
load a module, and it was quitting if it wasn't able
to load the module. The consequence is that an ABI
breakage of the vfsconf API would have broken *every*
mount utility.
Diffstat (limited to 'usr.sbin/mount_nwfs')
-rw-r--r-- | usr.sbin/mount_nwfs/mount_nwfs.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/usr.sbin/mount_nwfs/mount_nwfs.c b/usr.sbin/mount_nwfs/mount_nwfs.c index 8e37b09..af00071 100644 --- a/usr.sbin/mount_nwfs/mount_nwfs.c +++ b/usr.sbin/mount_nwfs/mount_nwfs.c @@ -76,7 +76,6 @@ main(int argc, char *argv[]) { struct nwfs_args mdata; struct ncp_conn_loginfo li; struct stat st; - struct vfsconf vfc; struct nw_entry_info einfo; struct tm *tm; time_t ltime; @@ -97,16 +96,6 @@ main(int argc, char *argv[]) { } } - error = getvfsbyname(NWFS_VFSNAME, &vfc); - if (error && vfsisloadable(NWFS_VFSNAME)) { - if(vfsload(NWFS_VFSNAME)) - err(EX_OSERR, "vfsload("NWFS_VFSNAME")"); - endvfsent(); - error = getvfsbyname(NWFS_VFSNAME, &vfc); - } - if (error) - errx(EX_OSERR, "NetWare filesystem is not available"); - if(ncp_initlib()) exit(1); mntflags = error = 0; |