1 |
/* Roughly Unix/Linux-compatible `mount' frontend for Hurd translators. |
/* Roughly Unix/Linux-compatible `mount' frontend for Hurd translators. |
2 |
|
|
3 |
Copyright (C) 1999 Free Software Foundation, Inc. |
Copyright (C) 1999, 2004 Free Software Foundation, Inc. |
4 |
|
|
5 |
This file is part of the GNU Hurd. |
This file is part of the GNU Hurd. |
6 |
|
|
48 |
{"timeout", 'T', "MILLISECONDS", 0, "Timeout for translator startup"}, |
{"timeout", 'T', "MILLISECONDS", 0, "Timeout for translator startup"}, |
49 |
{"format", 'p', "mount|fstab|translator", OPTION_ARG_OPTIONAL, |
{"format", 'p', "mount|fstab|translator", OPTION_ARG_OPTIONAL, |
50 |
"Output format for query (no filesystem arguments)"}, |
"Output format for query (no filesystem arguments)"}, |
51 |
|
{"options", 'o', "OPTIONS", 0, "A `,' seperated list of options"}, |
52 |
|
{"readonly", 'r', 0, 0, "Never write to disk or allow opens for writing"}, |
53 |
|
{"writable", 'w', 0, 0, "Use normal read/write behavior"}, |
54 |
|
{"update", 'u', 0, 0, "Flush any meta-data cached in core"}, |
55 |
|
{"remount", 0, 0, OPTION_ALIAS}, |
56 |
|
{"verbose", 'v', 0, 0, "Give more detailed information"}, |
57 |
{0, 0} |
{0, 0} |
58 |
}; |
}; |
59 |
|
|
75 |
break |
break |
76 |
case 'r': ARGZ (add (&options, &options_len, "ro")); |
case 'r': ARGZ (add (&options, &options_len, "ro")); |
77 |
case 'w': ARGZ (add (&options, &options_len, "rw")); |
case 'w': ARGZ (add (&options, &options_len, "rw")); |
78 |
case 'u': ARGZ (add (&options, &options_len, "remount")); |
case 'u': ARGZ (add (&options, &options_len, "update")); |
79 |
case 'o': ARGZ (add_sep (&options, &options_len, arg, ',')); |
case 'o': ARGZ (add_sep (&options, &options_len, arg, ',')); |
80 |
case 'v': ++verbose; break; |
case 'v': ++verbose; break; |
81 |
#undef ARGZ |
#undef ARGZ |