/* * Copyright (c) 1993 by Sun Microsystems, Inc. */ #pragma ident "@(#)errmsg.h 1.6 94/10/13 SMI" /* text for gettext error messages for adddrv.c and remdrv.c */ #define USAGE "Usage:\n"\ " add_drv [ -m ' ','<...>' ]\n"\ " [ -n ]\n"\ " [ -i '' ] \n"\ " [ -b ]\n"\ " [ -c ]\n"\ " \n"\ "Example:\n"\ " add_drv -m '* 0666 bin bin' -i 'acme,sd new,sd' sd \n"\ " Add 'sd' drive with identify names: acme,sd and new,sd.\n"\ " Every minor node will have the permission 0666,\n"\ " and be owned by bin with group bin.\n" #define BOOT_CLIENT "Reboot client to install driver.\n"\ "Note: major number maximum based on server, not client\n" #define ERR_ALIAS_IN_NAM_MAJ "Alias (%s) already in use as driver name.\n" #define ERR_ALIAS_IN_USE "(%s) already in use as a driver or alias.\n" #define ERR_CANT_ACCESS_FILE "Cannot access file (%s).\n" #define ERR_REM_LOCK "Cannot remove lockfile (%s). Remove by hand.\n" #define ERR_BAD_PATH "Bad syntax for pathname : (%s)\n" #define ERR_NO_DRVNAME "Missing driver name : (%s)\n" #define ERR_FORK_FAIL "Fork failed; cannot exec : %s\n" #define ERR_PROG_IN_USE "add_drv/rem_drv currently busy; try later\n" #define ERR_NOT_ROOT "You must be root to run this program.\n" #define ERR_BAD_LINE "Bad line in file %s : %s\n" #define ERR_CANNOT_OPEN "Cannot open (%s).\n" #define ERR_MIS_TOK "Option (%s) : missing token: (%s)\n" #define ERR_TOO_MANY_ARGS "Option (%s) : too many arguments: (%s)\n" #define ERR_BAD_MODE "Bad mode: (%s)\n" #define ERR_CANT_OPEN "Cannot open (%s)\n" #define ERR_NO_UPDATE "Cannot update (%s)\n" #define ERR_CANT_RM "Cannot remove temporary file (%s); remove by hand.\n" #define ERR_BAD_LINK "(%s) exists as (%s); Please rename by hand.\n" #define ERR_NO_MEM "Not enough memory\n" #define ERR_DEL_ENTRY "Cannot delete entry for driver (%s) from file (%s).\n" #define ERR_INT_UPDATE "Internal error updating (%s).\n" #define ERR_NOMOD "Cannot find module (%s).\n" #define ERR_MAX_MAJOR "Cannot get major device information.\n" #define ERR_NO_FREE_MAJOR "No available major numbers.\n" #define ERR_NOT_UNIQUE "Driver (%s) is already installed.\n" #define ERR_NOT_INSTALLED "Driver (%s) not installed.\n" #define ERR_UPDATE "Cannot update (%s).\n" #define ERR_MAX_EXCEEDS "Major number (%d) exceeds maximum (%d).\n" #define ERR_NO_CLEAN "Cannot update; check file %s and rem_drv %s by hand.\n" #define ERR_DEVLINKS "Warning: %s returned error. Run by hand\n" #define ERR_DISKS "Warning: %s returned error. Run by hand\n" #define ERR_TAPES "Warning: %s returned error. Run by hand\n" #define ERR_PORTS "Warning: %s returned error. Run by hand\n" #define ERR_CONFIG \ "Warning: Driver (%s) configuration failed. System could not install driver.\n" #define ERR_MODPATH "System error: Could not get module path.\n" /* remdrv messages */ #define REM_USAGE1 "Usage:\n\t rem_drv [ -b ] driver_name\n" #define ERR_NO_MAJ "Cannot get major number for : %s\n" #define ERR_NOUNLOAD "Cannot modunload driver : %s\n" #define ERR_UNLINK "Warning: Cannot remove %s from devfs namespace.\n" #define ERR_PIPE "System error : Cannot create pipe\n" #define ERR_EXEC "System error : Exec failed\n" #define ERR_DEVFSCLEAN \ "Warning: Cannot remove entries from devfs namespace for driver : %s.\n" #define ERR_DEVFSALCLEAN \ "Warning: Cannot remove alias entries from devfs namespace for driver : %s .\n" #define ERR_MODID "Cannot get modid for : (%s)\n" #define ERR_MODUN \ "Cannot unload module: %s\nWill be unloaded upon reboot.\n" #define ERR_NOENTRY "Cannot find (%s) in file : %s\n" /* drvsubr messages */ #define ERR_NOFILE "Warning: (%s) file missing.\n"