mlabel.c File Reference

#include "sysincludes.h"
#include "msdos.h"
#include "mainloop.h"
#include "vfat.h"
#include "mtools.h"
#include "nameclash.h"

Include dependency graph for mlabel.c:

Go to the source code of this file.

Functions

char * label_name (char *filename, int verbose, int *mangled, char *ans)
int labelit (char *dosname, char *longname, void *arg0, direntry_t *entry)
static void usage (void)
void mlabel (int argc, char **argv, int type)


Function Documentation

char* label_name char *  filename,
int  verbose,
int *  mangled,
char *  ans
 

Definition at line 13 of file mlabel.c.

References i, islower, isupper, strchr, strcpy(), strlen(), strncpy(), and toupper.

Referenced by format_root(), and mlabel().

int labelit char *  dosname,
char *  longname,
void *  arg0,
direntry_t entry
 

Definition at line 46 of file mlabel.c.

References entry::dir, entry, getTimeNow(), mk_entry(), now, and time_t.

Referenced by format_root(), and mlabel().

void mlabel int  argc,
char **  argv,
int  type
 

Definition at line 73 of file mlabel.c.

References _WORD, ACCEPT_LABEL, ask_confirmation(), c, clear, DELMARK, entry::dir, dir_write(), drive, EACCES, entry, EOF, EPERM, errno, exit(), bootsector::ext, bootsector::fatlen, fgets(), force_read(), fprintf(), FREE, get_drive(), GetFs(), getopt(), ClashHandling_t::ignore_entry, init_clash_handling(), init_mp(), initializeDirentry(), interactive, isNotFound(), label_name(), oldboot_t::labelBlock, labelit(), longname, MATCH_ANY, mp, mwrite_one(), entry::name, ClashHandling_t::name_converter, NULL, O_RDONLY, O_RDWR, bootsector::old, open_root_dir(), optarg, optind, printf, r, random(), result, RootDir, shortname, show(), skip_drive(), srandom(), stderr, stdin, strlen(), strtol(), time, usage, VBUFSIZE, verbose, and vfat_lookup().

static void usage void   )  [static]
 

Definition at line 59 of file mlabel.c.

References exit(), fprintf(), mdate, mversion, progname, and stderr.


Generated on Fri Apr 14 23:04:15 2006 for minix by  doxygen 1.4.6