33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
$OpenBSD: patch-cmds_c,v 1.4 2007/06/06 11:39:53 steven Exp $
|
|
--- cmds.c.orig Wed Jun 6 13:34:53 2007
|
|
+++ cmds.c Wed Jun 6 13:36:16 2007
|
|
@@ -594,7 +594,6 @@ do_mount(int argc, const char ** argv)
|
|
#elif HAVE_BSD_MOUNT
|
|
{
|
|
struct ufs_args ufs;
|
|
- struct adosfs_args adosfs;
|
|
struct iso_args iso;
|
|
struct mfs_args mfs;
|
|
struct msdosfs_args msdosfs;
|
|
@@ -603,11 +602,6 @@ do_mount(int argc, const char ** argv)
|
|
if(!strcmp(type, "ffs") || !strcmp(type, "ufs")) {
|
|
ufs.fspec = (char*) argv[0];
|
|
args = &ufs;
|
|
- } else if(!strcmp(type, "adosfs")) {
|
|
- adosfs.fspec = (char*) argv[0];
|
|
- adosfs.uid = 0;
|
|
- adosfs.gid = 0;
|
|
- args = &adosfs;
|
|
} else if(!strcmp(type, "cd9660")) {
|
|
iso.fspec = (char*) argv[0];
|
|
args = &iso;
|
|
@@ -622,7 +616,7 @@ do_mount(int argc, const char ** argv)
|
|
} else {
|
|
fprintf(stderr, "Unknown filesystem type: %s", type);
|
|
fprintf(stderr,
|
|
- "Supported: ffs ufs adosfs cd9660 mfs msdos\n");
|
|
+ "Supported: ffs ufs cd9660 mfs msdos\n");
|
|
return;
|
|
}
|
|
|