From: Karel Zak Date: Wed, 6 Dec 2006 23:25:52 +0000 (+0100) Subject: Imported from util-linux-2.11n tarball. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=612721dba838fe37af543421278416bb7acf770c;p=util-linux Imported from util-linux-2.11n tarball. --- diff --git a/HISTORY b/HISTORY index a9436450..b44d5fcc 100644 --- a/HISTORY +++ b/HISTORY @@ -1,3 +1,23 @@ +util-linux 2.11n + +* Danish messages (Claus Hindsgaul) +* No new French messages yet +* German messages (Karl Eichwalder) +* Swedish messages (Christian Rose) +* Turkish messages now in UTF-8 (Nilgün Belma Bugüner) +* blockdev: add --report option +* cal: fix for wide multibyte-char (Motonobu Ichimura) +* cfdisk: recognize ext3 and reiserfs (Flavio Stanchina) +* fsck.minix: i18n changes +* ipc.{info,texi}: minor correction +* login: compilation fix (Jaroslaw J. Pyszny) +* mount.8: tmpfs mount options (Karl Eichwalder) +* mount: recognize minix v2 +* mount: support mount-by-label also for lvm (Kirby Bohling) +* mount: order guessing of fstypes according to seek offset +* pivot_root: compilation fix for ia64 +* readprofile: byte order auto-detection (Werner Almesberger) + util-linux 2.11m * Danish messages (Claus Hindsgaul) diff --git a/MCONFIG b/MCONFIG index 36afcccc..60ba808a 100644 --- a/MCONFIG +++ b/MCONFIG @@ -89,7 +89,7 @@ HAVE_SLN=no HAVE_FDUTILS=no # This enables building of raw -# ADD_RAW=yes +ADD_RAW=yes # Different optimizations for different cpus. # gcc 3.0 likes options -mcpu=i486 instead of -m486 diff --git a/VERSION b/VERSION index 136c4ddc..7014172f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.11m +2.11n diff --git a/disk-utils/blockdev.c b/disk-utils/blockdev.c index 0407e4f9..367eeb23 100644 --- a/disk-utils/blockdev.c +++ b/disk-utils/blockdev.c @@ -29,6 +29,17 @@ #define BLKBSZSET _IOW(0x12,113,sizeof(int)) #endif +/* Maybe could be included */ +#ifndef HDIO_GETGEO +#define HDIO_GETGEO 0x0301 +struct hd_geometry { + unsigned char heads; + unsigned char sectors; + unsigned short cylinders; /* truncated */ + unsigned long start; +}; +#endif + const char *progname; struct bdc { @@ -85,7 +96,10 @@ struct bdc { static void usage(void) { int i; - fprintf(stderr, _("Usage: %s [-V] [-v|-q] commands devices\n"), progname); + fprintf(stderr, _("Usage:\n")); + fprintf(stderr, " %s -V\n", progname); + fprintf(stderr, _(" %s --report [devices]\n"), progname); + fprintf(stderr, _(" %s [-v|-q] commands devices\n"), progname); fprintf(stderr, _("Available commands:\n")); for (i = 0; i < SIZE(bdcms); i++) { fprintf(stderr, "\t%s", bdcms[i].name); @@ -109,6 +123,9 @@ find_cmd(char *s) { } void do_commands(int fd, char **argv, int d); +void report_header(void); +void report_device(char *device, int quiet); +void report_all_devices(void); int main(int argc, char **argv) { @@ -136,6 +153,18 @@ main(int argc, char **argv) { exit(0); } + /* --report not together with other commands */ + if (!strcmp(argv[1], "--report")) { + report_header(); + if (argc > 2) { + for (d = 2; d < argc; d++) + report_device(argv[d], 0); + } else { + report_all_devices(); + } + exit(0); + } + /* do each of the commands on each of the devices */ /* devices start after last command */ for (d = 1; d < argc; d++) { @@ -188,7 +217,8 @@ do_commands(int fd, char **argv, int d) { j = find_cmd(argv[i]); if (j == -1) { - fprintf(stderr, _("%s: Unknown command: %s\n"), progname, argv[i]); + fprintf(stderr, _("%s: Unknown command: %s\n"), + progname, argv[i]); usage(); } @@ -246,8 +276,72 @@ do_commands(int fd, char **argv, int d) { break; default: if (verbose) - printf("%s succeeded.\n", _(bdcms[j].help)); + printf(_("%s succeeded.\n"), _(bdcms[j].help)); break; } } } + +#define PROC_PARTITIONS "/proc/partitions" + +void +report_all_devices(void) { + FILE *procpt; + char line[200]; + char ptname[200]; + char device[210]; + int ma, mi, sz; + + procpt = fopen(PROC_PARTITIONS, "r"); + if (!procpt) { + fprintf(stderr, _("%s: cannot open %s\n"), + progname, PROC_PARTITIONS); + exit(1); + } + + while (fgets(line, sizeof(line), procpt)) { + if (sscanf (line, " %d %d %d %[^\n ]", + &ma, &mi, &sz, ptname) != 4) + continue; + + sprintf(device, "/dev/%s", ptname); + report_device(device, 1); + } +} + +void +report_device(char *device, int quiet) { + int fd; + int ro, ssz, bsz; + long ra, sz, ss; + struct hd_geometry g; + + fd = open(device, O_RDONLY | O_NONBLOCK); + if (fd < 0) { + if (!quiet) + fprintf(stderr, _("%s: cannot open %s\n"), + progname, device); + return; + } + + ro = ssz = bsz = 0; + g.start = ra = sz = ss = 0; + if (ioctl (fd, BLKROGET, &ro) == 0 && + ioctl (fd, BLKRAGET, &ra) == 0 && + ioctl (fd, BLKSSZGET, &ssz) == 0 && + ioctl (fd, BLKBSZGET, &bsz) == 0 && + ioctl (fd, BLKGETSIZE, &sz) == 0 && + ioctl (fd, HDIO_GETGEO, &g) == 0) { + printf("%s %5ld %5d %5d %10ld %10ld %s\n", + ro ? "ro" : "rw", ra, ssz, bsz, g.start, sz, device); + } else { + if (!quiet) + fprintf(stderr, _("%s: ioctl error on %s\n"), + progname, device); + } +} + +void +report_header() { + printf(_("RO RA SSZ BSZ StartSec Size Device\n")); +} diff --git a/disk-utils/fsck.minix.c b/disk-utils/fsck.minix.c index 2a706c56..2a109b84 100644 --- a/disk-utils/fsck.minix.c +++ b/disk-utils/fsck.minix.c @@ -142,6 +142,9 @@ static int termios_set = 0; #define MAX_DEPTH 50 static int name_depth = 0; static char name_list[MAX_DEPTH][NAME_MAX+1]; +/* Copy of the previous, just for error reporting - see get_current_name */ +/* This is a waste of 12kB or so. */ +static char current_name[MAX_DEPTH*(NAME_MAX+1)+1]; static char * inode_buffer = NULL; #define Inode (((struct minix_inode *) inode_buffer)-1) @@ -210,13 +213,21 @@ die(const char *str) { * current file. */ static void -print_current_name(void) { - int i = 0; - - while (i < name_depth) - printf("/%.*s", namelen, name_list[i++]); +get_current_name(void) { + int i = 0, ct; + char *p, *q; + + q = current_name; + while (i < name_depth) { + p = name_list[i++]; + ct = namelen; + *q++ = '/'; + while (ct-- && *p) + *q++ = *p++; + } if (i == 0) - printf ("/"); + *q++ = '/'; + *q = 0; } static int @@ -315,14 +326,18 @@ static int check_zone_nr(unsigned short * nr, int * corrected) { if (!*nr) return 0; - if (*nr < FIRSTZONE) - printf(_("Zone nr < FIRSTZONE in file `")); - else if (*nr >= ZONES) - printf(_("Zone nr >= ZONES in file `")); - else + + if (*nr < FIRSTZONE) { + get_current_name(); + printf(_("Zone nr < FIRSTZONE in file `%s'."), + current_name); + } else if (*nr >= ZONES) { + get_current_name(); + printf(_("Zone nr >= ZONES in file `%s'."), + current_name); + } else return *nr; - print_current_name(); - printf(_("'.")); + if (ask(_("Remove block"),1)) { *nr = 0; *corrected = 1; @@ -335,14 +350,18 @@ static int check_zone_nr2 (unsigned int *nr, int *corrected) { if (!*nr) return 0; - if (*nr < FIRSTZONE) - printf (_("Zone nr < FIRSTZONE in file `")); - else if (*nr >= ZONES) - printf (_("Zone nr >= ZONES in file `")); - else + + if (*nr < FIRSTZONE) { + get_current_name(); + printf (_("Zone nr < FIRSTZONE in file `%s'."), + current_name); + } else if (*nr >= ZONES) { + get_current_name(); + printf (_("Zone nr >= ZONES in file `%s'."), + current_name); + } else return *nr; - print_current_name (); - printf (_("'.")); + if (ask (_("Remove block"), 1)) { *nr = 0; *corrected = 1; @@ -361,15 +380,15 @@ read_block(unsigned int nr, char * addr) { return; } if (BLOCK_SIZE*nr != lseek(IN, BLOCK_SIZE*nr, SEEK_SET)) { - printf(_("Read error: unable to seek to block in file '")); - print_current_name(); - printf(_("'\n")); + get_current_name(); + printf(_("Read error: unable to seek to block in file '%s'\n"), + current_name); memset(addr,0,BLOCK_SIZE); errors_uncorrected = 1; } else if (BLOCK_SIZE != read(IN, addr, BLOCK_SIZE)) { - printf(_("Read error: bad block in file '")); - print_current_name(); - printf(_("'\n")); + get_current_name(); + printf(_("Read error: bad block in file '%s'\n"), + current_name); memset(addr,0,BLOCK_SIZE); errors_uncorrected = 1; } @@ -391,9 +410,9 @@ write_block(unsigned int nr, char * addr) { if (BLOCK_SIZE*nr != lseek(IN, BLOCK_SIZE*nr, SEEK_SET)) die(_("seek failed in write_block")); if (BLOCK_SIZE != write(IN, addr, BLOCK_SIZE)) { - printf(_("Write error: bad block in file '")); - print_current_name(); - printf(_("'\n")); + get_current_name(); + printf(_("Write error: bad block in file '%s'\n"), + current_name); errors_uncorrected = 1; } } @@ -637,10 +656,10 @@ get_inode(unsigned int nr) { inode = Inode + nr; if (!inode_count[nr]) { if (!inode_in_use(nr)) { - printf(_("Inode %d marked not used, " - "but used for file '"), nr); - print_current_name(); - printf(_("'\n")); + get_current_name(); + printf(_("Inode %d marked unused, " + "but used for file '%s'\n"), + nr, current_name); if (repair) { if (ask(_("Mark in use"),1)) mark_inode(nr); @@ -663,8 +682,9 @@ get_inode(unsigned int nr) { else if (S_ISFIFO(inode->i_mode)) ; else { - print_current_name(); - printf(_(" has mode %05o\n"),inode->i_mode); + get_current_name(); + printf(_("The file `%s' has mode %05o\n"), + current_name, inode->i_mode); } } else @@ -688,10 +708,10 @@ get_inode2 (unsigned int nr) { inode = Inode2 + nr; if (!inode_count[nr]) { if (!inode_in_use (nr)) { - printf (_("Inode %d marked not used, " - "but used for file '"), nr); - print_current_name (); - printf (_("'\n")); + get_current_name(); + printf (_("Inode %d marked unused, " + "but used for file '%s'\n"), + nr, current_name); if (repair) { if (ask (_("Mark in use"), 1)) mark_inode (nr); @@ -712,8 +732,9 @@ get_inode2 (unsigned int nr) { else if (S_ISSOCK (inode->i_mode)); else if (S_ISFIFO (inode->i_mode)); else { - print_current_name (); - printf (_(" has mode %05o\n"), inode->i_mode); + get_current_name (); + printf (_("The file `%s' has mode %05o\n"), + current_name, inode->i_mode); } } else links++; @@ -754,9 +775,9 @@ add_zone(unsigned short * znr, int * corrected) { if (!block) return 0; if (zone_count[block]) { - printf(_("Block has been used before. Now in file `")); - print_current_name(); - printf(_("'.")); + get_current_name(); + printf(_("Block has been used before. Now in file `%s'."), + current_name); if (ask(_("Clear"),1)) { *znr = 0; block = 0; @@ -766,9 +787,9 @@ add_zone(unsigned short * znr, int * corrected) { if (!block) return 0; if (!zone_in_use(block)) { - printf(_("Block %d in file `"),block); - print_current_name(); - printf(_("' is marked not in use.")); + get_current_name(); + printf(_("Block %d in file `%s' is marked not in use."), + block, current_name); if (ask(_("Correct"),1)) mark_zone(block); } @@ -788,9 +809,9 @@ add_zone2 (unsigned int *znr, int *corrected) { if (!block) return 0; if (zone_count[block]) { - printf (_("Block has been used before. Now in file `")); - print_current_name (); - printf (_("'.")); + get_current_name(); + printf (_("Block has been used before. Now in file `%s'."), + current_name); if (ask (_("Clear"), 1)) { *znr = 0; block = 0; @@ -800,9 +821,9 @@ add_zone2 (unsigned int *znr, int *corrected) { if (!block) return 0; if (!zone_in_use (block)) { - printf (_("Block %d in file `"), block); - print_current_name (); - printf (_("' is marked not in use.")); + get_current_name(); + printf (_("Block %d in file `%s' is marked not in use."), + block, current_name); if (ask (_("Correct"), 1)) mark_zone (block); } @@ -948,10 +969,10 @@ check_file(struct minix_inode * dir, unsigned int offset) { name = blk + (offset % BLOCK_SIZE) + 2; ino = * (unsigned short *) (name-2); if (ino > INODES) { - printf(_("The directory '")); - print_current_name(); - printf(_("' contains a bad inode number for file '%.*s'."), - namelen, name); + get_current_name(); + printf(_("The directory '%s' contains a bad inode number " + "for file '%.*s'."), + current_name, namelen, name); if (ask(_(" Remove"),1)) { *(unsigned short *)(name-2) = 0; write_block(block, blk); @@ -965,15 +986,17 @@ check_file(struct minix_inode * dir, unsigned int offset) { name_depth--; if (!offset) { if (!inode || strcmp(".",name)) { - print_current_name(); - printf(_(": bad directory: '.' isn't first\n")); + get_current_name(); + printf(_("`%s': bad directory: '.' isn't first\n"), + current_name); errors_uncorrected = 1; } else return; } if (offset == dirsize) { if (!inode || strcmp("..",name)) { - print_current_name(); - printf(_(": bad directory: '..' isn't second\n")); + get_current_name(); + printf(_("`%s': bad directory: '..' isn't second\n"), + current_name); errors_uncorrected = 1; } else return; } @@ -986,7 +1009,8 @@ check_file(struct minix_inode * dir, unsigned int offset) { if (verbose) printf("%6d %07o %3d ", ino, inode->i_mode, inode->i_nlinks); - print_current_name(); + get_current_name(); + printf("%s", current_name); if (S_ISDIR(inode->i_mode)) printf(":\n"); else @@ -1013,10 +1037,10 @@ check_file2 (struct minix2_inode *dir, unsigned int offset) { name = blk + (offset % BLOCK_SIZE) + 2; ino = *(unsigned short *) (name - 2); if (ino > INODES) { - printf(_("The directory '")); - print_current_name (); - printf (_("' contains a bad inode number for file '%.*s'."), - namelen, name); + get_current_name(); + printf(_("The directory '%s' contains a bad inode number " + "for file '%.*s'."), + current_name, namelen, name); if (ask (_(" Remove"), 1)) { *(unsigned short *) (name - 2) = 0; write_block (block, blk); @@ -1030,16 +1054,18 @@ check_file2 (struct minix2_inode *dir, unsigned int offset) { name_depth--; if (!offset) { if (!inode || strcmp (".", name)) { - print_current_name (); - printf (_(": bad directory: '.' isn't first\n")); + get_current_name (); + printf (_("%s: bad directory: '.' isn't first\n"), + current_name); errors_uncorrected = 1; } else return; } if (offset == dirsize) { if (!inode || strcmp ("..", name)) { - print_current_name (); - printf (_(": bad directory: '..' isn't second\n")); + get_current_name (); + printf (_("%s: bad directory: '..' isn't second\n"), + current_name); errors_uncorrected = 1; } else return; @@ -1049,8 +1075,10 @@ check_file2 (struct minix2_inode *dir, unsigned int offset) { name_depth++; if (list) { if (verbose) - printf ("%6d %07o %3d ", ino, inode->i_mode, inode->i_nlinks); - print_current_name (); + printf ("%6d %07o %3d ", ino, inode->i_mode, + inode->i_nlinks); + get_current_name (); + printf("%s", current_name); if (S_ISDIR (inode->i_mode)) printf (":\n"); else @@ -1073,8 +1101,9 @@ recursive_check(unsigned int ino) { if (!S_ISDIR(dir->i_mode)) die(_("internal error")); if (dir->i_size < 2 * dirsize) { - print_current_name(); - printf(_(": bad directory: size < 32")); + get_current_name(); + printf(_("%s: bad directory: size < 32"), + current_name); errors_uncorrected = 1; } for (offset = 0 ; offset < dir->i_size ; offset += dirsize) @@ -1091,8 +1120,9 @@ recursive_check2 (unsigned int ino) { if (!S_ISDIR (dir->i_mode)) die ("internal error"); if (dir->i_size < 2 * dirsize) { - print_current_name (); - printf (_(": bad directory: size < 32")); + get_current_name (); + printf (_("%s: bad directory: size < 32"), + current_name); errors_uncorrected = 1; } for (offset = 0; offset < dir->i_size; offset += dirsize) diff --git a/fdisk/cfdisk.8 b/fdisk/cfdisk.8 index 09dd5470..fc956d57 100644 --- a/fdisk/cfdisk.8 +++ b/fdisk/cfdisk.8 @@ -418,7 +418,9 @@ command (above) for more information on the print formats. 0: No errors; 1: Invocation error; 2: I/O error; 3: cannot get geometry; 4: bad partition table on disk. .SH "SEE ALSO" -fdisk(8) +.BR fdisk (8), +.BR parted (8), +.BR sfdisk (8) .SH BUGS The current version does not support multiple disks. .SH AUTHOR diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c index f39fec61..656b1aea 100644 --- a/fdisk/cfdisk.c +++ b/fdisk/cfdisk.c @@ -49,6 +49,8 @@ * Terabyte-sized disks. * Sat Jun 30 05:23:19 EST 2001 * XFS label recognition. + * Thu Nov 22 15:42:56 CET 2001 + * ext3 and ReiserFS recognition. * ****************************************************************************/ @@ -399,8 +401,12 @@ partition_type_text(int i) { else if (p_info[i].id == LINUX) { if (!strcmp(p_info[i].fstype, "ext2")) return _("Linux ext2"); + else if (!strcmp(p_info[i].fstype, "ext3")) + return _("Linux ext3"); else if (!strcmp(p_info[i].fstype, "xfs")) return _("Linux XFS"); + else if (!strcmp(p_info[i].fstype, "reiserfs")) + return _("Linux ReiserFS"); else return _("Linux"); } else if (p_info[i].id == OS2_OR_NTFS) { @@ -593,84 +599,116 @@ dos_copy_to_info(char *to, int tosz, char *from, int fromsz) { static void get_dos_label(int i) { - char sector[128]; + char sector[128]; #define DOS_OSTYPE_OFFSET 3 #define DOS_LABEL_OFFSET 43 #define DOS_FSTYPE_OFFSET 54 #define DOS_OSTYPE_SZ 8 #define DOS_LABEL_SZ 11 #define DOS_FSTYPE_SZ 8 - ext2_loff_t offset; - - offset = ((ext2_loff_t) p_info[i].first_sector + p_info[i].offset) - * SECTOR_SIZE; - if (ext2_llseek(fd, offset, SEEK_SET) == offset - && read(fd, §or, sizeof(sector)) == sizeof(sector)) { - dos_copy_to_info(p_info[i].ostype, OSTYPESZ, - sector+DOS_OSTYPE_OFFSET, DOS_OSTYPE_SZ); - dos_copy_to_info(p_info[i].volume_label, LABELSZ, - sector+DOS_LABEL_OFFSET, DOS_LABEL_SZ); - dos_copy_to_info(p_info[i].fstype, FSTYPESZ, - sector+DOS_FSTYPE_OFFSET, DOS_FSTYPE_SZ); - } + ext2_loff_t offset; + + offset = ((ext2_loff_t) p_info[i].first_sector + p_info[i].offset) + * SECTOR_SIZE; + if (ext2_llseek(fd, offset, SEEK_SET) == offset + && read(fd, §or, sizeof(sector)) == sizeof(sector)) { + dos_copy_to_info(p_info[i].ostype, OSTYPESZ, + sector+DOS_OSTYPE_OFFSET, DOS_OSTYPE_SZ); + dos_copy_to_info(p_info[i].volume_label, LABELSZ, + sector+DOS_LABEL_OFFSET, DOS_LABEL_SZ); + dos_copy_to_info(p_info[i].fstype, FSTYPESZ, + sector+DOS_FSTYPE_OFFSET, DOS_FSTYPE_SZ); + } +} + +#define REISERFS_SUPER_MAGIC_STRING "ReIsErFs" +#define REISER2FS_SUPER_MAGIC_STRING "ReIsEr2Fs" +struct reiserfs_super_block { + char s_dummy0[ 52]; + char s_magic [ 12]; + char s_dummy1[140]; +}; + +static int +is_reiserfs_magic_string(const struct reiserfs_super_block *rs) { + return (!strncmp(rs->s_magic, REISERFS_SUPER_MAGIC_STRING, + strlen(REISERFS_SUPER_MAGIC_STRING)) || + !strncmp(rs->s_magic, REISER2FS_SUPER_MAGIC_STRING, + strlen(REISER2FS_SUPER_MAGIC_STRING))); } static void get_linux_label(int i) { -#define EXT2_SUPER_MAGIC 0xEF53 #define EXT2LABELSZ 16 - struct ext2_super_block { - char s_dummy0[56]; - unsigned char s_magic[2]; - char s_dummy1[62]; - char s_volume_name[EXT2LABELSZ]; - char s_last_mounted[64]; - char s_dummy2[824]; - } e2fsb; +#define EXT2_SUPER_MAGIC 0xEF53 +#define EXT3_FEATURE_COMPAT_HAS_JOURNAL 0x0004 + struct ext2_super_block { + char s_dummy0[56]; + unsigned char s_magic[2]; + char s_dummy1[34]; + unsigned char s_feature_compat[4]; + char s_dummy2[24]; + char s_volume_name[EXT2LABELSZ]; + char s_last_mounted[64]; + char s_dummy3[824]; + } e2fsb; + +#define REISERFS_DISK_OFFSET_IN_BYTES (64 * 1024) + struct reiserfs_super_block reiserfsb; #define XFS_SUPER_MAGIC "XFSB" #define XFSLABELSZ 12 - struct xfs_super_block { - unsigned char s_magic[4]; - unsigned char s_dummy0[104]; - unsigned char s_fname[XFSLABELSZ]; - unsigned char s_dummy1[904]; - } xfsb; - - char *label; - ext2_loff_t offset; - int j; + struct xfs_super_block { + unsigned char s_magic[4]; + unsigned char s_dummy0[104]; + unsigned char s_fname[XFSLABELSZ]; + unsigned char s_dummy1[904]; + } xfsb; + + char *label; + ext2_loff_t offset; + int j; + + offset = ((ext2_loff_t) p_info[i].first_sector + p_info[i].offset) + * SECTOR_SIZE + 1024; + if (ext2_llseek(fd, offset, SEEK_SET) == offset + && read(fd, &e2fsb, sizeof(e2fsb)) == sizeof(e2fsb) + && e2fsb.s_magic[0] + (e2fsb.s_magic[1]<<8) == EXT2_SUPER_MAGIC) { + label = e2fsb.s_volume_name; + for(j=0; j 0) { + len = wcswidth(lineout_wc,len); + } else { + len = strlen(lineout); + } #endif (void)sprintf(out->s[0],"%*s%s", ((julian ? J_WEEK_LEN : WEEK_LEN) - len) / 2, "", lineout ); @@ -630,7 +650,11 @@ center(str, len, separate) wchar_t str_wc[300]; int str_len; - str_len = mbstowcs(str_wc,str,300); + if (mbstowcs(str_wc,str,300) > 0) { + str_len = wcswidth(str_wc,300); + } else { + str_len = strlen(str); + } len -= str_len; #else len -= strlen(str); diff --git a/mount/linux_fs.h b/mount/linux_fs.h index 1ed02b8c..53cdf573 100644 --- a/mount/linux_fs.h +++ b/mount/linux_fs.h @@ -13,8 +13,10 @@ #endif #endif -#define MINIX_SUPER_MAGIC 0x137F /* original minix fs */ -#define MINIX_SUPER_MAGIC2 0x138F /* minix fs, 30 char names */ +#define MINIX_SUPER_MAGIC 0x137F /* minix v1, 14 char names */ +#define MINIX_SUPER_MAGIC2 0x138F /* minix v1, 30 char names */ +#define MINIX2_SUPER_MAGIC 0x2468 /* minix v2, 14 char names */ +#define MINIX2_SUPER_MAGIC2 0x2478 /* minix v2, 30 char names */ struct minix_super_block { u_char s_dummy[16]; u_char s_magic[2]; diff --git a/mount/mount.8 b/mount/mount.8 index 0280bb84..7114b295 100644 --- a/mount/mount.8 +++ b/mount/mount.8 @@ -36,6 +36,7 @@ .\" 990730, Yann Droneaud : updated page .\" 991214, Elrond : added some docs on devpts .\" 010725, Nikita Danilov : reiserfs options +.\" 011124, Karl Eichwalder : tmpfs options .\" .TH MOUNT 8 "14 September 1997" "Linux 2.0" "Linux Programmer's Manual" .SH NAME @@ -347,6 +348,7 @@ currently supported are: .IR romfs , .IR smbfs , .IR sysv , +.IR tmpfs , .IR udf , .IR ufs , .IR umsdos , @@ -391,9 +393,25 @@ is the default. If no option is given, or if the .B auto type is specified, the superblock is probed for the filesystem type -.RI ( minix ", " ext ", " ext2 ", " ext3 ", " xiafs ", " iso9660 , -.IR jfs ", " reiserfs ", " romfs ", " ufs ", " ntfs ", " qnx4 ", " bfs , -.IR xfs ", " cramfs ", " hfs ", " hpfs ", " adfs ", " vxfs +.RI ( adfs , +.IR bfs , +.IR cramfs , +.IR ext , +.IR ext2 , +.IR ext3 , +.IR hfs , +.IR hpfs , +.IR iso9660 , +.IR jfs , +.IR minix , +.IR ntfs , +.IR qnx4 , +.IR reiserfs , +.IR romfs , +.IR ufs , +.IR vxfs , +.IR xfs , +.IR xiafs are supported). If this probe fails, mount will try to read the file .IR /etc/filesystems , @@ -1235,6 +1253,28 @@ and the current version of .SH "Mount options for sysv" None. +.SH "Mount options for tmpfs" +The following parameters accept a suffix +.BR k , +.B m +or +.B g +for Ki, Mi, Gi (binary kilo, mega and giga) and can be changed on remount. +.TP +.BI size= nbytes +Override default size of the filesystem. +The size is given in bytes, and rounded down to entire pages. +The default is half of the memory. +.TP +.B nr_blocks= +Set number of blocks. +.TP +.B nr_inodes= +Set number of inodes. +.TP +.B mode= +Set initial permissions of the root directory. + .SH "Mount options for udf" .TP .B gid= diff --git a/mount/mount.c b/mount/mount.c index 8d62087e..97b8aebb 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -653,7 +653,7 @@ cdrom_setspeed(char *spec) { int speed = atoi(opt_speed); if ((cdrom = open(spec, O_RDONLY | O_NONBLOCK)) < 0) - die(EX_FAIL, _("mount: cannot not open %s for setting speed"), + die(EX_FAIL, _("mount: cannot open %s for setting speed"), spec); if (ioctl(cdrom, CDROM_SELECT_SPEED, speed) < 0) die(EX_FAIL, _("mount: cannot set speed: %s"), diff --git a/mount/mount_by_label.c b/mount/mount_by_label.c index f4d455d7..988974f7 100644 --- a/mount/mount_by_label.c +++ b/mount/mount_by_label.c @@ -9,6 +9,8 @@ * - Added cache for UUID and disk labels * 2000-11-07 Nathan Scott * - Added XFS support + * 2001-11-22 Kirby Bohling + * - Added support of labels on LVM */ #include @@ -16,6 +18,9 @@ #include #include #include +#include +#include /* needed for opendir */ +#include #include "sundries.h" /* for xstrdup */ #include "linux_fs.h" #include "mount_by_label.h" @@ -23,6 +28,7 @@ #define PROC_PARTITIONS "/proc/partitions" #define DEVLABELDIR "/dev" +#define VG_DIR "/proc/lvm/VGs" static struct uuidCache_s { struct uuidCache_s *next; @@ -87,6 +93,44 @@ uuidcache_addentry(char *device, char *label, char *uuid) { memcpy(last->uuid, uuid, sizeof(last->uuid)); } +/* LVM support - Kirby Bohling */ +static void +uuidcache_init_lvm(void) { + char buffer[PATH_MAX]; + char lvm_device[PATH_MAX]; + DIR *vg_dir, *lv_list; + struct dirent *vg_iter, *lv_iter; + char uuid[16], *label; + + vg_dir = opendir(VG_DIR); + if (vg_dir == NULL) /* to be expected */ + return; + + seekdir(vg_dir, 2); + while ((vg_iter = readdir(vg_dir)) != 0) { + sprintf(buffer, "%s/%s/LVs", VG_DIR, vg_iter->d_name); + lv_list = opendir(buffer); + if (lv_list == NULL) { + perror("mount (init_lvm)"); + continue; + } + seekdir(lv_list, 2); + while ((lv_iter = readdir(lv_list)) != 0) { + /* Now we have the file.. could open it and read out + * where the device is, read the first line, second + * field... Instead we guess. + */ + sprintf(lvm_device, "%s/%s/%s", DEVLABELDIR, + vg_iter->d_name, lv_iter->d_name); + if (!get_label_uuid(lvm_device, &label, uuid)) + uuidcache_addentry(strdup(lvm_device), + label, uuid); + } + closedir(lv_list); + } + closedir(vg_dir); +} + static void uuidcache_init(void) { char line[100]; @@ -152,6 +196,8 @@ uuidcache_init(void) { } fclose(procpt); + + uuidcache_init_lvm(); } #define UUID 1 diff --git a/mount/mount_guess_fstype.c b/mount/mount_guess_fstype.c index f6940af3..6b8def09 100644 --- a/mount/mount_guess_fstype.c +++ b/mount/mount_guess_fstype.c @@ -76,7 +76,7 @@ assemble4le(unsigned char *p) { Corrected the test for xiafs - aeb Read the superblock only once - aeb Added a very weak heuristic for vfat - aeb - Added iso9660, romfs, qnx4, udf, vxfs, swap - aeb + Added iso9660, minix-v2, romfs, qnx4, udf, vxfs, swap - aeb Added a test for high sierra (iso9660) - quinlan@bucknell.edu Added ufs from a patch by jj. But maybe there are several types of ufs? Added ntfs from a patch by Richard Russon. @@ -94,14 +94,47 @@ static char "vxfs", "xfs", "xiafs" }; +static struct tried { + struct tried *next; + char *type; +} *tried = NULL; + static int -tested(const char *device) { - char **m; +was_tested(const char *fstype) { + char **m; + struct tried *t; + + for (m = magic_known; m - magic_known < SIZE(magic_known); m++) + if (!strcmp(*m, fstype)) + return 1; + for (t = tried; t; t = t->next) { + if (!strcmp(t->type, fstype)) + return 1; + } + return 0; +} - for (m = magic_known; m - magic_known < SIZE(magic_known); m++) - if (!strcmp(*m, device)) - return 1; - return 0; +static void +set_tested(const char *fstype) { + struct tried *t = xmalloc(sizeof(struct tried)); + + t->next = tried; + t->type = xstrdup(fstype); + tried = t; +} + +static void +free_tested(void) { + struct tried *t, *tt; + + t = tried; + while(t) { + free(t->type); + tt = t->next; + free(t); + t = tt; + } + tried = NULL; } /* udf magic - I find that trying to mount garbage as an udf fs @@ -194,57 +227,8 @@ fstype(const char *device) { if (fd < 0) return 0; - if (lseek(fd, 1024, SEEK_SET) != 1024 - || read(fd, (char *) &sb, sizeof(sb)) != sizeof(sb)) - goto io_error; - - /* ext2 has magic in little-endian on disk, so "swapped" is - superfluous; however, there have existed strange byteswapped - PPC ext2 systems */ - if (ext2magic(sb.e2s) == EXT2_SUPER_MAGIC - || ext2magic(sb.e2s) == EXT2_PRE_02B_MAGIC - || ext2magic(sb.e2s) == swapped(EXT2_SUPER_MAGIC)) { - type = "ext2"; - - /* maybe even ext3? */ - if ((assemble4le(sb.e2s.s_feature_compat) - & EXT3_FEATURE_COMPAT_HAS_JOURNAL) && - assemble4le(sb.e2s.s_journal_inum) != 0) - type = "ext3,ext2"; - } - - else if (minixmagic(sb.ms) == MINIX_SUPER_MAGIC - || minixmagic(sb.ms) == MINIX_SUPER_MAGIC2 - || minixmagic(sb.ms) == swapped(MINIX_SUPER_MAGIC2)) - type = "minix"; - - else if (extmagic(sb.es) == EXT_SUPER_MAGIC) - type = "ext"; - - else if (vxfsmagic(sb.vs) == VXFS_SUPER_MAGIC) - type = "vxfs"; - - if (!type) { - /* block 64 */ - if (lseek(fd, REISERFS_DISK_OFFSET_IN_BYTES, SEEK_SET) != - REISERFS_DISK_OFFSET_IN_BYTES - || read(fd, (char *) &reiserfssb, sizeof(reiserfssb)) != - sizeof(reiserfssb)) - goto io_error; - if (is_reiserfs_magic_string(&reiserfssb)) - type = "reiserfs"; - } - - if (!type) { - /* block 8 */ - if (lseek(fd, REISERFS_OLD_DISK_OFFSET_IN_BYTES, SEEK_SET) != - REISERFS_OLD_DISK_OFFSET_IN_BYTES - || read(fd, (char *) &reiserfssb, sizeof(reiserfssb)) != - sizeof(reiserfssb)) - goto io_error; - if (is_reiserfs_magic_string(&reiserfssb)) - type = "reiserfs"; - } + /* do seeks and reads in disk order, otherwise a very short + partition may cause a failure because of read error */ if (!type) { /* block 0 */ @@ -291,36 +275,42 @@ fstype(const char *device) { } if (!type) { - /* block 32 */ - if (lseek(fd, JFS_SUPER1_OFF, SEEK_SET) != JFS_SUPER1_OFF - || read(fd, (char *) &jfssb, sizeof(jfssb)) != sizeof(jfssb)) - goto io_error; - if (!strncmp(jfssb.s_magic, JFS_MAGIC, 4)) - type = "jfs"; - } + /* block 1 */ + if (lseek(fd, 1024, SEEK_SET) != 1024 || + read(fd, (char *) &sb, sizeof(sb)) != sizeof(sb)) + goto io_error; + + /* ext2 has magic in little-endian on disk, so "swapped" is + superfluous; however, there have existed strange byteswapped + PPC ext2 systems */ + if (ext2magic(sb.e2s) == EXT2_SUPER_MAGIC || + ext2magic(sb.e2s) == EXT2_PRE_02B_MAGIC || + ext2magic(sb.e2s) == swapped(EXT2_SUPER_MAGIC)) { + type = "ext2"; + + /* maybe even ext3? */ + if ((assemble4le(sb.e2s.s_feature_compat) + & EXT3_FEATURE_COMPAT_HAS_JOURNAL) && + assemble4le(sb.e2s.s_journal_inum) != 0) + type = "ext3,ext2"; + } - if (!type) { - if (lseek(fd, 8192, SEEK_SET) != 8192 - || read(fd, (char *) &ufssb, sizeof(ufssb)) != sizeof(ufssb)) - goto io_error; + else if (minixmagic(sb.ms) == MINIX_SUPER_MAGIC || + minixmagic(sb.ms) == MINIX_SUPER_MAGIC2 || + minixmagic(sb.ms) == swapped(MINIX_SUPER_MAGIC2) || + minixmagic(sb.ms) == MINIX2_SUPER_MAGIC || + minixmagic(sb.ms) == MINIX2_SUPER_MAGIC2) + type = "minix"; - if (ufsmagic(ufssb) == UFS_SUPER_MAGIC) /* also test swapped version? */ - type = "ufs"; - } - - if (!type) { - if (lseek(fd, 0x8000, SEEK_SET) != 0x8000 - || read(fd, (char *) &isosb, sizeof(isosb)) != sizeof(isosb)) - goto io_error; + else if (extmagic(sb.es) == EXT_SUPER_MAGIC) + type = "ext"; - if(strncmp(isosb.iso.id, ISO_STANDARD_ID, sizeof(isosb.iso.id)) == 0 - || strncmp(isosb.hs.id, HS_STANDARD_ID, sizeof(isosb.hs.id)) == 0) - type = "iso9660"; - else if (may_be_udf(isosb.iso.id)) - type = "udf"; + else if (vxfsmagic(sb.vs) == VXFS_SUPER_MAGIC) + type = "vxfs"; } if (!type) { + /* block 1 */ if (lseek(fd, 0x400, SEEK_SET) != 0x400 || read(fd, (char *) &hfssb, sizeof(hfssb)) != sizeof(hfssb)) goto io_error; @@ -337,6 +327,41 @@ fstype(const char *device) { } if (!type) { + /* block 3 */ + if (lseek(fd, 0xc00, SEEK_SET) != 0xc00 + || read(fd, (char *) &adfssb, sizeof(adfssb)) != sizeof(adfssb)) + goto io_error; + + /* only a weak test */ + if (may_be_adfs((u_char *) &adfssb) + && (adfsblksize(adfssb) >= 8 && + adfsblksize(adfssb) <= 10)) + type = "adfs"; + } + + if (!type) { + /* block 8 */ + if (lseek(fd, 8192, SEEK_SET) != 8192 + || read(fd, (char *) &ufssb, sizeof(ufssb)) != sizeof(ufssb)) + goto io_error; + + if (ufsmagic(ufssb) == UFS_SUPER_MAGIC) /* also test swapped version? */ + type = "ufs"; + } + + if (!type) { + /* block 8 */ + if (lseek(fd, REISERFS_OLD_DISK_OFFSET_IN_BYTES, SEEK_SET) != + REISERFS_OLD_DISK_OFFSET_IN_BYTES + || read(fd, (char *) &reiserfssb, sizeof(reiserfssb)) != + sizeof(reiserfssb)) + goto io_error; + if (is_reiserfs_magic_string(&reiserfssb)) + type = "reiserfs"; + } + + if (!type) { + /* block 8 */ if (lseek(fd, 0x2000, SEEK_SET) != 0x2000 || read(fd, (char *) &hpfssb, sizeof(hpfssb)) != sizeof(hpfssb)) goto io_error; @@ -346,15 +371,36 @@ fstype(const char *device) { } if (!type) { - if (lseek(fd, 0xc00, SEEK_SET) != 0xc00 - || read(fd, (char *) &adfssb, sizeof(adfssb)) != sizeof(adfssb)) - goto io_error; + /* block 32 */ + if (lseek(fd, JFS_SUPER1_OFF, SEEK_SET) != JFS_SUPER1_OFF + || read(fd, (char *) &jfssb, sizeof(jfssb)) != sizeof(jfssb)) + goto io_error; + if (!strncmp(jfssb.s_magic, JFS_MAGIC, 4)) + type = "jfs"; + } - /* only a weak test */ - if (may_be_adfs((u_char *) &adfssb) - && (adfsblksize(adfssb) >= 8 && - adfsblksize(adfssb) <= 10)) - type = "adfs"; + if (!type) { + /* block 32 */ + if (lseek(fd, 0x8000, SEEK_SET) != 0x8000 + || read(fd, (char *) &isosb, sizeof(isosb)) != sizeof(isosb)) + goto io_error; + + if(strncmp(isosb.iso.id, ISO_STANDARD_ID, sizeof(isosb.iso.id)) == 0 + || strncmp(isosb.hs.id, HS_STANDARD_ID, sizeof(isosb.hs.id)) == 0) + type = "iso9660"; + else if (may_be_udf(isosb.iso.id)) + type = "udf"; + } + + if (!type) { + /* block 64 */ + if (lseek(fd, REISERFS_DISK_OFFSET_IN_BYTES, SEEK_SET) != + REISERFS_DISK_OFFSET_IN_BYTES + || read(fd, (char *) &reiserfssb, sizeof(reiserfssb)) != + sizeof(reiserfssb)) + goto io_error; + if (is_reiserfs_magic_string(&reiserfssb)) + type = "reiserfs"; } if (!type) { @@ -381,7 +427,10 @@ fstype(const char *device) { return(type); io_error: - perror(device); + if (errno) + perror(device); + else + fprintf(stderr, _("mount: error while guessing filesystem type\n")); close(fd); return 0; } @@ -479,10 +528,11 @@ procfsloop(int (*mount_fn)(struct mountargs *), struct mountargs *args, fclose(procfs); goto nexti; } - if (tested (fsname)) + if (was_tested (fsname)) continue; if (no && matching_type(fsname, notypes)) continue; + set_tested (fsname); args->type = fsname; if (verbose) { printf(_("Trying %s\n"), fsname); @@ -500,6 +550,7 @@ procfsloop(int (*mount_fn)(struct mountargs *), struct mountargs *args, break; } } + free_tested(); fclose(procfs); errno = errsv; return ret; diff --git a/mount/pivot_root.c b/mount/pivot_root.c index fd4bef9d..674271ad 100644 --- a/mount/pivot_root.c +++ b/mount/pivot_root.c @@ -4,11 +4,16 @@ #include -#include + +#ifdef __ia64__ +# include +# define pivot_root(new_root,put_old) syscall(SYS_pivot_root,new_root,put_old) +#else +# include static _syscall2(int,pivot_root,const char *,new_root,const char *,put_old) - +#endif int main(int argc,const char **argv) { diff --git a/po/cat-id-tbl.c b/po/cat-id-tbl.c index 00206dcd..cf52316b 100644 --- a/po/cat-id-tbl.c +++ b/po/cat-id-tbl.c @@ -19,109 +19,113 @@ const struct _msg_ent _msg_tbl[] = { {"get readahead", 10}, {"flush buffers", 11}, {"reread partition table", 12}, - {"Usage: %s [-V] [-v|-q] commands devices\n", 13}, - {"Available commands:\n", 14}, - {"%s: Unknown command: %s\n", 15}, - {"%s requires an argument\n", 16}, - {"usage:\n", 17}, - {"Formatting ... ", 18}, - {"done\n", 19}, - {"Verifying ... ", 20}, - {"Read: ", 21}, - {"Problem reading cylinder %d, expected %d, read %d\n", 22}, + {"Usage:\n", 13}, + {" %s --report [devices]\n", 14}, + {" %s [-v|-q] commands devices\n", 15}, + {"Available commands:\n", 16}, + {"%s: Unknown command: %s\n", 17}, + {"%s requires an argument\n", 18}, + {"%s succeeded.\n", 19}, + {"%s: cannot open %s\n", 20}, + {"%s: ioctl error on %s\n", 21}, + {"RO RA SSZ BSZ StartSec Size Device\n", 22}, + {"usage:\n", 23}, + {"Formatting ... ", 24}, + {"done\n", 25}, + {"Verifying ... ", 26}, + {"Read: ", 27}, + {"Problem reading cylinder %d, expected %d, read %d\n", 28}, {"\ bad data in cyl %d\n\ -Continuing ... ", 23}, - {"usage: %s [ -n ] device\n", 24}, - {"%s from %s\n", 25}, - {"%s: not a floppy device\n", 26}, - {"Could not determine current format type", 27}, - {"%s-sided, %d tracks, %d sec/track. Total capacity %d kB.\n", 28}, - {"Double", 29}, - {"Single", 30}, - {"Usage: %s [-larvsmf] /dev/name\n", 31}, - {"%s is mounted.\t ", 32}, - {"Do you really want to continue", 33}, - {"check aborted.\n", 34}, - {"Zone nr < FIRSTZONE in file `", 35}, - {"Zone nr >= ZONES in file `", 36}, - {"'.", 37}, - {"Remove block", 38}, - {"Read error: unable to seek to block in file '", 39}, - {"'\n", 40}, - {"Read error: bad block in file '", 41}, +Continuing ... ", 29}, + {"usage: %s [ -n ] device\n", 30}, + {"%s from %s\n", 31}, + {"%s: not a floppy device\n", 32}, + {"Could not determine current format type", 33}, + {"%s-sided, %d tracks, %d sec/track. Total capacity %d kB.\n", 34}, + {"Double", 35}, + {"Single", 36}, + {"Usage: %s [-larvsmf] /dev/name\n", 37}, + {"%s is mounted.\t ", 38}, + {"Do you really want to continue", 39}, + {"check aborted.\n", 40}, + {"Zone nr < FIRSTZONE in file `%s'.", 41}, + {"Zone nr >= ZONES in file `%s'.", 42}, + {"Remove block", 43}, + {"Read error: unable to seek to block in file '%s'\n", 44}, + {"Read error: bad block in file '%s'\n", 45}, {"\ Internal error: trying to write bad block\n\ -Write request ignored\n", 42}, - {"seek failed in write_block", 43}, - {"Write error: bad block in file '", 44}, - {"seek failed in write_super_block", 45}, - {"unable to write super-block", 46}, - {"Unable to write inode map", 47}, - {"Unable to write zone map", 48}, - {"Unable to write inodes", 49}, - {"seek failed", 50}, - {"unable to read super block", 51}, - {"bad magic number in super-block", 52}, - {"Only 1k blocks/zones supported", 53}, - {"bad s_imap_blocks field in super-block", 54}, - {"bad s_zmap_blocks field in super-block", 55}, - {"Unable to allocate buffer for inode map", 56}, - {"Unable to allocate buffer for inodes", 57}, - {"Unable to allocate buffer for inode count", 58}, - {"Unable to allocate buffer for zone count", 59}, - {"Unable to read inode map", 60}, - {"Unable to read zone map", 61}, - {"Unable to read inodes", 62}, - {"Warning: Firstzone != Norm_firstzone\n", 63}, - {"%ld inodes\n", 64}, - {"%ld blocks\n", 65}, - {"Firstdatazone=%ld (%ld)\n", 66}, - {"Zonesize=%d\n", 67}, - {"Maxsize=%ld\n", 68}, - {"Filesystem state=%d\n", 69}, +Write request ignored\n", 46}, + {"seek failed in write_block", 47}, + {"Write error: bad block in file '%s'\n", 48}, + {"seek failed in write_super_block", 49}, + {"unable to write super-block", 50}, + {"Unable to write inode map", 51}, + {"Unable to write zone map", 52}, + {"Unable to write inodes", 53}, + {"seek failed", 54}, + {"unable to read super block", 55}, + {"bad magic number in super-block", 56}, + {"Only 1k blocks/zones supported", 57}, + {"bad s_imap_blocks field in super-block", 58}, + {"bad s_zmap_blocks field in super-block", 59}, + {"Unable to allocate buffer for inode map", 60}, + {"Unable to allocate buffer for inodes", 61}, + {"Unable to allocate buffer for inode count", 62}, + {"Unable to allocate buffer for zone count", 63}, + {"Unable to read inode map", 64}, + {"Unable to read zone map", 65}, + {"Unable to read inodes", 66}, + {"Warning: Firstzone != Norm_firstzone\n", 67}, + {"%ld inodes\n", 68}, + {"%ld blocks\n", 69}, + {"Firstdatazone=%ld (%ld)\n", 70}, + {"Zonesize=%d\n", 71}, + {"Maxsize=%ld\n", 72}, + {"Filesystem state=%d\n", 73}, {"\ namelen=%d\n\ -\n", 70}, - {"Inode %d marked not used, but used for file '", 71}, - {"Mark in use", 72}, - {" has mode %05o\n", 73}, - {"Warning: inode count too big.\n", 74}, - {"root inode isn't a directory", 75}, - {"Block has been used before. Now in file `", 76}, - {"Clear", 77}, - {"Block %d in file `", 78}, - {"' is marked not in use.", 79}, - {"Correct", 80}, - {"The directory '", 81}, - {"' contains a bad inode number for file '%.*s'.", 82}, - {" Remove", 83}, - {": bad directory: '.' isn't first\n", 84}, - {": bad directory: '..' isn't second\n", 85}, - {"internal error", 86}, - {": bad directory: size < 32", 87}, - {"seek failed in bad_zone", 88}, - {"Inode %d mode not cleared.", 89}, - {"Inode %d not used, marked used in the bitmap.", 90}, - {"Inode %d used, marked unused in the bitmap.", 91}, - {"Inode %d (mode = %07o), i_nlinks=%d, counted=%d.", 92}, - {"Set i_nlinks to count", 93}, - {"Zone %d: marked in use, no file uses it.", 94}, - {"Unmark", 95}, - {"Zone %d: in use, counted=%d\n", 96}, - {"Zone %d: not in use, counted=%d\n", 97}, - {"Set", 98}, - {"bad inode size", 99}, - {"bad v2 inode size", 100}, - {"need terminal for interactive repairs", 101}, - {"unable to open '%s'", 102}, - {"%s is clean, no check.\n", 103}, - {"Forcing filesystem check on %s.\n", 104}, - {"Filesystem on %s is dirty, needs checking.\n", 105}, +\n", 74}, + {"Inode %d marked unused, but used for file '%s'\n", 75}, + {"Mark in use", 76}, + {"The file `%s' has mode %05o\n", 77}, + {"Warning: inode count too big.\n", 78}, + {"root inode isn't a directory", 79}, + {"Block has been used before. Now in file `%s'.", 80}, + {"Clear", 81}, + {"Block %d in file `%s' is marked not in use.", 82}, + {"Correct", 83}, + {"The directory '%s' contains a bad inode number for file '%.*s'.", 84}, + {" Remove", 85}, + {"`%s': bad directory: '.' isn't first\n", 86}, + {"`%s': bad directory: '..' isn't second\n", 87}, + {"%s: bad directory: '.' isn't first\n", 88}, + {"%s: bad directory: '..' isn't second\n", 89}, + {"internal error", 90}, + {"%s: bad directory: size < 32", 91}, + {"seek failed in bad_zone", 92}, + {"Inode %d mode not cleared.", 93}, + {"Inode %d not used, marked used in the bitmap.", 94}, + {"Inode %d used, marked unused in the bitmap.", 95}, + {"Inode %d (mode = %07o), i_nlinks=%d, counted=%d.", 96}, + {"Set i_nlinks to count", 97}, + {"Zone %d: marked in use, no file uses it.", 98}, + {"Unmark", 99}, + {"Zone %d: in use, counted=%d\n", 100}, + {"Zone %d: not in use, counted=%d\n", 101}, + {"Set", 102}, + {"bad inode size", 103}, + {"bad v2 inode size", 104}, + {"need terminal for interactive repairs", 105}, + {"unable to open '%s'", 106}, + {"%s is clean, no check.\n", 107}, + {"Forcing filesystem check on %s.\n", 108}, + {"Filesystem on %s is dirty, needs checking.\n", 109}, {"\ \n\ -%6ld inodes used (%ld%%)\n", 106}, - {"%6ld zones used (%ld%%)\n", 107}, +%6ld inodes used (%ld%%)\n", 110}, + {"%6ld zones used (%ld%%)\n", 111}, {"\ \n\ %6d regular files\n\ @@ -131,308 +135,310 @@ namelen=%d\n\ %6d links\n\ %6d symbolic links\n\ ------\n\ -%6d files\n", 108}, +%6d files\n", 112}, {"\ ----------------------------\n\ FILE SYSTEM HAS BEEN CHANGED\n\ -----------------------------\n", 109}, - {"%s: failed to open: %s\n", 110}, - {"%s: seek error on %s\n", 111}, - {"%s: read error on %s\n", 112}, - {"sector count: %d, sector size: %d\n", 113}, - {"%s: option parse error\n", 114}, - {"Usage: %s [-x] [-d ] iso9660-image\n", 115}, +----------------------------\n", 113}, + {"%s: failed to open: %s\n", 114}, + {"%s: seek error on %s\n", 115}, + {"%s: read error on %s\n", 116}, + {"sector count: %d, sector size: %d\n", 117}, + {"%s: option parse error\n", 118}, + {"Usage: %s [-x] [-d ] iso9660-image\n", 119}, {"\ Usage: %s [-v] [-N nr-of-inodes] [-V volume-name]\n\ - [-F fsname] device [block-count]\n", 116}, - {"volume name too long", 117}, - {"fsname name too long", 118}, - {"cannot stat device %s", 119}, - {"%s is not a block special device", 120}, - {"cannot open %s", 121}, - {"cannot get size of %s", 122}, - {"blocks argument too large, max is %lu", 123}, - {"too many inodes - max is 512", 124}, - {"not enough space, need at least %lu blocks", 125}, - {"Device: %s\n", 126}, - {"Volume: <%-6s>\n", 127}, - {"FSname: <%-6s>\n", 128}, - {"BlockSize: %d\n", 129}, - {"Inodes: %d (in 1 block)\n", 130}, - {"Inodes: %d (in %ld blocks)\n", 131}, - {"Blocks: %ld\n", 132}, - {"Inode end: %d, Data end: %d\n", 133}, - {"error writing superblock", 134}, - {"error writing root inode", 135}, - {"error writing inode", 136}, - {"seek error", 137}, - {"error writing . entry", 138}, - {"error writing .. entry", 139}, - {"error closing %s", 140}, - {"Usage: mkfs [-V] [-t fstype] [fs-options] device [size]\n", 141}, - {"%s: Out of memory!\n", 142}, - {"mkfs version %s (%s)\n", 143}, - {"Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n", 144}, - {"%s is mounted; will not make a filesystem here!", 145}, - {"seek to boot block failed in write_tables", 146}, - {"unable to clear boot sector", 147}, - {"seek failed in write_tables", 148}, - {"unable to write inode map", 149}, - {"unable to write zone map", 150}, - {"unable to write inodes", 151}, - {"write failed in write_block", 152}, - {"too many bad blocks", 153}, - {"not enough good blocks", 154}, - {"unable to allocate buffers for maps", 155}, - {"unable to allocate buffer for inodes", 156}, + [-F fsname] device [block-count]\n", 120}, + {"volume name too long", 121}, + {"fsname name too long", 122}, + {"cannot stat device %s", 123}, + {"%s is not a block special device", 124}, + {"cannot open %s", 125}, + {"cannot get size of %s", 126}, + {"blocks argument too large, max is %lu", 127}, + {"too many inodes - max is 512", 128}, + {"not enough space, need at least %lu blocks", 129}, + {"Device: %s\n", 130}, + {"Volume: <%-6s>\n", 131}, + {"FSname: <%-6s>\n", 132}, + {"BlockSize: %d\n", 133}, + {"Inodes: %d (in 1 block)\n", 134}, + {"Inodes: %d (in %ld blocks)\n", 135}, + {"Blocks: %ld\n", 136}, + {"Inode end: %d, Data end: %d\n", 137}, + {"error writing superblock", 138}, + {"error writing root inode", 139}, + {"error writing inode", 140}, + {"seek error", 141}, + {"error writing . entry", 142}, + {"error writing .. entry", 143}, + {"error closing %s", 144}, + {"Usage: mkfs [-V] [-t fstype] [fs-options] device [size]\n", 145}, + {"%s: Out of memory!\n", 146}, + {"mkfs version %s (%s)\n", 147}, + {"Usage: %s [-c | -l filename] [-nXX] [-iXX] /dev/name [blocks]\n", 148}, + {"%s is mounted; will not make a filesystem here!", 149}, + {"seek to boot block failed in write_tables", 150}, + {"unable to clear boot sector", 151}, + {"seek failed in write_tables", 152}, + {"unable to write inode map", 153}, + {"unable to write zone map", 154}, + {"unable to write inodes", 155}, + {"write failed in write_block", 156}, + {"too many bad blocks", 157}, + {"not enough good blocks", 158}, + {"unable to allocate buffers for maps", 159}, + {"unable to allocate buffer for inodes", 160}, {"\ Maxsize=%ld\n\ -\n", 157}, - {"seek failed during testing of blocks", 158}, - {"Weird values in do_check: probably bugs\n", 159}, - {"seek failed in check_blocks", 160}, - {"bad blocks before data-area: cannot make fs", 161}, - {"%d bad blocks\n", 162}, - {"one bad block\n", 163}, - {"can't open file of bad blocks", 164}, - {"%s: not compiled with minix v2 support\n", 165}, - {"strtol error: number of blocks not specified", 166}, - {"unable to open %s", 167}, - {"unable to stat %s", 168}, - {"will not try to make filesystem on '%s'", 169}, - {"Bad user-specified page size %d\n", 170}, - {"Using user-specified page size %d, instead of the system values %d/%d\n", 171}, - {"Assuming pages of size %d (not %d)\n", 172}, - {"Usage: %s [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]\n", 173}, - {"too many bad pages", 174}, - {"Out of memory", 175}, - {"one bad page\n", 176}, - {"%d bad pages\n", 177}, - {"%s: error: Nowhere to set up swap on?\n", 178}, - {"%s: error: size %ld is larger than device size %d\n", 179}, - {"%s: error: unknown version %d\n", 180}, - {"%s: error: swap area needs to be at least %ldkB\n", 181}, - {"%s: warning: truncating swap area to %ldkB\n", 182}, - {"Will not try to make swapdevice on '%s'", 183}, - {"fatal: first page unreadable", 184}, +\n", 161}, + {"seek failed during testing of blocks", 162}, + {"Weird values in do_check: probably bugs\n", 163}, + {"seek failed in check_blocks", 164}, + {"bad blocks before data-area: cannot make fs", 165}, + {"%d bad blocks\n", 166}, + {"one bad block\n", 167}, + {"can't open file of bad blocks", 168}, + {"%s: not compiled with minix v2 support\n", 169}, + {"strtol error: number of blocks not specified", 170}, + {"unable to open %s", 171}, + {"unable to stat %s", 172}, + {"will not try to make filesystem on '%s'", 173}, + {"Bad user-specified page size %d\n", 174}, + {"Using user-specified page size %d, instead of the system values %d/%d\n", 175}, + {"Assuming pages of size %d (not %d)\n", 176}, + {"Usage: %s [-c] [-v0|-v1] [-pPAGESZ] /dev/name [blocks]\n", 177}, + {"too many bad pages", 178}, + {"Out of memory", 179}, + {"one bad page\n", 180}, + {"%d bad pages\n", 181}, + {"%s: error: Nowhere to set up swap on?\n", 182}, + {"%s: error: size %ld is larger than device size %d\n", 183}, + {"%s: error: unknown version %d\n", 184}, + {"%s: error: swap area needs to be at least %ldkB\n", 185}, + {"%s: warning: truncating swap area to %ldkB\n", 186}, + {"Will not try to make swapdevice on '%s'", 187}, + {"fatal: first page unreadable", 188}, {"\ %s: Device '%s' contains a valid Sun disklabel.\n\ This probably means creating v0 swap would destroy your partition table\n\ No swap created. If you really want to create swap v0 on that device, use\n\ -the -f option to force it.\n", 185}, - {"Unable to set up swap-space: unreadable", 186}, - {"Setting up swapspace version %d, size = %ld bytes\n", 187}, - {"unable to rewind swap-device", 188}, - {"unable to write signature page", 189}, - {"fsync failed", 190}, - {"Invalid number: %s\n", 191}, - {"Syntax error: '%s'\n", 192}, - {"No such parameter set: '%s'\n", 193}, - {" %s [ -p ] dev name\n", 194}, - {"\ - %s [ -p ] dev size sect heads tracks stretch gap rate spec1 fmt_gap\n", 195}, - {" %s [ -c | -y | -n | -d ] dev\n", 196}, - {" %s [ -c | -y | -n ] dev\n", 197}, - {"Unusable", 198}, - {"Free Space", 199}, - {"Linux ext2", 200}, - {"Linux XFS", 201}, - {"Linux", 202}, - {"OS/2 HPFS", 203}, - {"OS/2 IFS", 204}, - {"NTFS", 205}, - {"Disk has been changed.\n", 206}, - {"Reboot the system to ensure the partition table is correctly updated.\n", 207}, +the -f option to force it.\n", 189}, + {"Unable to set up swap-space: unreadable", 190}, + {"Setting up swapspace version %d, size = %ld bytes\n", 191}, + {"unable to rewind swap-device", 192}, + {"unable to write signature page", 193}, + {"fsync failed", 194}, + {"Invalid number: %s\n", 195}, + {"Syntax error: '%s'\n", 196}, + {"No such parameter set: '%s'\n", 197}, + {" %s [ -p ] dev name\n", 198}, + {"\ + %s [ -p ] dev size sect heads tracks stretch gap rate spec1 fmt_gap\n", 199}, + {" %s [ -c | -y | -n | -d ] dev\n", 200}, + {" %s [ -c | -y | -n ] dev\n", 201}, + {"Unusable", 202}, + {"Free Space", 203}, + {"Linux ext2", 204}, + {"Linux ext3", 205}, + {"Linux XFS", 206}, + {"Linux ReiserFS", 207}, + {"Linux", 208}, + {"OS/2 HPFS", 209}, + {"OS/2 IFS", 210}, + {"NTFS", 211}, + {"Disk has been changed.\n", 212}, + {"Reboot the system to ensure the partition table is correctly updated.\n", 213}, {"\ \n\ WARNING: If you have created or modified any\n\ DOS 6.x partitions, please see the cfdisk manual\n\ -page for additional information.\n", 208}, - {"FATAL ERROR", 209}, - {"Press any key to exit cfdisk", 210}, - {"Cannot seek on disk drive", 211}, - {"Cannot read disk drive", 212}, - {"Cannot write disk drive", 213}, - {"Too many partitions", 214}, - {"Partition begins before sector 0", 215}, - {"Partition ends before sector 0", 216}, - {"Partition begins after end-of-disk", 217}, - {"Partition ends after end-of-disk", 218}, - {"logical partitions not in disk order", 219}, - {"logical partitions overlap", 220}, - {"enlarged logical partitions overlap", 221}, - {"\ -!!!! Internal error creating logical drive with no extended partition !!!!", 222}, - {"\ -Cannot create logical drive here -- would create two extended partitions", 223}, - {"Menu item too long. Menu may look odd.", 224}, - {"Menu without direction. Defaulting horizontal.", 225}, - {"Illegal key", 226}, - {"Press a key to continue", 227}, - {"Primary", 228}, - {"Create a new primary partition", 229}, - {"Logical", 230}, - {"Create a new logical partition", 231}, - {"Cancel", 232}, - {"Don't create a partition", 233}, - {"!!! Internal error !!!", 234}, - {"Size (in MB): ", 235}, - {"Beginning", 236}, - {"Add partition at beginning of free space", 237}, - {"End", 238}, - {"Add partition at end of free space", 239}, - {"No room to create the extended partition", 240}, - {"No partition table or unknown signature on partition table", 241}, - {"Do you wish to start with a zero table [y/N] ?", 242}, - {"You specified more cylinders than fit on disk", 243}, - {"Cannot open disk drive", 244}, - {"Opened disk read-only - you have no permission to write", 245}, - {"Cannot get disk size", 246}, - {"Bad primary partition", 247}, - {"Bad logical partition", 248}, - {"Warning!! This may destroy data on your disk!", 249}, - {"Are you sure you want write the partition table to disk? (yes or no): ", 250}, - {"no", 251}, - {"Did not write partition table to disk", 252}, - {"yes", 253}, - {"Please enter `yes' or `no'", 254}, - {"Writing partition table to disk...", 255}, - {"Wrote partition table to disk", 256}, - {"\ -Wrote partition table, but re-read table failed. Reboot to update table.", 257}, - {"No primary partitions are marked bootable. DOS MBR cannot boot this.", 258}, - {"\ -More than one primary partition is marked bootable. DOS MBR cannot boot this.", 259}, - {"Enter filename or press RETURN to display on screen: ", 260}, - {"Cannot open file '%s'", 261}, - {"Disk Drive: %s\n", 262}, - {"Sector 0:\n", 263}, - {"Sector %d:\n", 264}, - {" None ", 265}, - {" Pri/Log", 266}, - {" Primary", 267}, - {" Logical", 268}, - {"Unknown", 269}, - {"Boot (%02X)", 270}, - {"Unknown (%02X)", 271}, - {"None (%02X)", 272}, - {"Partition Table for %s\n", 273}, - {" First Last\n", 274}, - {"\ - # Type Sector Sector Offset Length Filesystem Type (ID) Flags\n", 275}, +page for additional information.\n", 214}, + {"FATAL ERROR", 215}, + {"Press any key to exit cfdisk", 216}, + {"Cannot seek on disk drive", 217}, + {"Cannot read disk drive", 218}, + {"Cannot write disk drive", 219}, + {"Too many partitions", 220}, + {"Partition begins before sector 0", 221}, + {"Partition ends before sector 0", 222}, + {"Partition begins after end-of-disk", 223}, + {"Partition ends after end-of-disk", 224}, + {"logical partitions not in disk order", 225}, + {"logical partitions overlap", 226}, + {"enlarged logical partitions overlap", 227}, + {"\ +!!!! Internal error creating logical drive with no extended partition !!!!", 228}, + {"\ +Cannot create logical drive here -- would create two extended partitions", 229}, + {"Menu item too long. Menu may look odd.", 230}, + {"Menu without direction. Defaulting horizontal.", 231}, + {"Illegal key", 232}, + {"Press a key to continue", 233}, + {"Primary", 234}, + {"Create a new primary partition", 235}, + {"Logical", 236}, + {"Create a new logical partition", 237}, + {"Cancel", 238}, + {"Don't create a partition", 239}, + {"!!! Internal error !!!", 240}, + {"Size (in MB): ", 241}, + {"Beginning", 242}, + {"Add partition at beginning of free space", 243}, + {"End", 244}, + {"Add partition at end of free space", 245}, + {"No room to create the extended partition", 246}, + {"No partition table or unknown signature on partition table", 247}, + {"Do you wish to start with a zero table [y/N] ?", 248}, + {"You specified more cylinders than fit on disk", 249}, + {"Cannot open disk drive", 250}, + {"Opened disk read-only - you have no permission to write", 251}, + {"Cannot get disk size", 252}, + {"Bad primary partition", 253}, + {"Bad logical partition", 254}, + {"Warning!! This may destroy data on your disk!", 255}, + {"Are you sure you want write the partition table to disk? (yes or no): ", 256}, + {"no", 257}, + {"Did not write partition table to disk", 258}, + {"yes", 259}, + {"Please enter `yes' or `no'", 260}, + {"Writing partition table to disk...", 261}, + {"Wrote partition table to disk", 262}, + {"\ +Wrote partition table, but re-read table failed. Reboot to update table.", 263}, + {"No primary partitions are marked bootable. DOS MBR cannot boot this.", 264}, + {"\ +More than one primary partition is marked bootable. DOS MBR cannot boot this.", 265}, + {"Enter filename or press RETURN to display on screen: ", 266}, + {"Cannot open file '%s'", 267}, + {"Disk Drive: %s\n", 268}, + {"Sector 0:\n", 269}, + {"Sector %d:\n", 270}, + {" None ", 271}, + {" Pri/Log", 272}, + {" Primary", 273}, + {" Logical", 274}, + {"Unknown", 275}, + {"Boot (%02X)", 276}, + {"Unknown (%02X)", 277}, + {"None (%02X)", 278}, + {"Partition Table for %s\n", 279}, + {" First Last\n", 280}, + {"\ + # Type Sector Sector Offset Length Filesystem Type (ID) Flags\n", 281}, {"\ -- ------- -------- --------- ------ --------- ---------------------- \ ----------\n", 276}, - {" ---Starting--- ----Ending---- Start Number of\n", 277}, - {" # Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors\n", 278}, - {"-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------\n", 279}, - {"Raw", 280}, - {"Print the table using raw data format", 281}, - {"Sectors", 282}, - {"Print the table ordered by sectors", 283}, - {"Table", 284}, - {"Just print the partition table", 285}, - {"Don't print the table", 286}, - {"Help Screen for cfdisk", 287}, - {"This is cfdisk, a curses based disk partitioning program, which", 288}, - {"allows you to create, delete and modify partitions on your hard", 289}, - {"disk drive.", 290}, - {"Copyright (C) 1994-1999 Kevin E. Martin & aeb", 291}, - {"Command Meaning", 292}, - {"------- -------", 293}, - {" b Toggle bootable flag of the current partition", 294}, - {" d Delete the current partition", 295}, - {" g Change cylinders, heads, sectors-per-track parameters", 296}, - {" WARNING: This option should only be used by people who", 297}, - {" know what they are doing.", 298}, - {" h Print this screen", 299}, - {" m Maximize disk usage of the current partition", 300}, - {" Note: This may make the partition incompatible with", 301}, - {" DOS, OS/2, ...", 302}, - {" n Create new partition from free space", 303}, - {" p Print partition table to the screen or to a file", 304}, - {" There are several different formats for the partition", 305}, - {" that you can choose from:", 306}, - {" r - Raw data (exactly what would be written to disk)", 307}, - {" s - Table ordered by sectors", 308}, - {" t - Table in raw format", 309}, - {" q Quit program without writing partition table", 310}, - {" t Change the filesystem type", 311}, - {" u Change units of the partition size display", 312}, - {" Rotates through MB, sectors and cylinders", 313}, - {" W Write partition table to disk (must enter upper case W)", 314}, - {" Since this might destroy data on the disk, you must", 315}, - {" either confirm or deny the write by entering `yes' or", 316}, - {" `no'", 317}, - {"Up Arrow Move cursor to the previous partition", 318}, - {"Down Arrow Move cursor to the next partition", 319}, - {"CTRL-L Redraws the screen", 320}, - {" ? Print this screen", 321}, - {"Note: All of the commands can be entered with either upper or lower", 322}, - {"case letters (except for Writes).", 323}, - {"Cylinders", 324}, - {"Change cylinder geometry", 325}, - {"Heads", 326}, - {"Change head geometry", 327}, - {"Change sector geometry", 328}, - {"Done", 329}, - {"Done with changing geometry", 330}, - {"Enter the number of cylinders: ", 331}, - {"Illegal cylinders value", 332}, - {"Enter the number of heads: ", 333}, - {"Illegal heads value", 334}, - {"Enter the number of sectors per track: ", 335}, - {"Illegal sectors value", 336}, - {"Enter filesystem type: ", 337}, - {"Cannot change FS Type to empty", 338}, - {"Cannot change FS Type to extended", 339}, - {"Boot", 340}, - {"Unk(%02X)", 341}, - {", NC", 342}, - {"NC", 343}, - {"Pri/Log", 344}, - {"Disk Drive: %s", 345}, - {"Size: %lld bytes", 346}, - {"Heads: %d Sectors per Track: %d Cylinders: %d", 347}, - {"Name", 348}, - {"Flags", 349}, - {"Part Type", 350}, - {"FS Type", 351}, - {"[Label]", 352}, - {" Sectors", 353}, - {"Size (MB)", 354}, - {"Size (GB)", 355}, - {"Bootable", 356}, - {"Toggle bootable flag of the current partition", 357}, - {"Delete", 358}, - {"Delete the current partition", 359}, - {"Geometry", 360}, - {"Change disk geometry (experts only)", 361}, - {"Help", 362}, - {"Print help screen", 363}, - {"Maximize", 364}, - {"Maximize disk usage of the current partition (experts only)", 365}, - {"New", 366}, - {"Create new partition from free space", 367}, - {"Print", 368}, - {"Print partition table to the screen or to a file", 369}, - {"Quit", 370}, - {"Quit program without writing partition table", 371}, - {"Type", 372}, - {"Change the filesystem type (DOS, Linux, OS/2 and so on)", 373}, - {"Units", 374}, - {"Change units of the partition size display (MB, sect, cyl)", 375}, - {"Write", 376}, - {"Write partition table to disk (this might destroy data)", 377}, - {"Cannot make this partition bootable", 378}, - {"Cannot delete an empty partition", 379}, - {"Cannot maximize this partition", 380}, - {"This partition is unusable", 381}, - {"This partition is already in use", 382}, - {"Cannot change the type of an empty partition", 383}, - {"No more partitions", 384}, - {"Illegal command", 385}, - {"Copyright (C) 1994-2000 Kevin E. Martin & aeb\n", 386}, +---------\n", 282}, + {" ---Starting--- ----Ending---- Start Number of\n", 283}, + {" # Flags Head Sect Cyl ID Head Sect Cyl Sector Sectors\n", 284}, + {"-- ----- ---- ---- ---- ---- ---- ---- ---- -------- ---------\n", 285}, + {"Raw", 286}, + {"Print the table using raw data format", 287}, + {"Sectors", 288}, + {"Print the table ordered by sectors", 289}, + {"Table", 290}, + {"Just print the partition table", 291}, + {"Don't print the table", 292}, + {"Help Screen for cfdisk", 293}, + {"This is cfdisk, a curses based disk partitioning program, which", 294}, + {"allows you to create, delete and modify partitions on your hard", 295}, + {"disk drive.", 296}, + {"Copyright (C) 1994-1999 Kevin E. Martin & aeb", 297}, + {"Command Meaning", 298}, + {"------- -------", 299}, + {" b Toggle bootable flag of the current partition", 300}, + {" d Delete the current partition", 301}, + {" g Change cylinders, heads, sectors-per-track parameters", 302}, + {" WARNING: This option should only be used by people who", 303}, + {" know what they are doing.", 304}, + {" h Print this screen", 305}, + {" m Maximize disk usage of the current partition", 306}, + {" Note: This may make the partition incompatible with", 307}, + {" DOS, OS/2, ...", 308}, + {" n Create new partition from free space", 309}, + {" p Print partition table to the screen or to a file", 310}, + {" There are several different formats for the partition", 311}, + {" that you can choose from:", 312}, + {" r - Raw data (exactly what would be written to disk)", 313}, + {" s - Table ordered by sectors", 314}, + {" t - Table in raw format", 315}, + {" q Quit program without writing partition table", 316}, + {" t Change the filesystem type", 317}, + {" u Change units of the partition size display", 318}, + {" Rotates through MB, sectors and cylinders", 319}, + {" W Write partition table to disk (must enter upper case W)", 320}, + {" Since this might destroy data on the disk, you must", 321}, + {" either confirm or deny the write by entering `yes' or", 322}, + {" `no'", 323}, + {"Up Arrow Move cursor to the previous partition", 324}, + {"Down Arrow Move cursor to the next partition", 325}, + {"CTRL-L Redraws the screen", 326}, + {" ? Print this screen", 327}, + {"Note: All of the commands can be entered with either upper or lower", 328}, + {"case letters (except for Writes).", 329}, + {"Cylinders", 330}, + {"Change cylinder geometry", 331}, + {"Heads", 332}, + {"Change head geometry", 333}, + {"Change sector geometry", 334}, + {"Done", 335}, + {"Done with changing geometry", 336}, + {"Enter the number of cylinders: ", 337}, + {"Illegal cylinders value", 338}, + {"Enter the number of heads: ", 339}, + {"Illegal heads value", 340}, + {"Enter the number of sectors per track: ", 341}, + {"Illegal sectors value", 342}, + {"Enter filesystem type: ", 343}, + {"Cannot change FS Type to empty", 344}, + {"Cannot change FS Type to extended", 345}, + {"Boot", 346}, + {"Unk(%02X)", 347}, + {", NC", 348}, + {"NC", 349}, + {"Pri/Log", 350}, + {"Disk Drive: %s", 351}, + {"Size: %lld bytes", 352}, + {"Heads: %d Sectors per Track: %d Cylinders: %d", 353}, + {"Name", 354}, + {"Flags", 355}, + {"Part Type", 356}, + {"FS Type", 357}, + {"[Label]", 358}, + {" Sectors", 359}, + {"Size (MB)", 360}, + {"Size (GB)", 361}, + {"Bootable", 362}, + {"Toggle bootable flag of the current partition", 363}, + {"Delete", 364}, + {"Delete the current partition", 365}, + {"Geometry", 366}, + {"Change disk geometry (experts only)", 367}, + {"Help", 368}, + {"Print help screen", 369}, + {"Maximize", 370}, + {"Maximize disk usage of the current partition (experts only)", 371}, + {"New", 372}, + {"Create new partition from free space", 373}, + {"Print", 374}, + {"Print partition table to the screen or to a file", 375}, + {"Quit", 376}, + {"Quit program without writing partition table", 377}, + {"Type", 378}, + {"Change the filesystem type (DOS, Linux, OS/2 and so on)", 379}, + {"Units", 380}, + {"Change units of the partition size display (MB, sect, cyl)", 381}, + {"Write", 382}, + {"Write partition table to disk (this might destroy data)", 383}, + {"Cannot make this partition bootable", 384}, + {"Cannot delete an empty partition", 385}, + {"Cannot maximize this partition", 386}, + {"This partition is unusable", 387}, + {"This partition is already in use", 388}, + {"Cannot change the type of an empty partition", 389}, + {"No more partitions", 390}, + {"Illegal command", 391}, + {"Copyright (C) 1994-2000 Kevin E. Martin & aeb\n", 392}, {"\ \n\ Usage:\n\ @@ -448,7 +454,7 @@ Options:\n\ -z: Start with a zero partition table, instead of reading the pt from disk;\n\ -c C -h H -s S: Override the kernel's idea of the number of cylinders,\n\ the number of heads and the number of sectors/track.\n\ -\n", 387}, +\n", 393}, {"\ Usage: fdisk [-b SSZ] [-u] DISK Change partition table\n\ fdisk -l [-b SSZ] [-u] DISK List partition table(s)\n\ @@ -457,65 +463,65 @@ Usage: fdisk [-b SSZ] [-u] DISK Change partition table\n\ Here DISK is something like /dev/hdb or /dev/sda\n\ and PARTITION is something like /dev/hda7\n\ -u: give Start and End in sector (instead of cylinder) units\n\ --b 2048: (for certain MO disks) use 2048-byte sectors\n", 388}, +-b 2048: (for certain MO disks) use 2048-byte sectors\n", 394}, {"\ Usage: fdisk [-l] [-b SSZ] [-u] device\n\ E.g.: fdisk /dev/hda (for the first IDE disk)\n\ or: fdisk /dev/sdc (for the third SCSI disk)\n\ or: fdisk /dev/eda (for the first PS/2 ESDI drive)\n\ or: fdisk /dev/rd/c0d0 or: fdisk /dev/ida/c0d0 (for RAID devices)\n\ - ...\n", 389}, - {"Unable to open %s\n", 390}, - {"Unable to read %s\n", 391}, - {"Unable to seek on %s\n", 392}, - {"Unable to write %s\n", 393}, - {"BLKGETSIZE ioctl failed on %s\n", 394}, - {"Unable to allocate any more memory\n", 395}, - {"Fatal error\n", 396}, - {"Command action", 397}, - {" a toggle a read only flag", 398}, - {" b edit bsd disklabel", 399}, - {" c toggle the mountable flag", 400}, - {" d delete a partition", 401}, - {" l list known partition types", 402}, - {" m print this menu", 403}, - {" n add a new partition", 404}, - {" o create a new empty DOS partition table", 405}, - {" p print the partition table", 406}, - {" q quit without saving changes", 407}, - {" s create a new empty Sun disklabel", 408}, - {" t change a partition's system id", 409}, - {" u change display/entry units", 410}, - {" v verify the partition table", 411}, - {" w write table to disk and exit", 412}, - {" x extra functionality (experts only)", 413}, - {" a select bootable partition", 414}, - {" b edit bootfile entry", 415}, - {" c select sgi swap partition", 416}, - {" a toggle a bootable flag", 417}, - {" c toggle the dos compatibility flag", 418}, - {" a change number of alternate cylinders", 419}, - {" c change number of cylinders", 420}, - {" d print the raw data in the partition table", 421}, - {" e change number of extra sectors per cylinder", 422}, - {" h change number of heads", 423}, - {" i change interleave factor", 424}, - {" o change rotation speed (rpm)", 425}, - {" r return to main menu", 426}, - {" s change number of sectors/track", 427}, - {" y change number of physical cylinders", 428}, - {" b move beginning of data in a partition", 429}, - {" e list extended partitions", 430}, - {" g create an IRIX (SGI) partition table", 431}, - {" f fix partition order", 432}, - {"You must set", 433}, - {"heads", 434}, - {"sectors", 435}, - {"cylinders", 436}, + ...\n", 395}, + {"Unable to open %s\n", 396}, + {"Unable to read %s\n", 397}, + {"Unable to seek on %s\n", 398}, + {"Unable to write %s\n", 399}, + {"BLKGETSIZE ioctl failed on %s\n", 400}, + {"Unable to allocate any more memory\n", 401}, + {"Fatal error\n", 402}, + {"Command action", 403}, + {" a toggle a read only flag", 404}, + {" b edit bsd disklabel", 405}, + {" c toggle the mountable flag", 406}, + {" d delete a partition", 407}, + {" l list known partition types", 408}, + {" m print this menu", 409}, + {" n add a new partition", 410}, + {" o create a new empty DOS partition table", 411}, + {" p print the partition table", 412}, + {" q quit without saving changes", 413}, + {" s create a new empty Sun disklabel", 414}, + {" t change a partition's system id", 415}, + {" u change display/entry units", 416}, + {" v verify the partition table", 417}, + {" w write table to disk and exit", 418}, + {" x extra functionality (experts only)", 419}, + {" a select bootable partition", 420}, + {" b edit bootfile entry", 421}, + {" c select sgi swap partition", 422}, + {" a toggle a bootable flag", 423}, + {" c toggle the dos compatibility flag", 424}, + {" a change number of alternate cylinders", 425}, + {" c change number of cylinders", 426}, + {" d print the raw data in the partition table", 427}, + {" e change number of extra sectors per cylinder", 428}, + {" h change number of heads", 429}, + {" i change interleave factor", 430}, + {" o change rotation speed (rpm)", 431}, + {" r return to main menu", 432}, + {" s change number of sectors/track", 433}, + {" y change number of physical cylinders", 434}, + {" b move beginning of data in a partition", 435}, + {" e list extended partitions", 436}, + {" g create an IRIX (SGI) partition table", 437}, + {" f fix partition order", 438}, + {"You must set", 439}, + {"heads", 440}, + {"sectors", 441}, + {"cylinders", 442}, {"\ %s%s.\n\ -You can do this from the extra functions menu.\n", 437}, - {" and ", 438}, +You can do this from the extra functions menu.\n", 443}, + {" and ", 444}, {"\ \n\ The number of cylinders for this disk is set to %d.\n\ @@ -523,158 +529,158 @@ There is nothing wrong with that, but this is larger than 1024,\n\ and could in certain setups cause problems with:\n\ 1) software that runs at boot time (e.g., old versions of LILO)\n\ 2) booting and partitioning software from other OSs\n\ - (e.g., DOS FDISK, OS/2 FDISK)\n", 439}, - {"Bad offset in primary extended partition\n", 440}, - {"Warning: deleting partitions after %d\n", 441}, - {"Warning: extra link pointer in partition table %d\n", 442}, - {"Warning: ignoring extra data in partition table %d\n", 443}, + (e.g., DOS FDISK, OS/2 FDISK)\n", 445}, + {"Bad offset in primary extended partition\n", 446}, + {"Warning: deleting partitions after %d\n", 447}, + {"Warning: extra link pointer in partition table %d\n", 448}, + {"Warning: ignoring extra data in partition table %d\n", 449}, {"\ Building a new DOS disklabel. Changes will remain in memory only,\n\ until you decide to write them. After that, of course, the previous\n\ content won't be recoverable.\n\ -\n", 444}, - {"Note: sector size is %d (not %d)\n", 445}, - {"You will not be able to write the partition table.\n", 446}, +\n", 450}, + {"Note: sector size is %d (not %d)\n", 451}, + {"You will not be able to write the partition table.\n", 452}, {"\ Device contains neither a valid DOS partition table, nor Sun, SGI or OSF \ -disklabel\n", 447}, - {"Internal error\n", 448}, - {"Ignoring extra extended partition %d\n", 449}, +disklabel\n", 453}, + {"Internal error\n", 454}, + {"Ignoring extra extended partition %d\n", 455}, {"\ Warning: invalid flag 0x%04x of partition table %d will be corrected by w\ -(rite)\n", 450}, +(rite)\n", 456}, {"\ \n\ -got EOF thrice - exiting..\n", 451}, - {"Hex code (type L to list codes): ", 452}, - {"%s (%d-%d, default %d): ", 453}, - {"Using default value %d\n", 454}, - {"Value out of range.\n", 455}, - {"Partition number", 456}, - {"Warning: partition %d has empty type\n", 457}, - {"cylinder", 458}, - {"sector", 459}, - {"Changing display/entry units to %s\n", 460}, - {"WARNING: Partition %d is an extended partition\n", 461}, - {"DOS Compatibility flag is set\n", 462}, - {"DOS Compatibility flag is not set\n", 463}, - {"Partition %d does not exist yet!\n", 464}, +got EOF thrice - exiting..\n", 457}, + {"Hex code (type L to list codes): ", 458}, + {"%s (%d-%d, default %d): ", 459}, + {"Using default value %d\n", 460}, + {"Value out of range.\n", 461}, + {"Partition number", 462}, + {"Warning: partition %d has empty type\n", 463}, + {"cylinder", 464}, + {"sector", 465}, + {"Changing display/entry units to %s\n", 466}, + {"WARNING: Partition %d is an extended partition\n", 467}, + {"DOS Compatibility flag is set\n", 468}, + {"DOS Compatibility flag is not set\n", 469}, + {"Partition %d does not exist yet!\n", 470}, {"\ Type 0 means free space to many systems\n\ (but not to Linux). Having partitions of\n\ type 0 is probably unwise. You can delete\n\ -a partition using the `d' command.\n", 465}, +a partition using the `d' command.\n", 471}, {"\ You cannot change a partition into an extended one or vice versa\n\ -Delete it first.\n", 466}, +Delete it first.\n", 472}, {"\ Consider leaving partition 3 as Whole disk (5),\n\ as SunOS/Solaris expects it and even Linux likes it.\n\ -\n", 467}, +\n", 473}, {"\ Consider leaving partition 9 as volume header (0),\n\ and partition 11 as entire volume (6)as IRIX expects it.\n\ -\n", 468}, - {"Changed system type of partition %d to %x (%s)\n", 469}, - {"Partition %d has different physical/logical beginnings (non-Linux?):\n", 470}, - {" phys=(%d, %d, %d) ", 471}, - {"logical=(%d, %d, %d)\n", 472}, - {"Partition %d has different physical/logical endings:\n", 473}, - {"Partition %i does not start on cylinder boundary:\n", 474}, - {"should be (%d, %d, 1)\n", 475}, - {"Partition %i does not end on cylinder boundary:\n", 476}, - {"should be (%d, %d, %d)\n", 477}, +\n", 474}, + {"Changed system type of partition %d to %x (%s)\n", 475}, + {"Partition %d has different physical/logical beginnings (non-Linux?):\n", 476}, + {" phys=(%d, %d, %d) ", 477}, + {"logical=(%d, %d, %d)\n", 478}, + {"Partition %d has different physical/logical endings:\n", 479}, + {"Partition %i does not start on cylinder boundary:\n", 480}, + {"should be (%d, %d, 1)\n", 481}, + {"Partition %i does not end on cylinder boundary:\n", 482}, + {"should be (%d, %d, %d)\n", 483}, {"\ \n\ Disk %s: %d heads, %d sectors, %d cylinders\n\ Units = %s of %d * %d bytes\n\ -\n", 478}, +\n", 484}, {"\ Nothing to do. Ordering is correct already.\n\ -\n", 479}, - {"%*s Boot Start End Blocks Id System\n", 480}, - {"Device", 481}, +\n", 485}, + {"%*s Boot Start End Blocks Id System\n", 486}, + {"Device", 487}, {"\ \n\ -Partition table entries are not in disk order\n", 482}, +Partition table entries are not in disk order\n", 488}, {"\ \n\ Disk %s: %d heads, %d sectors, %d cylinders\n\ -\n", 483}, - {"Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n", 484}, - {"Warning: partition %d contains sector 0\n", 485}, - {"Partition %d: head %d greater than maximum %d\n", 486}, - {"Partition %d: sector %d greater than maximum %d\n", 487}, - {"Partitions %d: cylinder %d greater than maximum %d\n", 488}, - {"Partition %d: previous sectors %d disagrees with total %d\n", 489}, - {"Warning: bad start-of-data in partition %d\n", 490}, - {"Warning: partition %d overlaps partition %d.\n", 491}, - {"Warning: partition %d is empty\n", 492}, - {"Logical partition %d not entirely in partition %d\n", 493}, - {"Total allocated sectors %d greater than the maximum %d\n", 494}, - {"%d unallocated sectors\n", 495}, - {"Partition %d is already defined. Delete it before re-adding it.\n", 496}, - {"First %s", 497}, - {"Sector %d is already allocated\n", 498}, - {"No free sectors available\n", 499}, - {"Last %s or +size or +sizeM or +sizeK", 500}, +\n", 489}, + {"Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID\n", 490}, + {"Warning: partition %d contains sector 0\n", 491}, + {"Partition %d: head %d greater than maximum %d\n", 492}, + {"Partition %d: sector %d greater than maximum %d\n", 493}, + {"Partitions %d: cylinder %d greater than maximum %d\n", 494}, + {"Partition %d: previous sectors %d disagrees with total %d\n", 495}, + {"Warning: bad start-of-data in partition %d\n", 496}, + {"Warning: partition %d overlaps partition %d.\n", 497}, + {"Warning: partition %d is empty\n", 498}, + {"Logical partition %d not entirely in partition %d\n", 499}, + {"Total allocated sectors %d greater than the maximum %d\n", 500}, + {"%d unallocated sectors\n", 501}, + {"Partition %d is already defined. Delete it before re-adding it.\n", 502}, + {"First %s", 503}, + {"Sector %d is already allocated\n", 504}, + {"No free sectors available\n", 505}, + {"Last %s or +size or +sizeM or +sizeK", 506}, {"\ \tSorry - this fdisk cannot handle AIX disk labels.\n\ \tIf you want to add DOS-type partitions, create\n\ \ta new empty DOS partition table first. (Use o.)\n\ -\tWARNING: This will destroy the present disk contents.\n", 501}, - {"The maximum number of partitions has been created\n", 502}, - {"You must delete some partition and add an extended partition first\n", 503}, +\tWARNING: This will destroy the present disk contents.\n", 507}, + {"The maximum number of partitions has been created\n", 508}, + {"You must delete some partition and add an extended partition first\n", 509}, {"\ Command action\n\ %s\n\ - p primary partition (1-4)\n", 504}, - {"l logical (5 or over)", 505}, - {"e extended", 506}, - {"Invalid partition number for type `%c'\n", 507}, + p primary partition (1-4)\n", 510}, + {"l logical (5 or over)", 511}, + {"e extended", 512}, + {"Invalid partition number for type `%c'\n", 513}, {"\ The partition table has been altered!\n\ -\n", 508}, - {"Calling ioctl() to re-read partition table.\n", 509}, +\n", 514}, + {"Calling ioctl() to re-read partition table.\n", 515}, {"\ \n\ WARNING: Re-reading the partition table failed with error %d: %s.\n\ The kernel still uses the old table.\n\ -The new table will be used at the next reboot.\n", 510}, +The new table will be used at the next reboot.\n", 516}, {"\ \n\ WARNING: If you have created or modified any DOS 6.x\n\ partitions, please see the fdisk manual page for additional\n\ -information.\n", 511}, - {"Syncing disks.\n", 512}, - {"Partition %d has no data area\n", 513}, - {"New beginning of data", 514}, - {"Expert command (m for help): ", 515}, - {"Number of cylinders", 516}, - {"Number of heads", 517}, - {"Number of sectors", 518}, - {"Warning: setting sector offset for DOS compatiblity\n", 519}, - {"Disk %s doesn't contain a valid partition table\n", 520}, - {"Cannot open %s\n", 521}, - {"cannot open %s\n", 522}, - {"%c: unknown command\n", 523}, - {"This kernel finds the sector size itself - -b option ignored\n", 524}, +information.\n", 517}, + {"Syncing disks.\n", 518}, + {"Partition %d has no data area\n", 519}, + {"New beginning of data", 520}, + {"Expert command (m for help): ", 521}, + {"Number of cylinders", 522}, + {"Number of heads", 523}, + {"Number of sectors", 524}, + {"Warning: setting sector offset for DOS compatiblity\n", 525}, + {"Disk %s doesn't contain a valid partition table\n", 526}, + {"Cannot open %s\n", 527}, + {"cannot open %s\n", 528}, + {"%c: unknown command\n", 529}, + {"This kernel finds the sector size itself - -b option ignored\n", 530}, {"\ Warning: the -b (set sector size) option should be used with one specified \ -device\n", 525}, +device\n", 531}, {"\ Detected an OSF/1 disklabel on %s, entering disklabel mode.\n\ -To return to DOS partition table mode, use the 'r' command.\n", 526}, - {"Command (m for help): ", 527}, +To return to DOS partition table mode, use the 'r' command.\n", 532}, + {"Command (m for help): ", 533}, {"\ \n\ -The current boot file is: %s\n", 528}, - {"Please enter the name of the new boot file: ", 529}, - {"Boot file unchanged\n", 530}, +The current boot file is: %s\n", 534}, + {"Please enter the name of the new boot file: ", 535}, + {"Boot file unchanged\n", 536}, {"\ \n\ \tSorry, no experts menu for SGI partition tables available.\n\ -\n", 531}, +\n", 537}, {"\ \n\ \tThere is a valid AIX label on this disk.\n\ @@ -687,94 +693,94 @@ The current boot file is: %s\n", 528}, \t erase the other disks as well, if unmirrored.)\n\ \t3. Before deleting this physical volume be sure\n\ \t to remove the disk logically from your AIX\n\ -\t machine. (Otherwise you become an AIXpert).", 532}, +\t machine. (Otherwise you become an AIXpert).", 538}, {"\ \n\ -BSD label for device: %s\n", 533}, - {" d delete a BSD partition", 534}, - {" e edit drive data", 535}, - {" i install bootstrap", 536}, - {" l list known filesystem types", 537}, - {" n add a new BSD partition", 538}, - {" p print BSD partition table", 539}, - {" s show complete disklabel", 540}, - {" t change a partition's filesystem id", 541}, - {" u change units (cylinders/sectors)", 542}, - {" w write disklabel to disk", 543}, - {" x link BSD partition to non-BSD partition", 544}, - {"Partition %s has invalid starting sector 0.\n", 545}, - {"Reading disklabel of %s at sector %d.\n", 546}, - {"There is no *BSD partition on %s.\n", 547}, - {"BSD disklabel command (m for help): ", 548}, - {"type: %s\n", 549}, - {"type: %d\n", 550}, - {"disk: %.*s\n", 551}, - {"label: %.*s\n", 552}, - {"flags:", 553}, - {" removable", 554}, - {" ecc", 555}, - {" badsect", 556}, - {"bytes/sector: %ld\n", 557}, - {"sectors/track: %ld\n", 558}, - {"tracks/cylinder: %ld\n", 559}, - {"sectors/cylinder: %ld\n", 560}, - {"cylinders: %ld\n", 561}, - {"rpm: %d\n", 562}, - {"interleave: %d\n", 563}, - {"trackskew: %d\n", 564}, - {"cylinderskew: %d\n", 565}, - {"headswitch: %ld\t\t# milliseconds\n", 566}, - {"track-to-track seek: %ld\t# milliseconds\n", 567}, - {"drivedata: ", 568}, +BSD label for device: %s\n", 539}, + {" d delete a BSD partition", 540}, + {" e edit drive data", 541}, + {" i install bootstrap", 542}, + {" l list known filesystem types", 543}, + {" n add a new BSD partition", 544}, + {" p print BSD partition table", 545}, + {" s show complete disklabel", 546}, + {" t change a partition's filesystem id", 547}, + {" u change units (cylinders/sectors)", 548}, + {" w write disklabel to disk", 549}, + {" x link BSD partition to non-BSD partition", 550}, + {"Partition %s has invalid starting sector 0.\n", 551}, + {"Reading disklabel of %s at sector %d.\n", 552}, + {"There is no *BSD partition on %s.\n", 553}, + {"BSD disklabel command (m for help): ", 554}, + {"type: %s\n", 555}, + {"type: %d\n", 556}, + {"disk: %.*s\n", 557}, + {"label: %.*s\n", 558}, + {"flags:", 559}, + {" removable", 560}, + {" ecc", 561}, + {" badsect", 562}, + {"bytes/sector: %ld\n", 563}, + {"sectors/track: %ld\n", 564}, + {"tracks/cylinder: %ld\n", 565}, + {"sectors/cylinder: %ld\n", 566}, + {"cylinders: %ld\n", 567}, + {"rpm: %d\n", 568}, + {"interleave: %d\n", 569}, + {"trackskew: %d\n", 570}, + {"cylinderskew: %d\n", 571}, + {"headswitch: %ld\t\t# milliseconds\n", 572}, + {"track-to-track seek: %ld\t# milliseconds\n", 573}, + {"drivedata: ", 574}, {"\ \n\ -%d partitions:\n", 569}, - {"# start end size fstype [fsize bsize cpg]\n", 570}, - {"Writing disklabel to %s.\n", 571}, - {"%s contains no disklabel.\n", 572}, - {"Do you want to create a disklabel? (y/n) ", 573}, - {"bytes/sector", 574}, - {"sectors/track", 575}, - {"tracks/cylinder", 576}, - {"sectors/cylinder", 577}, - {"Must be <= sectors/track * tracks/cylinder (default).\n", 578}, - {"rpm", 579}, - {"interleave", 580}, - {"trackskew", 581}, - {"cylinderskew", 582}, - {"headswitch", 583}, - {"track-to-track seek", 584}, - {"Bootstrap: %sboot -> boot%s (%s): ", 585}, - {"Bootstrap overlaps with disk label!\n", 586}, - {"Bootstrap installed on %s.\n", 587}, - {"Partition (a-%c): ", 588}, - {"This partition already exists.\n", 589}, - {"Warning: too many partitions (%d, maximum is %d).\n", 590}, +%d partitions:\n", 575}, + {"# start end size fstype [fsize bsize cpg]\n", 576}, + {"Writing disklabel to %s.\n", 577}, + {"%s contains no disklabel.\n", 578}, + {"Do you want to create a disklabel? (y/n) ", 579}, + {"bytes/sector", 580}, + {"sectors/track", 581}, + {"tracks/cylinder", 582}, + {"sectors/cylinder", 583}, + {"Must be <= sectors/track * tracks/cylinder (default).\n", 584}, + {"rpm", 585}, + {"interleave", 586}, + {"trackskew", 587}, + {"cylinderskew", 588}, + {"headswitch", 589}, + {"track-to-track seek", 590}, + {"Bootstrap: %sboot -> boot%s (%s): ", 591}, + {"Bootstrap overlaps with disk label!\n", 592}, + {"Bootstrap installed on %s.\n", 593}, + {"Partition (a-%c): ", 594}, + {"This partition already exists.\n", 595}, + {"Warning: too many partitions (%d, maximum is %d).\n", 596}, {"\ \n\ -Syncing disks.\n", 591}, - {"SGI volhdr", 592}, - {"SGI trkrepl", 593}, - {"SGI secrepl", 594}, - {"SGI raw", 595}, - {"SGI bsd", 596}, - {"SGI sysv", 597}, - {"SGI volume", 598}, - {"SGI efs", 599}, - {"SGI lvol", 600}, - {"SGI rlvol", 601}, - {"SGI xfs", 602}, - {"SGI xfslog", 603}, - {"SGI xlv", 604}, - {"SGI xvm", 605}, - {"Linux swap", 606}, - {"Linux native", 607}, - {"Linux LVM", 608}, - {"Linux RAID", 609}, +Syncing disks.\n", 597}, + {"SGI volhdr", 598}, + {"SGI trkrepl", 599}, + {"SGI secrepl", 600}, + {"SGI raw", 601}, + {"SGI bsd", 602}, + {"SGI sysv", 603}, + {"SGI volume", 604}, + {"SGI efs", 605}, + {"SGI lvol", 606}, + {"SGI rlvol", 607}, + {"SGI xfs", 608}, + {"SGI xfslog", 609}, + {"SGI xlv", 610}, + {"SGI xvm", 611}, + {"Linux swap", 612}, + {"Linux native", 613}, + {"Linux LVM", 614}, + {"Linux RAID", 615}, {"\ According to MIPS Computer Systems, Inc the Label must not contain more than \ -512 bytes\n", 610}, - {"Detected sgi disklabel with wrong checksum.\n", 611}, +512 bytes\n", 616}, + {"Detected sgi disklabel with wrong checksum.\n", 617}, {"\ \n\ Disk %s (SGI disk label): %d heads, %d sectors\n\ @@ -782,141 +788,141 @@ Disk %s (SGI disk label): %d heads, %d sectors\n\ %d extra sects/cyl, interleave %d:1\n\ %s\n\ Units = %s of %d * 512 bytes\n\ -\n", 612}, +\n", 618}, {"\ \n\ Disk %s (SGI disk label): %d heads, %d sectors, %d cylinders\n\ Units = %s of %d * 512 bytes\n\ -\n", 613}, +\n", 619}, {"\ ----- partitions -----\n\ -Pt# %*s Info Start End Sectors Id System\n", 614}, +Pt# %*s Info Start End Sectors Id System\n", 620}, {"\ ----- Bootinfo -----\n\ Bootfile: %s\n\ ------ Directory Entries -----\n", 615}, - {"%2d: %-10s sector%5u size%8u\n", 616}, +----- Directory Entries -----\n", 621}, + {"%2d: %-10s sector%5u size%8u\n", 622}, {"\ \n\ Invalid Bootfile!\n\ \tThe bootfile must be an absolute non-zero pathname,\n\ -\te.g. \"/unix\" or \"/unix.save\".\n", 617}, +\te.g. \"/unix\" or \"/unix.save\".\n", 623}, {"\ \n\ -\tName of Bootfile too long: 16 bytes maximum.\n", 618}, +\tName of Bootfile too long: 16 bytes maximum.\n", 624}, {"\ \n\ -\tBootfile must have a fully qualified pathname.\n", 619}, +\tBootfile must have a fully qualified pathname.\n", 625}, {"\ \n\ \tBe aware, that the bootfile is not checked for existence.\n\ -\tSGI's default is \"/unix\" and for backup \"/unix.save\".\n", 620}, +\tSGI's default is \"/unix\" and for backup \"/unix.save\".\n", 626}, {"\ \n\ -\tBootfile is changed to \"%s\".\n", 621}, - {"More than one entire disk entry present.\n", 622}, - {"No partitions defined\n", 623}, - {"IRIX likes when Partition 11 covers the entire disk.\n", 624}, +\tBootfile is changed to \"%s\".\n", 627}, + {"More than one entire disk entry present.\n", 628}, + {"No partitions defined\n", 629}, + {"IRIX likes when Partition 11 covers the entire disk.\n", 630}, {"\ The entire disk partition should start at block 0,\n\ -not at diskblock %d.\n", 625}, +not at diskblock %d.\n", 631}, {"\ The entire disk partition is only %d diskblock large,\n\ -but the disk is %d diskblocks long.\n", 626}, - {"One Partition (#11) should cover the entire disk.\n", 627}, - {"Partition %d does not start on cylinder boundary.\n", 628}, - {"Partition %d does not end on cylinder boundary.\n", 629}, - {"The Partition %d and %d overlap by %d sectors.\n", 630}, - {"Unused gap of %8d sectors - sectors %8d-%d\n", 631}, +but the disk is %d diskblocks long.\n", 632}, + {"One Partition (#11) should cover the entire disk.\n", 633}, + {"Partition %d does not start on cylinder boundary.\n", 634}, + {"Partition %d does not end on cylinder boundary.\n", 635}, + {"The Partition %d and %d overlap by %d sectors.\n", 636}, + {"Unused gap of %8d sectors - sectors %8d-%d\n", 637}, {"\ \n\ -The boot partition does not exist.\n", 632}, +The boot partition does not exist.\n", 638}, {"\ \n\ -The swap partition does not exist.\n", 633}, +The swap partition does not exist.\n", 639}, {"\ \n\ -The swap partition has no swap type.\n", 634}, - {"\tYou have chosen an unusual boot file name.\n", 635}, - {"Sorry You may change the Tag of non-empty partitions.\n", 636}, +The swap partition has no swap type.\n", 640}, + {"\tYou have chosen an unusual boot file name.\n", 641}, + {"Sorry You may change the Tag of non-empty partitions.\n", 642}, {"\ It is highly recommended that the partition at offset 0\n\ is of type \"SGI volhdr\", the IRIX system will rely on it to\n\ retrieve from its directory standalone tools like sash and fx.\n\ Only the \"SGI volume\" entire disk section may violate this.\n\ -Type YES if you are sure about tagging this partition differently.\n", 637}, - {"YES\n", 638}, - {"Do You know, You got a partition overlap on the disk?\n", 639}, - {"Attempting to generate entire disk entry automatically.\n", 640}, - {"The entire disk is already covered with partitions.\n", 641}, - {"You got a partition overlap on the disk. Fix it first!\n", 642}, +Type YES if you are sure about tagging this partition differently.\n", 643}, + {"YES\n", 644}, + {"Do You know, You got a partition overlap on the disk?\n", 645}, + {"Attempting to generate entire disk entry automatically.\n", 646}, + {"The entire disk is already covered with partitions.\n", 647}, + {"You got a partition overlap on the disk. Fix it first!\n", 648}, {"\ It is highly recommended that eleventh partition\n\ -covers the entire disk and is of type `SGI volume'\n", 643}, - {"You will get a partition overlap on the disk. Fix it first!\n", 644}, - {" Last %s", 645}, +covers the entire disk and is of type `SGI volume'\n", 649}, + {"You will get a partition overlap on the disk. Fix it first!\n", 650}, + {" Last %s", 651}, {"\ Building a new SGI disklabel. Changes will remain in memory only,\n\ until you decide to write them. After that, of course, the previous\n\ content will be unrecoverably lost.\n\ -\n", 646}, - {"Trying to keep parameters of partition %d.\n", 647}, - {"ID=%02x\tSTART=%d\tLENGTH=%d\n", 648}, - {"Empty", 649}, - {"SunOS root", 650}, - {"SunOS swap", 651}, - {"SunOS usr", 652}, - {"Whole disk", 653}, - {"SunOS stand", 654}, - {"SunOS var", 655}, - {"SunOS home", 656}, - {"Linux raid autodetect", 657}, +\n", 652}, + {"Trying to keep parameters of partition %d.\n", 653}, + {"ID=%02x\tSTART=%d\tLENGTH=%d\n", 654}, + {"Empty", 655}, + {"SunOS root", 656}, + {"SunOS swap", 657}, + {"SunOS usr", 658}, + {"Whole disk", 659}, + {"SunOS stand", 660}, + {"SunOS var", 661}, + {"SunOS home", 662}, + {"Linux raid autodetect", 663}, {"\ Detected sun disklabel with wrong checksum.\n\ Probably you'll have to set all the values,\n\ e.g. heads, sectors, cylinders and partitions\n\ -or force a fresh label (s command in main menu)\n", 658}, - {"Autoconfigure found a %s%s%s\n", 659}, +or force a fresh label (s command in main menu)\n", 664}, + {"Autoconfigure found a %s%s%s\n", 665}, {"\ Building a new sun disklabel. Changes will remain in memory only,\n\ until you decide to write them. After that, of course, the previous\n\ content won't be recoverable.\n\ -\n", 660}, +\n", 666}, {"\ Drive type\n\ ? auto configure\n\ - 0 custom (with hardware detected defaults)", 661}, - {"Select type (? for auto, 0 for custom): ", 662}, - {"Autoconfigure failed.\n", 663}, - {"Sectors/track", 664}, - {"Alternate cylinders", 665}, - {"Physical cylinders", 666}, - {"Rotation speed (rpm)", 667}, - {"Interleave factor", 668}, - {"Extra sectors per cylinder", 669}, - {"You may change all the disk params from the x menu", 670}, - {"3,5\" floppy", 671}, - {"Linux custom", 672}, - {"Partition %d doesn't end on cylinder boundary\n", 673}, - {"Partition %d overlaps with others in sectors %d-%d\n", 674}, - {"Unused gap - sectors 0-%d\n", 675}, - {"Unused gap - sectors %d-%d\n", 676}, + 0 custom (with hardware detected defaults)", 667}, + {"Select type (? for auto, 0 for custom): ", 668}, + {"Autoconfigure failed.\n", 669}, + {"Sectors/track", 670}, + {"Alternate cylinders", 671}, + {"Physical cylinders", 672}, + {"Rotation speed (rpm)", 673}, + {"Interleave factor", 674}, + {"Extra sectors per cylinder", 675}, + {"You may change all the disk params from the x menu", 676}, + {"3,5\" floppy", 677}, + {"Linux custom", 678}, + {"Partition %d doesn't end on cylinder boundary\n", 679}, + {"Partition %d overlaps with others in sectors %d-%d\n", 680}, + {"Unused gap - sectors 0-%d\n", 681}, + {"Unused gap - sectors %d-%d\n", 682}, {"\ Other partitions already cover the whole disk.\n\ -Delete some/shrink them before retry.\n", 677}, +Delete some/shrink them before retry.\n", 683}, {"\ You haven't covered the whole disk with the 3rd partition, but your value\n\ %d %s covers some other partition. Your entry has been changed\n\ -to %d %s\n", 678}, +to %d %s\n", 684}, {"\ If you want to maintain SunOS/Solaris compatibility, consider leaving this\n\ -partition as Whole disk (5), starting at 0, with %u sectors\n", 679}, +partition as Whole disk (5), starting at 0, with %u sectors\n", 685}, {"\ It is highly recommended that the partition at offset 0\n\ is UFS, EXT2FS filesystem or SunOS swap. Putting Linux swap\n\ there may destroy your partition table and bootblock.\n\ Type YES if you're very sure you would like that partition\n\ -tagged with 82 (Linux swap): ", 680}, +tagged with 82 (Linux swap): ", 686}, {"\ \n\ Disk %s (Sun disk label): %d heads, %d sectors, %d rpm\n\ @@ -924,453 +930,453 @@ Disk %s (Sun disk label): %d heads, %d sectors, %d rpm\n\ %d extra sects/cyl, interleave %d:1\n\ %s\n\ Units = %s of %d * 512 bytes\n\ -\n", 681}, +\n", 687}, {"\ \n\ Disk %s (Sun disk label): %d heads, %d sectors, %d cylinders\n\ Units = %s of %d * 512 bytes\n\ -\n", 682}, - {"%*s Flag Start End Blocks Id System\n", 683}, - {"Number of alternate cylinders", 684}, - {"Number of physical cylinders", 685}, - {"FAT12", 686}, - {"XENIX root", 687}, - {"XENIX usr", 688}, - {"FAT16 <32M", 689}, - {"Extended", 690}, - {"FAT16", 691}, - {"HPFS/NTFS", 692}, - {"AIX", 693}, - {"AIX bootable", 694}, - {"OS/2 Boot Manager", 695}, - {"Win95 FAT32", 696}, - {"Win95 FAT32 (LBA)", 697}, - {"Win95 FAT16 (LBA)", 698}, - {"Win95 Ext'd (LBA)", 699}, - {"OPUS", 700}, - {"Hidden FAT12", 701}, - {"Compaq diagnostics", 702}, - {"Hidden FAT16 <32M", 703}, - {"Hidden FAT16", 704}, - {"Hidden HPFS/NTFS", 705}, - {"AST SmartSleep", 706}, - {"Hidden Win95 FAT32", 707}, - {"Hidden Win95 FAT32 (LBA)", 708}, - {"Hidden Win95 FAT16 (LBA)", 709}, - {"NEC DOS", 710}, - {"Plan 9", 711}, - {"PartitionMagic recovery", 712}, - {"Venix 80286", 713}, - {"PPC PReP Boot", 714}, - {"SFS", 715}, - {"QNX4.x", 716}, - {"QNX4.x 2nd part", 717}, - {"QNX4.x 3rd part", 718}, - {"OnTrack DM", 719}, - {"OnTrack DM6 Aux1", 720}, - {"CP/M", 721}, - {"OnTrack DM6 Aux3", 722}, - {"OnTrackDM6", 723}, - {"EZ-Drive", 724}, - {"Golden Bow", 725}, - {"Priam Edisk", 726}, - {"SpeedStor", 727}, - {"GNU HURD or SysV", 728}, - {"Novell Netware 286", 729}, - {"Novell Netware 386", 730}, - {"DiskSecure Multi-Boot", 731}, - {"PC/IX", 732}, - {"Old Minix", 733}, - {"Minix / old Linux", 734}, - {"OS/2 hidden C: drive", 735}, - {"Linux extended", 736}, - {"NTFS volume set", 737}, - {"Amoeba", 738}, - {"Amoeba BBT", 739}, - {"BSD/OS", 740}, - {"IBM Thinkpad hibernation", 741}, - {"FreeBSD", 742}, - {"OpenBSD", 743}, - {"NeXTSTEP", 744}, - {"NetBSD", 745}, - {"BSDI fs", 746}, - {"BSDI swap", 747}, - {"Boot Wizard hidden", 748}, - {"DRDOS/sec (FAT-12)", 749}, - {"DRDOS/sec (FAT-16 < 32M)", 750}, - {"DRDOS/sec (FAT-16)", 751}, - {"Syrinx", 752}, - {"Non-FS data", 753}, - {"CP/M / CTOS / ...", 754}, - {"Dell Utility", 755}, - {"BootIt", 756}, - {"DOS access", 757}, - {"DOS R/O", 758}, - {"BeOS fs", 759}, - {"EFI GPT", 760}, - {"EFI (FAT-12/16/32)", 761}, - {"Linux/PA-RISC boot", 762}, - {"DOS secondary", 763}, - {"LANstep", 764}, - {"BBT", 765}, - {"seek error on %s - cannot seek to %lu\n", 766}, - {"seek error: wanted 0x%08x%08x, got 0x%08x%08x\n", 767}, - {"out of memory - giving up\n", 768}, - {"read error on %s - cannot read sector %lu\n", 769}, - {"ERROR: sector %lu does not have an msdos signature\n", 770}, - {"write error on %s - cannot write sector %lu\n", 771}, - {"cannot open partition sector save file (%s)\n", 772}, - {"write error on %s\n", 773}, - {"cannot stat partition restore file (%s)\n", 774}, - {"partition restore file has wrong size - not restoring\n", 775}, - {"out of memory?\n", 776}, - {"cannot open partition restore file (%s)\n", 777}, - {"error reading %s\n", 778}, - {"cannot open device %s for writing\n", 779}, - {"error writing sector %lu on %s\n", 780}, - {"Disk %s: cannot get size\n", 781}, - {"Disk %s: cannot get geometry\n", 782}, +\n", 688}, + {"%*s Flag Start End Blocks Id System\n", 689}, + {"Number of alternate cylinders", 690}, + {"Number of physical cylinders", 691}, + {"FAT12", 692}, + {"XENIX root", 693}, + {"XENIX usr", 694}, + {"FAT16 <32M", 695}, + {"Extended", 696}, + {"FAT16", 697}, + {"HPFS/NTFS", 698}, + {"AIX", 699}, + {"AIX bootable", 700}, + {"OS/2 Boot Manager", 701}, + {"Win95 FAT32", 702}, + {"Win95 FAT32 (LBA)", 703}, + {"Win95 FAT16 (LBA)", 704}, + {"Win95 Ext'd (LBA)", 705}, + {"OPUS", 706}, + {"Hidden FAT12", 707}, + {"Compaq diagnostics", 708}, + {"Hidden FAT16 <32M", 709}, + {"Hidden FAT16", 710}, + {"Hidden HPFS/NTFS", 711}, + {"AST SmartSleep", 712}, + {"Hidden Win95 FAT32", 713}, + {"Hidden Win95 FAT32 (LBA)", 714}, + {"Hidden Win95 FAT16 (LBA)", 715}, + {"NEC DOS", 716}, + {"Plan 9", 717}, + {"PartitionMagic recovery", 718}, + {"Venix 80286", 719}, + {"PPC PReP Boot", 720}, + {"SFS", 721}, + {"QNX4.x", 722}, + {"QNX4.x 2nd part", 723}, + {"QNX4.x 3rd part", 724}, + {"OnTrack DM", 725}, + {"OnTrack DM6 Aux1", 726}, + {"CP/M", 727}, + {"OnTrack DM6 Aux3", 728}, + {"OnTrackDM6", 729}, + {"EZ-Drive", 730}, + {"Golden Bow", 731}, + {"Priam Edisk", 732}, + {"SpeedStor", 733}, + {"GNU HURD or SysV", 734}, + {"Novell Netware 286", 735}, + {"Novell Netware 386", 736}, + {"DiskSecure Multi-Boot", 737}, + {"PC/IX", 738}, + {"Old Minix", 739}, + {"Minix / old Linux", 740}, + {"OS/2 hidden C: drive", 741}, + {"Linux extended", 742}, + {"NTFS volume set", 743}, + {"Amoeba", 744}, + {"Amoeba BBT", 745}, + {"BSD/OS", 746}, + {"IBM Thinkpad hibernation", 747}, + {"FreeBSD", 748}, + {"OpenBSD", 749}, + {"NeXTSTEP", 750}, + {"NetBSD", 751}, + {"BSDI fs", 752}, + {"BSDI swap", 753}, + {"Boot Wizard hidden", 754}, + {"DRDOS/sec (FAT-12)", 755}, + {"DRDOS/sec (FAT-16 < 32M)", 756}, + {"DRDOS/sec (FAT-16)", 757}, + {"Syrinx", 758}, + {"Non-FS data", 759}, + {"CP/M / CTOS / ...", 760}, + {"Dell Utility", 761}, + {"BootIt", 762}, + {"DOS access", 763}, + {"DOS R/O", 764}, + {"BeOS fs", 765}, + {"EFI GPT", 766}, + {"EFI (FAT-12/16/32)", 767}, + {"Linux/PA-RISC boot", 768}, + {"DOS secondary", 769}, + {"LANstep", 770}, + {"BBT", 771}, + {"seek error on %s - cannot seek to %lu\n", 772}, + {"seek error: wanted 0x%08x%08x, got 0x%08x%08x\n", 773}, + {"out of memory - giving up\n", 774}, + {"read error on %s - cannot read sector %lu\n", 775}, + {"ERROR: sector %lu does not have an msdos signature\n", 776}, + {"write error on %s - cannot write sector %lu\n", 777}, + {"cannot open partition sector save file (%s)\n", 778}, + {"write error on %s\n", 779}, + {"cannot stat partition restore file (%s)\n", 780}, + {"partition restore file has wrong size - not restoring\n", 781}, + {"out of memory?\n", 782}, + {"cannot open partition restore file (%s)\n", 783}, + {"error reading %s\n", 784}, + {"cannot open device %s for writing\n", 785}, + {"error writing sector %lu on %s\n", 786}, + {"Disk %s: cannot get size\n", 787}, + {"Disk %s: cannot get geometry\n", 788}, {"\ Warning: start=%lu - this looks like a partition rather than\n\ the entire disk. Using fdisk on it is probably meaningless.\n\ -[Use the --force option if you really want this]\n", 783}, - {"Warning: HDIO_GETGEO says that there are %lu heads\n", 784}, - {"Warning: HDIO_GETGEO says that there are %lu sectors\n", 785}, - {"Warning: BLKGETSIZE/HDIO_GETGEO says that there are %lu cylinders\n", 786}, +[Use the --force option if you really want this]\n", 789}, + {"Warning: HDIO_GETGEO says that there are %lu heads\n", 790}, + {"Warning: HDIO_GETGEO says that there are %lu sectors\n", 791}, + {"Warning: BLKGETSIZE/HDIO_GETGEO says that there are %lu cylinders\n", 792}, {"\ Warning: unlikely number of sectors (%lu) - usually at most 63\n\ -This will give problems with all software that uses C/H/S addressing.\n", 787}, +This will give problems with all software that uses C/H/S addressing.\n", 793}, {"\ \n\ -Disk %s: %lu cylinders, %lu heads, %lu sectors/track\n", 788}, +Disk %s: %lu cylinders, %lu heads, %lu sectors/track\n", 794}, {"\ -%s of partition %s has impossible value for head: %lu (should be in 0-%lu)\n", 789}, +%s of partition %s has impossible value for head: %lu (should be in 0-%lu)\n", 795}, {"\ %s of partition %s has impossible value for sector: %lu (should be in 1-%\ -lu)\n", 790}, +lu)\n", 796}, {"\ %s of partition %s has impossible value for cylinders: %lu (should be in 0-%\ -lu)\n", 791}, +lu)\n", 797}, {"\ Id Name\n\ -\n", 792}, - {"Re-reading the partition table ...\n", 793}, +\n", 798}, + {"Re-reading the partition table ...\n", 799}, {"\ The command to re-read the partition table failed\n\ -Reboot your system now, before using mkfs\n", 794}, - {"Error closing %s\n", 795}, - {"%s: no such partition\n", 796}, - {"unrecognized format - using sectors\n", 797}, - {"# partition table of %s\n", 798}, - {"unimplemented format - using %s\n", 799}, +Reboot your system now, before using mkfs\n", 800}, + {"Error closing %s\n", 801}, + {"%s: no such partition\n", 802}, + {"unrecognized format - using sectors\n", 803}, + {"# partition table of %s\n", 804}, + {"unimplemented format - using %s\n", 805}, {"\ Units = cylinders of %lu bytes, blocks of 1024 bytes, counting from %d\n\ -\n", 800}, - {" Device Boot Start End #cyls #blocks Id System\n", 801}, +\n", 806}, + {" Device Boot Start End #cyls #blocks Id System\n", 807}, {"\ Units = sectors of 512 bytes, counting from %d\n\ -\n", 802}, - {" Device Boot Start End #sectors Id System\n", 803}, +\n", 808}, + {" Device Boot Start End #sectors Id System\n", 809}, {"\ Units = blocks of 1024 bytes, counting from %d\n\ -\n", 804}, - {" Device Boot Start End #blocks Id System\n", 805}, +\n", 810}, + {" Device Boot Start End #blocks Id System\n", 811}, {"\ Units = megabytes of 1048576 bytes, blocks of 1024 bytes, counting from %d\n\ -\n", 806}, - {" Device Boot Start End MB #blocks Id System\n", 807}, - {"\t\tstart: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 808}, - {"\t\tend: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 809}, - {"partition ends on cylinder %ld, beyond the end of the disk\n", 810}, - {"No partitions found\n", 811}, +\n", 812}, + {" Device Boot Start End MB #blocks Id System\n", 813}, + {"\t\tstart: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 814}, + {"\t\tend: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 815}, + {"partition ends on cylinder %ld, beyond the end of the disk\n", 816}, + {"No partitions found\n", 817}, {"\ Warning: The first partition looks like it was made\n\ for C/H/S=*/%ld/%ld (instead of %ld/%ld/%ld).\n\ -For this listing I'll assume that geometry.\n", 812}, - {"no partition table present.\n", 813}, - {"strange, only %d partitions defined.\n", 814}, - {"Warning: partition %s has size 0 but is not marked Empty\n", 815}, - {"Warning: partition %s has size 0 and is bootable\n", 816}, - {"Warning: partition %s has size 0 and nonzero start\n", 817}, - {"Warning: partition %s ", 818}, - {"is not contained in partition %s\n", 819}, - {"Warning: partitions %s ", 820}, - {"and %s overlap\n", 821}, +For this listing I'll assume that geometry.\n", 818}, + {"no partition table present.\n", 819}, + {"strange, only %d partitions defined.\n", 820}, + {"Warning: partition %s has size 0 but is not marked Empty\n", 821}, + {"Warning: partition %s has size 0 and is bootable\n", 822}, + {"Warning: partition %s has size 0 and nonzero start\n", 823}, + {"Warning: partition %s ", 824}, + {"is not contained in partition %s\n", 825}, + {"Warning: partitions %s ", 826}, + {"and %s overlap\n", 827}, {"\ Warning: partition %s contains part of the partition table (sector %lu),\n\ -and will destroy it when filled\n", 822}, - {"Warning: partition %s starts at sector 0\n", 823}, - {"Warning: partition %s extends past end of disk\n", 824}, +and will destroy it when filled\n", 828}, + {"Warning: partition %s starts at sector 0\n", 829}, + {"Warning: partition %s extends past end of disk\n", 830}, {"\ Among the primary partitions, at most one can be extended\n\ - (although this is not a problem under Linux)\n", 825}, - {"Warning: partition %s does not start at a cylinder boundary\n", 826}, - {"Warning: partition %s does not end at a cylinder boundary\n", 827}, + (although this is not a problem under Linux)\n", 831}, + {"Warning: partition %s does not start at a cylinder boundary\n", 832}, + {"Warning: partition %s does not end at a cylinder boundary\n", 833}, {"\ Warning: more than one primary partition is marked bootable (active)\n\ -This does not matter for LILO, but the DOS MBR will not boot this disk.\n", 828}, +This does not matter for LILO, but the DOS MBR will not boot this disk.\n", 834}, {"\ Warning: usually one can boot from primary partitions only\n\ -LILO disregards the `bootable' flag.\n", 829}, +LILO disregards the `bootable' flag.\n", 835}, {"\ Warning: no primary partition is marked bootable (active)\n\ -This does not matter for LILO, but the DOS MBR will not boot this disk.\n", 830}, +This does not matter for LILO, but the DOS MBR will not boot this disk.\n", 836}, {"\ -partition %s: start: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 831}, - {"partition %s: end: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 832}, - {"partition %s ends on cylinder %ld, beyond the end of the disk\n", 833}, +partition %s: start: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 837}, + {"partition %s: end: (c,h,s) expected (%ld,%ld,%ld) found (%ld,%ld,%ld)\n", 838}, + {"partition %s ends on cylinder %ld, beyond the end of the disk\n", 839}, {"\ Warning: shifted start of the extd partition from %ld to %ld\n\ -(For listing purposes only. Do not change its contents.)\n", 834}, +(For listing purposes only. Do not change its contents.)\n", 840}, {"\ Warning: extended partition does not start at a cylinder boundary.\n\ -DOS and Linux will interpret the contents differently.\n", 835}, - {"too many partitions - ignoring those past nr (%d)\n", 836}, - {"tree of partitions?\n", 837}, - {"detected Disk Manager - unable to handle that\n", 838}, - {"DM6 signature found - giving up\n", 839}, - {"strange..., an extended partition of size 0?\n", 840}, - {"strange..., a BSD partition of size 0?\n", 841}, - {" %s: unrecognized partition\n", 842}, - {"-n flag was given: Nothing changed\n", 843}, - {"Failed saving the old sectors - aborting\n", 844}, - {"Failed writing the partition on %s\n", 845}, - {"long or incomplete input line - quitting\n", 846}, - {"input error: `=' expected after %s field\n", 847}, - {"input error: unexpected character %c after %s field\n", 848}, - {"unrecognized input: %s\n", 849}, - {"number too big\n", 850}, - {"trailing junk after number\n", 851}, - {"no room for partition descriptor\n", 852}, - {"cannot build surrounding extended partition\n", 853}, - {"too many input fields\n", 854}, - {"No room for more\n", 855}, - {"Illegal type\n", 856}, - {"Warning: given size (%lu) exceeds max allowable size (%lu)\n", 857}, - {"Warning: empty partition\n", 858}, - {"Warning: bad partition start (earliest %lu)\n", 859}, - {"unrecognized bootable flag - choose - or *\n", 860}, - {"partial c,h,s specification?\n", 861}, - {"Extended partition not where expected\n", 862}, - {"bad input\n", 863}, - {"too many partitions\n", 864}, +DOS and Linux will interpret the contents differently.\n", 841}, + {"too many partitions - ignoring those past nr (%d)\n", 842}, + {"tree of partitions?\n", 843}, + {"detected Disk Manager - unable to handle that\n", 844}, + {"DM6 signature found - giving up\n", 845}, + {"strange..., an extended partition of size 0?\n", 846}, + {"strange..., a BSD partition of size 0?\n", 847}, + {" %s: unrecognized partition\n", 848}, + {"-n flag was given: Nothing changed\n", 849}, + {"Failed saving the old sectors - aborting\n", 850}, + {"Failed writing the partition on %s\n", 851}, + {"long or incomplete input line - quitting\n", 852}, + {"input error: `=' expected after %s field\n", 853}, + {"input error: unexpected character %c after %s field\n", 854}, + {"unrecognized input: %s\n", 855}, + {"number too big\n", 856}, + {"trailing junk after number\n", 857}, + {"no room for partition descriptor\n", 858}, + {"cannot build surrounding extended partition\n", 859}, + {"too many input fields\n", 860}, + {"No room for more\n", 861}, + {"Illegal type\n", 862}, + {"Warning: given size (%lu) exceeds max allowable size (%lu)\n", 863}, + {"Warning: empty partition\n", 864}, + {"Warning: bad partition start (earliest %lu)\n", 865}, + {"unrecognized bootable flag - choose - or *\n", 866}, + {"partial c,h,s specification?\n", 867}, + {"Extended partition not where expected\n", 868}, + {"bad input\n", 869}, + {"too many partitions\n", 870}, {"\ Input in the following format; absent fields get a default value.\n\ \n\ -Usually you only need to specify and (and perhaps ).\n", 865}, - {"version", 866}, - {"Usage: %s [options] device ...\n", 867}, - {"device: something like /dev/hda or /dev/sda", 868}, - {"useful options:", 869}, - {" -s [or --show-size]: list size of a partition", 870}, - {" -c [or --id]: print or change partition Id", 871}, - {" -l [or --list]: list partitions of each device", 872}, - {" -d [or --dump]: idem, but in a format suitable for later input", 873}, - {" -i [or --increment]: number cylinders etc. from 1 instead of from 0", 874}, +Usually you only need to specify and (and perhaps ).\n", 871}, + {"version", 872}, + {"Usage: %s [options] device ...\n", 873}, + {"device: something like /dev/hda or /dev/sda", 874}, + {"useful options:", 875}, + {" -s [or --show-size]: list size of a partition", 876}, + {" -c [or --id]: print or change partition Id", 877}, + {" -l [or --list]: list partitions of each device", 878}, + {" -d [or --dump]: idem, but in a format suitable for later input", 879}, + {" -i [or --increment]: number cylinders etc. from 1 instead of from 0", 880}, {"\ -uS, -uB, -uC, -uM: accept/report in units of sectors/blocks/cylinders/\ -MB", 875}, - {" -T [or --list-types]:list the known partition types", 876}, - {" -D [or --DOS]: for DOS-compatibility: waste a little space", 877}, - {" -R [or --re-read]: make kernel reread partition table", 878}, - {" -N# : change only the partition with number #", 879}, - {" -n : do not actually write to disk", 880}, - {"\ - -O file : save the sectors that will be overwritten to file", 881}, - {" -I file : restore these sectors again", 882}, - {" -v [or --version]: print version", 883}, - {" -? [or --help]: print this message", 884}, - {"dangerous options:", 885}, - {" -g [or --show-geometry]: print the kernel's idea of the geometry", 886}, +MB", 881}, + {" -T [or --list-types]:list the known partition types", 882}, + {" -D [or --DOS]: for DOS-compatibility: waste a little space", 883}, + {" -R [or --re-read]: make kernel reread partition table", 884}, + {" -N# : change only the partition with number #", 885}, + {" -n : do not actually write to disk", 886}, + {"\ + -O file : save the sectors that will be overwritten to file", 887}, + {" -I file : restore these sectors again", 888}, + {" -v [or --version]: print version", 889}, + {" -? [or --help]: print this message", 890}, + {"dangerous options:", 891}, + {" -g [or --show-geometry]: print the kernel's idea of the geometry", 892}, {"\ -x [or --show-extended]: also list extended partitions on output\n\ - or expect descriptors for them on input", 887}, - {"\ - -L [or --Linux]: do not complain about things irrelevant for Linux", 888}, - {" -q [or --quiet]: suppress warning messages", 889}, - {" You can override the detected geometry using:", 890}, - {" -C# [or --cylinders #]:set the number of cylinders to use", 891}, - {" -H# [or --heads #]: set the number of heads to use", 892}, - {" -S# [or --sectors #]: set the number of sectors to use", 893}, - {"You can disable all consistency checking with:", 894}, - {" -f [or --force]: do what I say, even if it is stupid", 895}, - {"Usage:", 896}, - {"%s device\t\t list active partitions on device\n", 897}, - {"%s device n1 n2 ... activate partitions n1 ..., inactivate the rest\n", 898}, - {"%s -An device\t activate partition n, inactivate the other ones\n", 899}, - {"no command?\n", 900}, - {"total: %d blocks\n", 901}, - {"usage: sfdisk --print-id device partition-number\n", 902}, - {"usage: sfdisk --change-id device partition-number Id\n", 903}, - {"usage: sfdisk --id device partition-number [Id]\n", 904}, - {"can specify only one device (except with -l or -s)\n", 905}, - {"cannot open %s read-write\n", 906}, - {"cannot open %s for reading\n", 907}, - {"%s: OK\n", 908}, - {"%s: %ld cylinders, %ld heads, %ld sectors/track\n", 909}, - {"BLKGETSIZE ioctl failed for %s\n", 910}, - {"bad active byte: 0x%x instead of 0x80\n", 911}, + or expect descriptors for them on input", 893}, + {"\ + -L [or --Linux]: do not complain about things irrelevant for Linux", 894}, + {" -q [or --quiet]: suppress warning messages", 895}, + {" You can override the detected geometry using:", 896}, + {" -C# [or --cylinders #]:set the number of cylinders to use", 897}, + {" -H# [or --heads #]: set the number of heads to use", 898}, + {" -S# [or --sectors #]: set the number of sectors to use", 899}, + {"You can disable all consistency checking with:", 900}, + {" -f [or --force]: do what I say, even if it is stupid", 901}, + {"Usage:", 902}, + {"%s device\t\t list active partitions on device\n", 903}, + {"%s device n1 n2 ... activate partitions n1 ..., inactivate the rest\n", 904}, + {"%s -An device\t activate partition n, inactivate the other ones\n", 905}, + {"no command?\n", 906}, + {"total: %d blocks\n", 907}, + {"usage: sfdisk --print-id device partition-number\n", 908}, + {"usage: sfdisk --change-id device partition-number Id\n", 909}, + {"usage: sfdisk --id device partition-number [Id]\n", 910}, + {"can specify only one device (except with -l or -s)\n", 911}, + {"cannot open %s read-write\n", 912}, + {"cannot open %s for reading\n", 913}, + {"%s: OK\n", 914}, + {"%s: %ld cylinders, %ld heads, %ld sectors/track\n", 915}, + {"BLKGETSIZE ioctl failed for %s\n", 916}, + {"bad active byte: 0x%x instead of 0x80\n", 917}, {"\ Done\n\ -\n", 912}, +\n", 918}, {"\ You have %d active primary partitions. This does not matter for LILO,\n\ -but the DOS MBR will only boot a disk with 1 active partition.\n", 913}, - {"partition %s has id %x and is not hidden\n", 914}, - {"Bad Id %lx\n", 915}, - {"This disk is currently in use.\n", 916}, - {"Fatal error: cannot find %s\n", 917}, - {"Warning: %s is not a block device\n", 918}, - {"Checking that no-one is using this disk right now ...\n", 919}, +but the DOS MBR will only boot a disk with 1 active partition.\n", 919}, + {"partition %s has id %x and is not hidden\n", 920}, + {"Bad Id %lx\n", 921}, + {"This disk is currently in use.\n", 922}, + {"Fatal error: cannot find %s\n", 923}, + {"Warning: %s is not a block device\n", 924}, + {"Checking that no-one is using this disk right now ...\n", 925}, {"\ \n\ This disk is currently in use - repartitioning is probably a bad idea.\n\ Umount all file systems, and swapoff all swap partitions on this disk.\n\ -Use the --no-reread flag to suppress this check.\n", 920}, - {"Use the --force flag to overrule all checks.\n", 921}, - {"OK\n", 922}, - {"Old situation:\n", 923}, - {"Partition %d does not exist, cannot change it\n", 924}, - {"New situation:\n", 925}, +Use the --no-reread flag to suppress this check.\n", 926}, + {"Use the --force flag to overrule all checks.\n", 927}, + {"OK\n", 928}, + {"Old situation:\n", 929}, + {"Partition %d does not exist, cannot change it\n", 930}, + {"New situation:\n", 931}, {"\ I don't like these partitions - nothing changed.\n\ -(If you really want this, use the --force option.)\n", 926}, - {"I don't like this - probably you should answer No\n", 927}, - {"Are you satisfied with this? [ynq] ", 928}, - {"Do you want to write this to disk? [ynq] ", 929}, +(If you really want this, use the --force option.)\n", 932}, + {"I don't like this - probably you should answer No\n", 933}, + {"Are you satisfied with this? [ynq] ", 934}, + {"Do you want to write this to disk? [ynq] ", 935}, {"\ \n\ -sfdisk: premature end of input\n", 930}, - {"Quitting - nothing changed\n", 931}, - {"Please answer one of y,n,q\n", 932}, +sfdisk: premature end of input\n", 936}, + {"Quitting - nothing changed\n", 937}, + {"Please answer one of y,n,q\n", 938}, {"\ Successfully wrote the new partition table\n\ -\n", 933}, +\n", 939}, {"\ If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)\n\ to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1\n\ -(See fdisk(8).)\n", 934}, - {"Try `getopt --help' for more information.\n", 935}, - {"empty long option after -l or --long argument", 936}, - {"unknown shell after -s or --shell argument", 937}, - {"Usage: getopt optstring parameters\n", 938}, - {" getopt [options] [--] optstring parameters\n", 939}, - {" getopt [options] -o|--options optstring [options] [--]\n", 940}, - {" parameters\n", 941}, - {"\ - -a, --alternative Allow long options starting with single -\n", 942}, - {" -h, --help This small usage guide\n", 943}, - {" -l, --longoptions=longopts Long options to be recognized\n", 944}, - {"\ - -n, --name=progname The name under which errors are reported\n", 945}, - {" -o, --options=optstring Short options to be recognized\n", 946}, - {" -q, --quiet Disable error reporting by getopt(3)\n", 947}, - {" -Q, --quiet-output No normal output\n", 948}, - {" -s, --shell=shell Set shell quoting conventions\n", 949}, - {" -T, --test Test for getopt(1) version\n", 950}, - {" -u, --unqote Do not quote the output\n", 951}, - {" -V, --version Output version information\n", 952}, - {"missing optstring argument", 953}, - {"getopt (enhanced) 1.1.2\n", 954}, - {"internal error, contact the author.", 955}, - {"booted from MILO\n", 956}, - {"Ruffian BCD clock\n", 957}, - {"clockport adjusted to 0x%x\n", 958}, - {"funky TOY!\n", 959}, - {"%s: atomic %s failed for 1000 iterations!", 960}, - {"Cannot open /dev/port: %s", 961}, - {"I failed to get permission because I didn't try.\n", 962}, - {"%s is unable to get I/O port access: the iopl(3) call failed.\n", 963}, - {"Probably you need root privileges.\n", 964}, - {"Assuming hardware clock is kept in %s time.\n", 965}, - {"UTC", 966}, - {"local", 967}, - {"%s: Warning: unrecognized third line in adjtime file\n", 968}, - {"(Expected: `UTC' or `LOCAL' or nothing.)\n", 969}, - {"Last drift adjustment done at %ld seconds after 1969\n", 970}, - {"Last calibration done at %ld seconds after 1969\n", 971}, - {"Hardware clock is on %s time\n", 972}, - {"unknown", 973}, - {"Waiting for clock tick...\n", 974}, - {"...got clock tick\n", 975}, - {"Invalid values in hardware clock: %4d/%.2d/%.2d %.2d:%.2d:%.2d\n", 976}, - {"Hw clock time : %4d/%.2d/%.2d %.2d:%.2d:%.2d = %ld seconds since 1969\n", 977}, - {"Time read from Hardware Clock: %4d/%.2d/%.2d %02d:%02d:%02d\n", 978}, - {"Setting Hardware Clock to %.2d:%.2d:%.2d = %ld seconds since 1969\n", 979}, - {"Clock not changed - testing only.\n", 980}, +(See fdisk(8).)\n", 940}, + {"Try `getopt --help' for more information.\n", 941}, + {"empty long option after -l or --long argument", 942}, + {"unknown shell after -s or --shell argument", 943}, + {"Usage: getopt optstring parameters\n", 944}, + {" getopt [options] [--] optstring parameters\n", 945}, + {" getopt [options] -o|--options optstring [options] [--]\n", 946}, + {" parameters\n", 947}, + {"\ + -a, --alternative Allow long options starting with single -\n", 948}, + {" -h, --help This small usage guide\n", 949}, + {" -l, --longoptions=longopts Long options to be recognized\n", 950}, + {"\ + -n, --name=progname The name under which errors are reported\n", 951}, + {" -o, --options=optstring Short options to be recognized\n", 952}, + {" -q, --quiet Disable error reporting by getopt(3)\n", 953}, + {" -Q, --quiet-output No normal output\n", 954}, + {" -s, --shell=shell Set shell quoting conventions\n", 955}, + {" -T, --test Test for getopt(1) version\n", 956}, + {" -u, --unqote Do not quote the output\n", 957}, + {" -V, --version Output version information\n", 958}, + {"missing optstring argument", 959}, + {"getopt (enhanced) 1.1.2\n", 960}, + {"internal error, contact the author.", 961}, + {"booted from MILO\n", 962}, + {"Ruffian BCD clock\n", 963}, + {"clockport adjusted to 0x%x\n", 964}, + {"funky TOY!\n", 965}, + {"%s: atomic %s failed for 1000 iterations!", 966}, + {"Cannot open /dev/port: %s", 967}, + {"I failed to get permission because I didn't try.\n", 968}, + {"%s is unable to get I/O port access: the iopl(3) call failed.\n", 969}, + {"Probably you need root privileges.\n", 970}, + {"Assuming hardware clock is kept in %s time.\n", 971}, + {"UTC", 972}, + {"local", 973}, + {"%s: Warning: unrecognized third line in adjtime file\n", 974}, + {"(Expected: `UTC' or `LOCAL' or nothing.)\n", 975}, + {"Last drift adjustment done at %ld seconds after 1969\n", 976}, + {"Last calibration done at %ld seconds after 1969\n", 977}, + {"Hardware clock is on %s time\n", 978}, + {"unknown", 979}, + {"Waiting for clock tick...\n", 980}, + {"...got clock tick\n", 981}, + {"Invalid values in hardware clock: %4d/%.2d/%.2d %.2d:%.2d:%.2d\n", 982}, + {"Hw clock time : %4d/%.2d/%.2d %.2d:%.2d:%.2d = %ld seconds since 1969\n", 983}, + {"Time read from Hardware Clock: %4d/%.2d/%.2d %02d:%02d:%02d\n", 984}, + {"Setting Hardware Clock to %.2d:%.2d:%.2d = %ld seconds since 1969\n", 985}, + {"Clock not changed - testing only.\n", 986}, {"\ Time elapsed since reference time has been %.6f seconds.\n\ -Delaying further to reach the next full second.\n", 981}, +Delaying further to reach the next full second.\n", 987}, {"\ The Hardware Clock registers contain values that are either invalid (e.g. \ -50th day of month) or beyond the range we can handle (e.g. Year 2095).\n", 982}, - {"%s %.6f seconds\n", 983}, - {"No --date option specified.\n", 984}, - {"--date argument too long\n", 985}, +50th day of month) or beyond the range we can handle (e.g. Year 2095).\n", 988}, + {"%s %.6f seconds\n", 989}, + {"No --date option specified.\n", 990}, + {"--date argument too long\n", 991}, {"\ The value of the --date option is not a valid date.\n\ -In particular, it contains quotation marks.\n", 986}, - {"Issuing date command: %s\n", 987}, - {"Unable to run 'date' program in /bin/sh shell. popen() failed", 988}, - {"response from date command = %s\n", 989}, +In particular, it contains quotation marks.\n", 992}, + {"Issuing date command: %s\n", 993}, + {"Unable to run 'date' program in /bin/sh shell. popen() failed", 994}, + {"response from date command = %s\n", 995}, {"\ The date command issued by %s returned unexpected results.\n\ The command was:\n\ %s\n\ The response was:\n\ - %s\n", 990}, + %s\n", 996}, {"\ The date command issued by %s returned something other than an integer where \ the converted time value was expected.\n\ The command was:\n\ %s\n\ The response was:\n\ - %s\n", 991}, - {"date string %s equates to %ld seconds since 1969.\n", 992}, + %s\n", 997}, + {"date string %s equates to %ld seconds since 1969.\n", 998}, {"\ The Hardware Clock does not contain a valid time, so we cannot set the \ -System Time from it.\n", 993}, - {"Calling settimeofday:\n", 994}, - {"\ttv.tv_sec = %ld, tv.tv_usec = %ld\n", 995}, - {"\ttz.tz_minuteswest = %d\n", 996}, - {"Not setting system clock because running in test mode.\n", 997}, - {"Must be superuser to set system clock.\n", 998}, - {"settimeofday() failed", 999}, +System Time from it.\n", 999}, + {"Calling settimeofday:\n", 1000}, + {"\ttv.tv_sec = %ld, tv.tv_usec = %ld\n", 1001}, + {"\ttz.tz_minuteswest = %d\n", 1002}, + {"Not setting system clock because running in test mode.\n", 1003}, + {"Must be superuser to set system clock.\n", 1004}, + {"settimeofday() failed", 1005}, {"\ Not adjusting drift factor because the Hardware Clock previously contained \ -garbage.\n", 1000}, +garbage.\n", 1006}, {"\ Not adjusting drift factor because it has been less than a day since the \ -last calibration.\n", 1001}, +last calibration.\n", 1007}, {"\ Clock drifted %d seconds in the past %d seconds in spite of a drift factor \ of %f seconds/day.\n\ -Adjusting drift factor by %f seconds/day\n", 1002}, - {"Time since last adjustment is %d seconds\n", 1003}, - {"Need to insert %d seconds and refer time back %.6f seconds ago\n", 1004}, - {"Not updating adjtime file because of testing mode.\n", 1005}, +Adjusting drift factor by %f seconds/day\n", 1008}, + {"Time since last adjustment is %d seconds\n", 1009}, + {"Need to insert %d seconds and refer time back %.6f seconds ago\n", 1010}, + {"Not updating adjtime file because of testing mode.\n", 1011}, {"\ Would have written the following to %s:\n\ -%s", 1006}, - {"Drift adjustment parameters not updated.\n", 1007}, +%s", 1012}, + {"Drift adjustment parameters not updated.\n", 1013}, {"\ -The Hardware Clock does not contain a valid time, so we cannot adjust it.\n", 1008}, - {"Needed adjustment is less than one second, so not setting clock.\n", 1009}, - {"Using %s.\n", 1010}, - {"No usable clock interface found.\n", 1011}, - {"Unable to set system clock.\n", 1012}, +The Hardware Clock does not contain a valid time, so we cannot adjust it.\n", 1014}, + {"Needed adjustment is less than one second, so not setting clock.\n", 1015}, + {"Using %s.\n", 1016}, + {"No usable clock interface found.\n", 1017}, + {"Unable to set system clock.\n", 1018}, {"\ The kernel keeps an epoch value for the Hardware Clock only on an Alpha \ machine.\n\ This copy of hwclock was built for a machine other than Alpha\n\ -(and thus is presumably not running on an Alpha now). No action taken.\n", 1013}, - {"Unable to get the epoch value from the kernel.\n", 1014}, - {"Kernel is assuming an epoch value of %lu\n", 1015}, +(and thus is presumably not running on an Alpha now). No action taken.\n", 1019}, + {"Unable to get the epoch value from the kernel.\n", 1020}, + {"Kernel is assuming an epoch value of %lu\n", 1021}, {"\ To set the epoch value, you must use the 'epoch' option to tell to what \ -value to set it.\n", 1016}, - {"Not setting the epoch to %d - testing only.\n", 1017}, - {"Unable to set the epoch value in the kernel.\n", 1018}, +value to set it.\n", 1022}, + {"Not setting the epoch to %d - testing only.\n", 1023}, + {"Unable to set the epoch value in the kernel.\n", 1024}, {"\ hwclock - query and set the hardware clock (RTC)\n\ \n\ @@ -1398,557 +1404,557 @@ Options: \n\ --epoch=year specifies the year which is the beginning of the \n\ hardware clock's epoch value\n\ --noadjfile do not access /etc/adjtime. Requires the use of\n\ - either --utc or --localtime\n", 1019}, + either --utc or --localtime\n", 1025}, {"\ --jensen, --arc, --srm, --funky-toy\n\ - tell hwclock the type of alpha you have (see hwclock(8))\n", 1020}, - {"%s takes no non-option arguments. You supplied %d.\n", 1021}, + tell hwclock the type of alpha you have (see hwclock(8))\n", 1026}, + {"%s takes no non-option arguments. You supplied %d.\n", 1027}, {"\ You have specified multiple function options.\n\ -You can only perform one function at a time.\n", 1022}, +You can only perform one function at a time.\n", 1028}, {"\ %s: The --utc and --localtime options are mutually exclusive. You specified \ -both.\n", 1023}, +both.\n", 1029}, {"\ %s: The --adjust and --noadjfile options are mutually exclusive. You \ -specified both.\n", 1024}, - {"%s: With --noadjfile, you must specify either --utc or --localtime\n", 1025}, - {"No usable set-to time. Cannot set clock.\n", 1026}, - {"Sorry, only the superuser can change the Hardware Clock.\n", 1027}, - {"Sorry, only the superuser can change the System Clock.\n", 1028}, +specified both.\n", 1030}, + {"%s: With --noadjfile, you must specify either --utc or --localtime\n", 1031}, + {"No usable set-to time. Cannot set clock.\n", 1032}, + {"Sorry, only the superuser can change the Hardware Clock.\n", 1033}, + {"Sorry, only the superuser can change the System Clock.\n", 1034}, {"\ Sorry, only the superuser can change the Hardware Clock epoch in the \ -kernel.\n", 1029}, - {"Cannot access the Hardware Clock via any known method.\n", 1030}, +kernel.\n", 1035}, + {"Cannot access the Hardware Clock via any known method.\n", 1036}, {"\ Use the --debug option to see the details of our search for an access \ -method.\n", 1031}, - {"Waiting in loop for time from KDGHWCLK to change\n", 1032}, - {"KDGHWCLK ioctl to read time failed", 1033}, - {"Timed out waiting for time change.\n", 1034}, - {"KDGHWCLK ioctl to read time failed in loop", 1035}, - {"ioctl() failed to read time from %s", 1036}, - {"ioctl KDSHWCLK failed", 1037}, - {"Can't open /dev/tty1 or /dev/vc/1", 1038}, - {"KDGHWCLK ioctl failed", 1039}, - {"ioctl() to %s to read the time failed.\n", 1040}, - {"Waiting in loop for time from %s to change\n", 1041}, - {"open() of %s failed", 1042}, - {"%s does not have interrupt functions. ", 1043}, - {"read() to %s to wait for clock tick failed", 1044}, - {"ioctl() to %s to turn off update interrupts failed", 1045}, - {"ioctl() to %s to turn on update interrupts failed unexpectedly", 1046}, - {"Unable to open %s", 1047}, - {"ioctl() to %s to set the time failed.\n", 1048}, - {"ioctl(%s) was successful.\n", 1049}, - {"Open of %s failed", 1050}, +method.\n", 1037}, + {"Waiting in loop for time from KDGHWCLK to change\n", 1038}, + {"KDGHWCLK ioctl to read time failed", 1039}, + {"Timed out waiting for time change.\n", 1040}, + {"KDGHWCLK ioctl to read time failed in loop", 1041}, + {"ioctl() failed to read time from %s", 1042}, + {"ioctl KDSHWCLK failed", 1043}, + {"Can't open /dev/tty1 or /dev/vc/1", 1044}, + {"KDGHWCLK ioctl failed", 1045}, + {"ioctl() to %s to read the time failed.\n", 1046}, + {"Waiting in loop for time from %s to change\n", 1047}, + {"open() of %s failed", 1048}, + {"%s does not have interrupt functions. ", 1049}, + {"read() to %s to wait for clock tick failed", 1050}, + {"ioctl() to %s to turn off update interrupts failed", 1051}, + {"ioctl() to %s to turn on update interrupts failed unexpectedly", 1052}, + {"Unable to open %s", 1053}, + {"ioctl() to %s to set the time failed.\n", 1054}, + {"ioctl(%s) was successful.\n", 1055}, + {"Open of %s failed", 1056}, {"\ To manipulate the epoch value in the kernel, we must access the Linux 'rtc' \ device driver via the device special file %s. This file does not exist on \ -this system.\n", 1051}, - {"ioctl(RTC_EPOCH_READ) to %s failed", 1052}, - {"we have read epoch %ld from %s with RTC_EPOCH_READ ioctl.\n", 1053}, - {"The epoch value may not be less than 1900. You requested %ld\n", 1054}, - {"setting epoch to %ld with RTC_EPOCH_SET ioctl to %s.\n", 1055}, - {"\ -The kernel device driver for %s does not have the RTC_EPOCH_SET ioctl.\n", 1056}, - {"ioctl(RTC_EPOCH_SET) to %s failed", 1057}, - {"invalid number `%s'\n", 1058}, - {"number `%s' to `%s' out of range\n", 1059}, - {"unrecognized option `%s'\n", 1060}, - {"option `%s' requires an argument\n", 1061}, - {"option `%s' doesn't allow an argument\n", 1062}, - {"unrecognized option `-%c'\n", 1063}, - {"calling open_tty\n", 1064}, - {"calling termio_init\n", 1065}, - {"writing init string\n", 1066}, - {"before autobaud\n", 1067}, - {"waiting for cr-lf\n", 1068}, - {"read %c\n", 1069}, - {"reading login name\n", 1070}, - {"%s: can't exec %s: %m", 1071}, - {"can't malloc initstring", 1072}, - {"bad timeout value: %s", 1073}, - {"after getopt loop\n", 1074}, - {"exiting parseargs\n", 1075}, - {"entered parse_speeds\n", 1076}, - {"bad speed: %s", 1077}, - {"too many alternate speeds", 1078}, - {"exiting parsespeeds\n", 1079}, - {"/dev: chdir() failed: %m", 1080}, - {"/dev/%s: not a character device", 1081}, - {"open(2)\n", 1082}, - {"/dev/%s: cannot open as standard input: %m", 1083}, - {"%s: not open for read/write", 1084}, - {"duping\n", 1085}, - {"%s: dup problem: %m", 1086}, - {"term_io 2\n", 1087}, - {"user", 1088}, - {"users", 1089}, - {"%s: read: %m", 1090}, - {"%s: input overrun", 1091}, +this system.\n", 1057}, + {"ioctl(RTC_EPOCH_READ) to %s failed", 1058}, + {"we have read epoch %ld from %s with RTC_EPOCH_READ ioctl.\n", 1059}, + {"The epoch value may not be less than 1900. You requested %ld\n", 1060}, + {"setting epoch to %ld with RTC_EPOCH_SET ioctl to %s.\n", 1061}, + {"\ +The kernel device driver for %s does not have the RTC_EPOCH_SET ioctl.\n", 1062}, + {"ioctl(RTC_EPOCH_SET) to %s failed", 1063}, + {"invalid number `%s'\n", 1064}, + {"number `%s' to `%s' out of range\n", 1065}, + {"unrecognized option `%s'\n", 1066}, + {"option `%s' requires an argument\n", 1067}, + {"option `%s' doesn't allow an argument\n", 1068}, + {"unrecognized option `-%c'\n", 1069}, + {"calling open_tty\n", 1070}, + {"calling termio_init\n", 1071}, + {"writing init string\n", 1072}, + {"before autobaud\n", 1073}, + {"waiting for cr-lf\n", 1074}, + {"read %c\n", 1075}, + {"reading login name\n", 1076}, + {"%s: can't exec %s: %m", 1077}, + {"can't malloc initstring", 1078}, + {"bad timeout value: %s", 1079}, + {"after getopt loop\n", 1080}, + {"exiting parseargs\n", 1081}, + {"entered parse_speeds\n", 1082}, + {"bad speed: %s", 1083}, + {"too many alternate speeds", 1084}, + {"exiting parsespeeds\n", 1085}, + {"/dev: chdir() failed: %m", 1086}, + {"/dev/%s: not a character device", 1087}, + {"open(2)\n", 1088}, + {"/dev/%s: cannot open as standard input: %m", 1089}, + {"%s: not open for read/write", 1090}, + {"duping\n", 1091}, + {"%s: dup problem: %m", 1092}, + {"term_io 2\n", 1093}, + {"user", 1094}, + {"users", 1095}, + {"%s: read: %m", 1096}, + {"%s: input overrun", 1097}, {"\ Usage: %s [-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H \ login_host] baud_rate,... line [termtype]\n\ or\t[-hiLmw] [-l login_program] [-t timeout] [-I initstring] [-H login_host] \ -line baud_rate,... [termtype]\n", 1092}, - {"login: memory low, login may fail\n", 1093}, - {"can't malloc for ttyclass", 1094}, - {"can't malloc for grplist", 1095}, - {"Login on %s from %s denied by default.\n", 1096}, - {"Login on %s from %s denied.\n", 1097}, - {"%s: you (user %d) don't exist.\n", 1098}, - {"%s: user \"%s\" does not exist.\n", 1099}, - {"%s: can only change local entries; use yp%s instead.\n", 1100}, - {"Changing finger information for %s.\n", 1101}, - {"Password error.", 1102}, - {"Password: ", 1103}, - {"Incorrect password.", 1104}, - {"Finger information not changed.\n", 1105}, - {"Usage: %s [ -f full-name ] [ -o office ] ", 1106}, +line baud_rate,... [termtype]\n", 1098}, + {"login: memory low, login may fail\n", 1099}, + {"can't malloc for ttyclass", 1100}, + {"can't malloc for grplist", 1101}, + {"Login on %s from %s denied by default.\n", 1102}, + {"Login on %s from %s denied.\n", 1103}, + {"%s: you (user %d) don't exist.\n", 1104}, + {"%s: user \"%s\" does not exist.\n", 1105}, + {"%s: can only change local entries; use yp%s instead.\n", 1106}, + {"Changing finger information for %s.\n", 1107}, + {"Password error.", 1108}, + {"Password: ", 1109}, + {"Incorrect password.", 1110}, + {"Finger information not changed.\n", 1111}, + {"Usage: %s [ -f full-name ] [ -o office ] ", 1112}, {"\ [ -p office-phone ]\n\ -\t[ -h home-phone ] ", 1107}, - {"[ --help ] [ --version ]\n", 1108}, +\t[ -h home-phone ] ", 1113}, + {"[ --help ] [ --version ]\n", 1114}, {"\ \n\ -Aborted.\n", 1109}, - {"field is too long.\n", 1110}, - {"'%c' is not allowed.\n", 1111}, - {"Control characters are not allowed.\n", 1112}, - {"Finger information *NOT* changed. Try again later.\n", 1113}, - {"Finger information changed.\n", 1114}, - {"malloc failed", 1115}, - {"%s: Your shell is not in /etc/shells, shell change denied\n", 1116}, - {"Changing shell for %s.\n", 1117}, - {"New shell", 1118}, - {"Shell not changed.\n", 1119}, - {"Shell *NOT* changed. Try again later.\n", 1120}, - {"Shell changed.\n", 1121}, +Aborted.\n", 1115}, + {"field is too long.\n", 1116}, + {"'%c' is not allowed.\n", 1117}, + {"Control characters are not allowed.\n", 1118}, + {"Finger information *NOT* changed. Try again later.\n", 1119}, + {"Finger information changed.\n", 1120}, + {"malloc failed", 1121}, + {"%s: Your shell is not in /etc/shells, shell change denied\n", 1122}, + {"Changing shell for %s.\n", 1123}, + {"New shell", 1124}, + {"Shell not changed.\n", 1125}, + {"Shell *NOT* changed. Try again later.\n", 1126}, + {"Shell changed.\n", 1127}, {"\ Usage: %s [ -s shell ] [ --list-shells ] [ --help ] [ --version ]\n\ - [ username ]\n", 1122}, - {"%s: shell must be a full path name.\n", 1123}, - {"%s: \"%s\" does not exist.\n", 1124}, - {"%s: \"%s\" is not executable.\n", 1125}, - {"%s: '%c' is not allowed.\n", 1126}, - {"%s: Control characters are not allowed.\n", 1127}, - {"Warning: \"%s\" is not listed in /etc/shells\n", 1128}, - {"%s: \"%s\" is not listed in /etc/shells.\n", 1129}, - {"%s: use -l option to see list\n", 1130}, - {"Warning: \"%s\" is not listed in /etc/shells.\n", 1131}, - {"Use %s -l to see list.\n", 1132}, - {"No known shells.\n", 1133}, - {"couldn't open /dev/urandom", 1134}, - {"couldn't read random data from /dev/urandom", 1135}, - {"can't open %s for reading", 1136}, - {"can't stat(%s)", 1137}, - {"%s doesn't have the correct filemodes", 1138}, - {"can't read data from %s", 1139}, - {"Can't read %s, exiting.", 1140}, - {"usage: last [-#] [-f file] [-t tty] [-h hostname] [user ...]\n", 1141}, - {" still logged in", 1142}, + [ username ]\n", 1128}, + {"%s: shell must be a full path name.\n", 1129}, + {"%s: \"%s\" does not exist.\n", 1130}, + {"%s: \"%s\" is not executable.\n", 1131}, + {"%s: '%c' is not allowed.\n", 1132}, + {"%s: Control characters are not allowed.\n", 1133}, + {"Warning: \"%s\" is not listed in /etc/shells\n", 1134}, + {"%s: \"%s\" is not listed in /etc/shells.\n", 1135}, + {"%s: use -l option to see list\n", 1136}, + {"Warning: \"%s\" is not listed in /etc/shells.\n", 1137}, + {"Use %s -l to see list.\n", 1138}, + {"No known shells.\n", 1139}, + {"couldn't open /dev/urandom", 1140}, + {"couldn't read random data from /dev/urandom", 1141}, + {"can't open %s for reading", 1142}, + {"can't stat(%s)", 1143}, + {"%s doesn't have the correct filemodes", 1144}, + {"can't read data from %s", 1145}, + {"Can't read %s, exiting.", 1146}, + {"usage: last [-#] [-f file] [-t tty] [-h hostname] [user ...]\n", 1147}, + {" still logged in", 1148}, {"\ \n\ -wtmp begins %s", 1143}, - {"last: malloc failure.\n", 1144}, - {"last: gethostname", 1145}, +wtmp begins %s", 1149}, + {"last: malloc failure.\n", 1150}, + {"last: gethostname", 1151}, {"\ \n\ -interrupted %10.10s %5.5s \n", 1146}, - {"login: -h for super-user only.\n", 1147}, - {"usage: login [-fp] [username]\n", 1148}, - {"login: PAM Failure, aborting: %s\n", 1149}, - {"Couldn't initialize PAM: %s", 1150}, - {"login: ", 1151}, - {"FAILED LOGIN %d FROM %s FOR %s, %s", 1152}, +interrupted %10.10s %5.5s \n", 1152}, + {"login: -h for super-user only.\n", 1153}, + {"usage: login [-fp] [username]\n", 1154}, + {"login: PAM Failure, aborting: %s\n", 1155}, + {"Couldn't initialize PAM: %s", 1156}, + {"login: ", 1157}, + {"FAILED LOGIN %d FROM %s FOR %s, %s", 1158}, {"\ Login incorrect\n\ -\n", 1153}, - {"TOO MANY LOGIN TRIES (%d) FROM %s FOR %s, %s", 1154}, - {"FAILED LOGIN SESSION FROM %s FOR %s, %s", 1155}, +\n", 1159}, + {"TOO MANY LOGIN TRIES (%d) FROM %s FOR %s, %s", 1160}, + {"FAILED LOGIN SESSION FROM %s FOR %s, %s", 1161}, {"\ \n\ -Login incorrect\n", 1156}, +Login incorrect\n", 1162}, {"\ \n\ -Session setup problem, abort.\n", 1157}, - {"NULL user name in %s:%d. Abort.", 1158}, - {"Invalid user name \"%s\" in %s:%d. Abort.", 1159}, - {"login: Out of memory\n", 1160}, - {"Illegal username", 1161}, - {"%s login refused on this terminal.\n", 1162}, - {"LOGIN %s REFUSED FROM %s ON TTY %s", 1163}, - {"LOGIN %s REFUSED ON TTY %s", 1164}, - {"Login incorrect\n", 1165}, +Session setup problem, abort.\n", 1163}, + {"NULL user name in %s:%d. Abort.", 1164}, + {"Invalid user name \"%s\" in %s:%d. Abort.", 1165}, + {"login: Out of memory\n", 1166}, + {"Illegal username", 1167}, + {"%s login refused on this terminal.\n", 1168}, + {"LOGIN %s REFUSED FROM %s ON TTY %s", 1169}, + {"LOGIN %s REFUSED ON TTY %s", 1170}, + {"Login incorrect\n", 1171}, {"\ Too many users logged on already.\n\ -Try again later.\n", 1166}, - {"You have too many processes running.\n", 1167}, - {"DIALUP AT %s BY %s", 1168}, - {"ROOT LOGIN ON %s FROM %s", 1169}, - {"ROOT LOGIN ON %s", 1170}, - {"LOGIN ON %s BY %s FROM %s", 1171}, - {"LOGIN ON %s BY %s", 1172}, - {"You have new mail.\n", 1173}, - {"You have mail.\n", 1174}, - {"login: failure forking: %s", 1175}, - {"setuid() failed", 1176}, - {"No directory %s!\n", 1177}, - {"Logging in with home = \"/\".\n", 1178}, - {"login: no memory for shell script.\n", 1179}, - {"login: couldn't exec shell script: %s.\n", 1180}, - {"login: no shell: %s.\n", 1181}, +Try again later.\n", 1172}, + {"You have too many processes running.\n", 1173}, + {"DIALUP AT %s BY %s", 1174}, + {"ROOT LOGIN ON %s FROM %s", 1175}, + {"ROOT LOGIN ON %s", 1176}, + {"LOGIN ON %s BY %s FROM %s", 1177}, + {"LOGIN ON %s BY %s", 1178}, + {"You have new mail.\n", 1179}, + {"You have mail.\n", 1180}, + {"login: failure forking: %s", 1181}, + {"setuid() failed", 1182}, + {"No directory %s!\n", 1183}, + {"Logging in with home = \"/\".\n", 1184}, + {"login: no memory for shell script.\n", 1185}, + {"login: couldn't exec shell script: %s.\n", 1186}, + {"login: no shell: %s.\n", 1187}, {"\ \n\ -%s login: ", 1182}, - {"login name much too long.\n", 1183}, - {"NAME too long", 1184}, - {"login names may not start with '-'.\n", 1185}, - {"too many bare linefeeds.\n", 1186}, - {"EXCESSIVE linefeeds", 1187}, - {"Login timed out after %d seconds\n", 1188}, - {"Last login: %.*s ", 1189}, - {"from %.*s\n", 1190}, - {"on %.*s\n", 1191}, - {"LOGIN FAILURE FROM %s, %s", 1192}, - {"LOGIN FAILURE ON %s, %s", 1193}, - {"%d LOGIN FAILURES FROM %s, %s", 1194}, - {"%d LOGIN FAILURES ON %s, %s", 1195}, - {"is y\n", 1196}, - {"is n\n", 1197}, - {"usage: mesg [y | n]\n", 1198}, - {"newgrp: Who are you?", 1199}, - {"newgrp: setgid", 1200}, - {"newgrp: No such group.", 1201}, - {"newgrp: Permission denied", 1202}, - {"newgrp: setuid", 1203}, - {"No shell", 1204}, - {"The password must have at least 6 characters, try again.\n", 1205}, +%s login: ", 1188}, + {"login name much too long.\n", 1189}, + {"NAME too long", 1190}, + {"login names may not start with '-'.\n", 1191}, + {"too many bare linefeeds.\n", 1192}, + {"EXCESSIVE linefeeds", 1193}, + {"Login timed out after %d seconds\n", 1194}, + {"Last login: %.*s ", 1195}, + {"from %.*s\n", 1196}, + {"on %.*s\n", 1197}, + {"LOGIN FAILURE FROM %s, %s", 1198}, + {"LOGIN FAILURE ON %s, %s", 1199}, + {"%d LOGIN FAILURES FROM %s, %s", 1200}, + {"%d LOGIN FAILURES ON %s, %s", 1201}, + {"is y\n", 1202}, + {"is n\n", 1203}, + {"usage: mesg [y | n]\n", 1204}, + {"newgrp: Who are you?", 1205}, + {"newgrp: setgid", 1206}, + {"newgrp: No such group.", 1207}, + {"newgrp: Permission denied", 1208}, + {"newgrp: setuid", 1209}, + {"No shell", 1210}, + {"The password must have at least 6 characters, try again.\n", 1211}, {"\ The password must contain characters out of two of the following\n\ classes: upper and lower case letters, digits and non alphanumeric\n\ -characters. See passwd(1) for more information.\n", 1206}, - {"You cannot reuse the old password.\n", 1207}, - {"Please don't use something like your username as password!\n", 1208}, - {"Please don't use something like your realname as password!\n", 1209}, - {"Usage: passwd [username [password]]\n", 1210}, - {"Only root may use the one and two argument forms.\n", 1211}, - {"Usage: passwd [-foqsvV] [user [password]]\n", 1212}, - {"Can't exec %s: %s\n", 1213}, - {"Cannot find login name", 1214}, - {"Only root can change the password for others.\n", 1215}, - {"Too many arguments.\n", 1216}, - {"Can't find username anywhere. Is `%s' really a user?", 1217}, - {"Sorry, I can only change local passwords. Use yppasswd instead.", 1218}, - {"UID and username does not match, imposter!", 1219}, - {"Changing password for %s\n", 1220}, - {"Enter old password: ", 1221}, - {"Illegal password, imposter.", 1222}, - {"Enter new password: ", 1223}, - {"Password not changed.", 1224}, - {"Re-type new password: ", 1225}, - {"You misspelled it. Password not changed.", 1226}, - {"password changed, user %s", 1227}, - {"ROOT PASSWORD CHANGED", 1228}, - {"password changed by root, user %s", 1229}, - {"calling setpwnam to set password.\n", 1230}, - {"Password *NOT* changed. Try again later.\n", 1231}, - {"Password changed.\n", 1232}, - {"Usage: shutdown [-h|-r] [-fqs] [now|hh:ss|+mins]\n", 1233}, - {"Shutdown process aborted", 1234}, - {"%s: Only root can shut a system down.\n", 1235}, - {"That must be tomorrow, can't you wait till then?\n", 1236}, - {"for maintenance; bounce, bounce", 1237}, - {"timeout = %d, quiet = %d, reboot = %d\n", 1238}, - {"The system is being shut down within 5 minutes", 1239}, - {"Login is therefore prohibited.", 1240}, - {"rebooted by %s: %s", 1241}, - {"halted by %s: %s", 1242}, +characters. See passwd(1) for more information.\n", 1212}, + {"You cannot reuse the old password.\n", 1213}, + {"Please don't use something like your username as password!\n", 1214}, + {"Please don't use something like your realname as password!\n", 1215}, + {"Usage: passwd [username [password]]\n", 1216}, + {"Only root may use the one and two argument forms.\n", 1217}, + {"Usage: passwd [-foqsvV] [user [password]]\n", 1218}, + {"Can't exec %s: %s\n", 1219}, + {"Cannot find login name", 1220}, + {"Only root can change the password for others.\n", 1221}, + {"Too many arguments.\n", 1222}, + {"Can't find username anywhere. Is `%s' really a user?", 1223}, + {"Sorry, I can only change local passwords. Use yppasswd instead.", 1224}, + {"UID and username does not match, imposter!", 1225}, + {"Changing password for %s\n", 1226}, + {"Enter old password: ", 1227}, + {"Illegal password, imposter.", 1228}, + {"Enter new password: ", 1229}, + {"Password not changed.", 1230}, + {"Re-type new password: ", 1231}, + {"You misspelled it. Password not changed.", 1232}, + {"password changed, user %s", 1233}, + {"ROOT PASSWORD CHANGED", 1234}, + {"password changed by root, user %s", 1235}, + {"calling setpwnam to set password.\n", 1236}, + {"Password *NOT* changed. Try again later.\n", 1237}, + {"Password changed.\n", 1238}, + {"Usage: shutdown [-h|-r] [-fqs] [now|hh:ss|+mins]\n", 1239}, + {"Shutdown process aborted", 1240}, + {"%s: Only root can shut a system down.\n", 1241}, + {"That must be tomorrow, can't you wait till then?\n", 1242}, + {"for maintenance; bounce, bounce", 1243}, + {"timeout = %d, quiet = %d, reboot = %d\n", 1244}, + {"The system is being shut down within 5 minutes", 1245}, + {"Login is therefore prohibited.", 1246}, + {"rebooted by %s: %s", 1247}, + {"halted by %s: %s", 1248}, {"\ \n\ -Why am I still alive after reboot?", 1243}, +Why am I still alive after reboot?", 1249}, {"\ \n\ -Now you can turn off the power...", 1244}, - {"Calling kernel power-off facility...\n", 1245}, - {"Error powering off\t%s\n", 1246}, - {"Executing the program \"%s\" ...\n", 1247}, - {"Error executing\t%s\n", 1248}, - {"URGENT: broadcast message from %s:", 1249}, - {"System going down in %d hours %d minutes", 1250}, - {"System going down in 1 hour %d minutes", 1251}, - {"System going down in %d minutes\n", 1252}, - {"System going down in 1 minute\n", 1253}, - {"System going down IMMEDIATELY!\n", 1254}, - {"\t... %s ...\n", 1255}, - {"Cannot fork for swapoff. Shrug!", 1256}, - {"Cannot exec swapoff, hoping umount will do the trick.", 1257}, - {"Cannot fork for umount, trying manually.", 1258}, - {"Cannot exec %s, trying umount.\n", 1259}, - {"Cannot exec umount, giving up on umount.", 1260}, - {"Unmounting any remaining filesystems...", 1261}, - {"shutdown: Couldn't umount %s: %s\n", 1262}, - {"Booting to single user mode.\n", 1263}, - {"exec of single user shell failed\n", 1264}, - {"fork of single user shell failed\n", 1265}, - {"error opening fifo\n", 1266}, - {"error running finalprog\n", 1267}, - {"error forking finalprog\n", 1268}, +Now you can turn off the power...", 1250}, + {"Calling kernel power-off facility...\n", 1251}, + {"Error powering off\t%s\n", 1252}, + {"Executing the program \"%s\" ...\n", 1253}, + {"Error executing\t%s\n", 1254}, + {"URGENT: broadcast message from %s:", 1255}, + {"System going down in %d hours %d minutes", 1256}, + {"System going down in 1 hour %d minutes", 1257}, + {"System going down in %d minutes\n", 1258}, + {"System going down in 1 minute\n", 1259}, + {"System going down IMMEDIATELY!\n", 1260}, + {"\t... %s ...\n", 1261}, + {"Cannot fork for swapoff. Shrug!", 1262}, + {"Cannot exec swapoff, hoping umount will do the trick.", 1263}, + {"Cannot fork for umount, trying manually.", 1264}, + {"Cannot exec %s, trying umount.\n", 1265}, + {"Cannot exec umount, giving up on umount.", 1266}, + {"Unmounting any remaining filesystems...", 1267}, + {"shutdown: Couldn't umount %s: %s\n", 1268}, + {"Booting to single user mode.\n", 1269}, + {"exec of single user shell failed\n", 1270}, + {"fork of single user shell failed\n", 1271}, + {"error opening fifo\n", 1272}, + {"error running finalprog\n", 1273}, + {"error forking finalprog\n", 1274}, {"\ \n\ -Wrong password.\n", 1269}, - {"lstat of path failed\n", 1270}, - {"stat of path failed\n", 1271}, - {"open of directory failed\n", 1272}, - {"fork failed\n", 1273}, - {"exec failed\n", 1274}, - {"cannot open inittab\n", 1275}, - {"no TERM or cannot stat tty\n", 1276}, - {"error stopping service: \"%s\"", 1277}, - {"too many iov's (change code in wall/ttymsg.c)", 1278}, - {"excessively long line arg", 1279}, - {"cannot fork", 1280}, - {"fork: %s", 1281}, - {"%s: BAD ERROR", 1282}, - {"%s: the password file is busy.\n", 1283}, - {"%s: the group file is busy.\n", 1284}, - {"%s: the %s file is busy (%s present)\n", 1285}, - {"%s: can't link %s: %s\n", 1286}, - {"%s: can't unlock %s: %s (your changes are still in %s)\n", 1287}, - {"%s: Cannot fork\n", 1288}, - {"%s: %s unchanged\n", 1289}, - {"%s: no changes made\n", 1290}, - {"You are using shadow groups on this system.\n", 1291}, - {"You are using shadow passwords on this system.\n", 1292}, - {"Would you like to edit %s now [y/n]? ", 1293}, - {"usage: %s [file]\n", 1294}, - {"%s: can't open temporary file.\n", 1295}, - {"Broadcast Message from %s@%s", 1296}, - {"%s: will not read %s - use stdin.\n", 1297}, - {"%s: can't read %s.\n", 1298}, - {"%s: can't stat temporary file.\n", 1299}, - {"%s: can't read temporary file.\n", 1300}, - {"illegal month value: use 1-12", 1301}, - {"illegal year value: use 1-9999", 1302}, - {"%s %d", 1303}, - {"usage: cal [-mjyV] [[month] year]\n", 1304}, - {"usage: %s [+format] [day month year]\n", 1305}, - {"St. Tib's Day", 1306}, - {"%s: unknown signal %s\n", 1307}, - {"%s: can't find process \"%s\"\n", 1308}, - {"%s: unknown signal %s; valid signals:\n", 1309}, - {"usage: %s [ -s signal | -p ] [ -a ] pid ...\n", 1310}, - {" %s -l [ signal ]\n", 1311}, - {"logger: %s: %s.\n", 1312}, - {"logger: unknown facility name: %s.\n", 1313}, - {"logger: unknown priority name: %s.\n", 1314}, - {"\ -usage: logger [-is] [-f file] [-p pri] [-t tag] [-u socket] [ message ... ]\n", 1315}, - {"usage: look [-dfa] [-t char] string [file]\n", 1316}, - {"Could not open %s\n", 1317}, - {"Got %d bytes from %s\n", 1318}, - {"namei: unable to get current directory - %s\n", 1319}, - {"namei: unable to chdir to %s - %s (%d)\n", 1320}, - {"usage: namei [-mx] pathname [pathname ...]\n", 1321}, - {"namei: could not chdir to root!\n", 1322}, - {"namei: could not stat root!\n", 1323}, - {"namei: buf overflow\n", 1324}, - {" ? could not chdir into %s - %s (%d)\n", 1325}, - {" ? problems reading symlink %s - %s (%d)\n", 1326}, - {" *** EXCEEDED UNIX LIMIT OF SYMLINKS ***\n", 1327}, - {"namei: unknown file type 0%06o on file %s\n", 1328}, - {"%s: out of memory\n", 1329}, - {"%s: renaming %s to %s failed: %s\n", 1330}, - {"call: %s from to files...\n", 1331}, +Wrong password.\n", 1275}, + {"lstat of path failed\n", 1276}, + {"stat of path failed\n", 1277}, + {"open of directory failed\n", 1278}, + {"fork failed\n", 1279}, + {"exec failed\n", 1280}, + {"cannot open inittab\n", 1281}, + {"no TERM or cannot stat tty\n", 1282}, + {"error stopping service: \"%s\"", 1283}, + {"too many iov's (change code in wall/ttymsg.c)", 1284}, + {"excessively long line arg", 1285}, + {"cannot fork", 1286}, + {"fork: %s", 1287}, + {"%s: BAD ERROR", 1288}, + {"%s: the password file is busy.\n", 1289}, + {"%s: the group file is busy.\n", 1290}, + {"%s: the %s file is busy (%s present)\n", 1291}, + {"%s: can't link %s: %s\n", 1292}, + {"%s: can't unlock %s: %s (your changes are still in %s)\n", 1293}, + {"%s: Cannot fork\n", 1294}, + {"%s: %s unchanged\n", 1295}, + {"%s: no changes made\n", 1296}, + {"You are using shadow groups on this system.\n", 1297}, + {"You are using shadow passwords on this system.\n", 1298}, + {"Would you like to edit %s now [y/n]? ", 1299}, + {"usage: %s [file]\n", 1300}, + {"%s: can't open temporary file.\n", 1301}, + {"Broadcast Message from %s@%s", 1302}, + {"%s: will not read %s - use stdin.\n", 1303}, + {"%s: can't read %s.\n", 1304}, + {"%s: can't stat temporary file.\n", 1305}, + {"%s: can't read temporary file.\n", 1306}, + {"illegal month value: use 1-12", 1307}, + {"illegal year value: use 1-9999", 1308}, + {"%s %d", 1309}, + {"usage: cal [-mjyV] [[month] year]\n", 1310}, + {"usage: %s [+format] [day month year]\n", 1311}, + {"St. Tib's Day", 1312}, + {"%s: unknown signal %s\n", 1313}, + {"%s: can't find process \"%s\"\n", 1314}, + {"%s: unknown signal %s; valid signals:\n", 1315}, + {"usage: %s [ -s signal | -p ] [ -a ] pid ...\n", 1316}, + {" %s -l [ signal ]\n", 1317}, + {"logger: %s: %s.\n", 1318}, + {"logger: unknown facility name: %s.\n", 1319}, + {"logger: unknown priority name: %s.\n", 1320}, + {"\ +usage: logger [-is] [-f file] [-p pri] [-t tag] [-u socket] [ message ... ]\n", 1321}, + {"usage: look [-dfa] [-t char] string [file]\n", 1322}, + {"Could not open %s\n", 1323}, + {"Got %d bytes from %s\n", 1324}, + {"namei: unable to get current directory - %s\n", 1325}, + {"namei: unable to chdir to %s - %s (%d)\n", 1326}, + {"usage: namei [-mx] pathname [pathname ...]\n", 1327}, + {"namei: could not chdir to root!\n", 1328}, + {"namei: could not stat root!\n", 1329}, + {"namei: buf overflow\n", 1330}, + {" ? could not chdir into %s - %s (%d)\n", 1331}, + {" ? problems reading symlink %s - %s (%d)\n", 1332}, + {" *** EXCEEDED UNIX LIMIT OF SYMLINKS ***\n", 1333}, + {"namei: unknown file type 0%06o on file %s\n", 1334}, + {"%s: out of memory\n", 1335}, + {"%s: renaming %s to %s failed: %s\n", 1336}, + {"call: %s from to files...\n", 1337}, {"\ Warning: `%s' is a symlink.\n\ Use `%s [options] %s' if you really want to use it.\n\ -Script not started.\n", 1332}, - {"usage: script [-a] [-f] [-q] [-t] [file]\n", 1333}, - {"Script started, file is %s\n", 1334}, - {"Script started on %s", 1335}, +Script not started.\n", 1338}, + {"usage: script [-a] [-f] [-q] [-t] [file]\n", 1339}, + {"Script started, file is %s\n", 1340}, + {"Script started on %s", 1341}, {"\ \n\ -Script done on %s", 1336}, - {"Script done, file is %s\n", 1337}, - {"openpty failed\n", 1338}, - {"Out of pty's\n", 1339}, - {"%s: Argument error, usage\n", 1340}, - {" [ -term terminal_name ]\n", 1341}, - {" [ -reset ]\n", 1342}, - {" [ -initialize ]\n", 1343}, - {" [ -cursor [on|off] ]\n", 1344}, - {" [ -snow [on|off] ]\n", 1345}, - {" [ -softscroll [on|off] ]\n", 1346}, - {" [ -repeat [on|off] ]\n", 1347}, - {" [ -appcursorkeys [on|off] ]\n", 1348}, - {" [ -linewrap [on|off] ]\n", 1349}, - {" [ -default ]\n", 1350}, - {" [ -foreground black|blue|green|cyan", 1351}, - {"|red|magenta|yellow|white|default ]\n", 1352}, - {" [ -background black|blue|green|cyan", 1353}, - {" [ -ulcolor black|grey|blue|green|cyan", 1354}, - {"|red|magenta|yellow|white ]\n", 1355}, - {" [ -ulcolor bright blue|green|cyan", 1356}, - {" [ -hbcolor black|grey|blue|green|cyan", 1357}, - {" [ -hbcolor bright blue|green|cyan", 1358}, - {" [ -standout [ attr ] ]\n", 1359}, - {" [ -inversescreen [on|off] ]\n", 1360}, - {" [ -bold [on|off] ]\n", 1361}, - {" [ -half-bright [on|off] ]\n", 1362}, - {" [ -blink [on|off] ]\n", 1363}, - {" [ -reverse [on|off] ]\n", 1364}, - {" [ -underline [on|off] ]\n", 1365}, - {" [ -store ]\n", 1366}, - {" [ -clear [all|rest] ]\n", 1367}, - {" [ -tabs [ tab1 tab2 tab3 ... ] ] (tabn = 1-160)\n", 1368}, - {" [ -clrtabs [ tab1 tab2 tab3 ... ] ] (tabn = 1-160)\n", 1369}, - {" [ -regtabs [1-160] ]\n", 1370}, - {" [ -blank [0-60] ]\n", 1371}, - {" [ -dump [1-NR_CONSOLES] ]\n", 1372}, - {" [ -append [1-NR_CONSOLES] ]\n", 1373}, - {" [ -file dumpfilename ]\n", 1374}, - {" [ -msg [on|off] ]\n", 1375}, - {" [ -msglevel [0-8] ]\n", 1376}, - {" [ -powersave [on|vsync|hsync|powerdown|off] ]\n", 1377}, - {" [ -powerdown [0-60] ]\n", 1378}, - {" [ -blength [0-2000] ]\n", 1379}, - {" [ -bfreq freqnumber ]\n", 1380}, - {"cannot (un)set powersave mode\n", 1381}, - {"klogctl error: %s\n", 1382}, - {"Error reading %s\n", 1383}, - {"Error writing screendump\n", 1384}, - {"couldn't read %s, and cannot ioctl dump\n", 1385}, - {"%s: $TERM is not defined.\n", 1386}, - {"whereis [ -sbmu ] [ -SBM dir ... -f ] name...\n", 1387}, - {"write: can't find your tty's name\n", 1388}, - {"write: you have write permission turned off.\n", 1389}, - {"write: %s is not logged in on %s.\n", 1390}, - {"write: %s has messages disabled on %s\n", 1391}, - {"usage: write user [tty]\n", 1392}, - {"write: %s is not logged in\n", 1393}, - {"write: %s has messages disabled\n", 1394}, - {"write: %s is logged in more than once; writing to %s\n", 1395}, - {"Message from %s@%s (as %s) on %s at %s ...", 1396}, - {"Message from %s@%s on %s at %s ...", 1397}, - {"warning: error reading %s: %s", 1398}, - {"warning: can't open %s: %s", 1399}, - {"mount: could not open %s - using %s instead\n", 1400}, - {"can't create lock file %s: %s (use -n flag to override)", 1401}, - {"can't link lock file %s: %s (use -n flag to override)", 1402}, - {"can't open lock file %s: %s (use -n flag to override)", 1403}, - {"Can't lock lock file %s: %s\n", 1404}, - {"can't lock lock file %s: %s", 1405}, - {"timed out", 1406}, +Script done on %s", 1342}, + {"Script done, file is %s\n", 1343}, + {"openpty failed\n", 1344}, + {"Out of pty's\n", 1345}, + {"%s: Argument error, usage\n", 1346}, + {" [ -term terminal_name ]\n", 1347}, + {" [ -reset ]\n", 1348}, + {" [ -initialize ]\n", 1349}, + {" [ -cursor [on|off] ]\n", 1350}, + {" [ -snow [on|off] ]\n", 1351}, + {" [ -softscroll [on|off] ]\n", 1352}, + {" [ -repeat [on|off] ]\n", 1353}, + {" [ -appcursorkeys [on|off] ]\n", 1354}, + {" [ -linewrap [on|off] ]\n", 1355}, + {" [ -default ]\n", 1356}, + {" [ -foreground black|blue|green|cyan", 1357}, + {"|red|magenta|yellow|white|default ]\n", 1358}, + {" [ -background black|blue|green|cyan", 1359}, + {" [ -ulcolor black|grey|blue|green|cyan", 1360}, + {"|red|magenta|yellow|white ]\n", 1361}, + {" [ -ulcolor bright blue|green|cyan", 1362}, + {" [ -hbcolor black|grey|blue|green|cyan", 1363}, + {" [ -hbcolor bright blue|green|cyan", 1364}, + {" [ -standout [ attr ] ]\n", 1365}, + {" [ -inversescreen [on|off] ]\n", 1366}, + {" [ -bold [on|off] ]\n", 1367}, + {" [ -half-bright [on|off] ]\n", 1368}, + {" [ -blink [on|off] ]\n", 1369}, + {" [ -reverse [on|off] ]\n", 1370}, + {" [ -underline [on|off] ]\n", 1371}, + {" [ -store ]\n", 1372}, + {" [ -clear [all|rest] ]\n", 1373}, + {" [ -tabs [ tab1 tab2 tab3 ... ] ] (tabn = 1-160)\n", 1374}, + {" [ -clrtabs [ tab1 tab2 tab3 ... ] ] (tabn = 1-160)\n", 1375}, + {" [ -regtabs [1-160] ]\n", 1376}, + {" [ -blank [0-60] ]\n", 1377}, + {" [ -dump [1-NR_CONSOLES] ]\n", 1378}, + {" [ -append [1-NR_CONSOLES] ]\n", 1379}, + {" [ -file dumpfilename ]\n", 1380}, + {" [ -msg [on|off] ]\n", 1381}, + {" [ -msglevel [0-8] ]\n", 1382}, + {" [ -powersave [on|vsync|hsync|powerdown|off] ]\n", 1383}, + {" [ -powerdown [0-60] ]\n", 1384}, + {" [ -blength [0-2000] ]\n", 1385}, + {" [ -bfreq freqnumber ]\n", 1386}, + {"cannot (un)set powersave mode\n", 1387}, + {"klogctl error: %s\n", 1388}, + {"Error reading %s\n", 1389}, + {"Error writing screendump\n", 1390}, + {"couldn't read %s, and cannot ioctl dump\n", 1391}, + {"%s: $TERM is not defined.\n", 1392}, + {"whereis [ -sbmu ] [ -SBM dir ... -f ] name...\n", 1393}, + {"write: can't find your tty's name\n", 1394}, + {"write: you have write permission turned off.\n", 1395}, + {"write: %s is not logged in on %s.\n", 1396}, + {"write: %s has messages disabled on %s\n", 1397}, + {"usage: write user [tty]\n", 1398}, + {"write: %s is not logged in\n", 1399}, + {"write: %s has messages disabled\n", 1400}, + {"write: %s is logged in more than once; writing to %s\n", 1401}, + {"Message from %s@%s (as %s) on %s at %s ...", 1402}, + {"Message from %s@%s on %s at %s ...", 1403}, + {"warning: error reading %s: %s", 1404}, + {"warning: can't open %s: %s", 1405}, + {"mount: could not open %s - using %s instead\n", 1406}, + {"can't create lock file %s: %s (use -n flag to override)", 1407}, + {"can't link lock file %s: %s (use -n flag to override)", 1408}, + {"can't open lock file %s: %s (use -n flag to override)", 1409}, + {"Can't lock lock file %s: %s\n", 1410}, + {"can't lock lock file %s: %s", 1411}, + {"timed out", 1412}, {"\ Cannot create link %s\n\ -Perhaps there is a stale lock file?\n", 1407}, - {"cannot open %s (%s) - mtab not updated", 1408}, - {"error writing %s: %s", 1409}, - {"error changing mode of %s: %s\n", 1410}, - {"can't rename %s to %s: %s\n", 1411}, - {"loop: can't open device %s: %s\n", 1412}, - {"loop: can't get info on device %s: %s\n", 1413}, - {"%s: [%04x]:%ld (%s) offset %d, %s encryption\n", 1414}, - {"mount: could not find any device /dev/loop#", 1415}, +Perhaps there is a stale lock file?\n", 1413}, + {"cannot open %s (%s) - mtab not updated", 1414}, + {"error writing %s: %s", 1415}, + {"error changing mode of %s: %s\n", 1416}, + {"can't rename %s to %s: %s\n", 1417}, + {"loop: can't open device %s: %s\n", 1418}, + {"loop: can't get info on device %s: %s\n", 1419}, + {"%s: [%04x]:%ld (%s) offset %d, %s encryption\n", 1420}, + {"mount: could not find any device /dev/loop#", 1421}, {"\ mount: Could not find any loop device.\n\ - Maybe /dev/loop# has a wrong major number?", 1416}, + Maybe /dev/loop# has a wrong major number?", 1422}, {"\ mount: Could not find any loop device, and, according to %s,\n\ this kernel does not know about the loop device.\n\ - (If so, then recompile or `insmod loop.o'.)", 1417}, + (If so, then recompile or `insmod loop.o'.)", 1423}, {"\ mount: Could not find any loop device. Maybe this kernel does not know\n\ about the loop device (then recompile or `insmod loop.o'), or\n\ - maybe /dev/loop# has the wrong major number?", 1418}, - {"mount: could not find any free loop device", 1419}, - {"Unsupported encryption type %s\n", 1420}, - {"Couldn't lock into memory, exiting.\n", 1421}, - {"Init (up to 16 hex digits): ", 1422}, - {"Non-hex digit '%c'.\n", 1423}, - {"Don't know how to get key for encryption system %d\n", 1424}, - {"set_loop(%s,%s,%d): success\n", 1425}, - {"loop: can't delete device %s: %s\n", 1426}, - {"del_loop(%s): success\n", 1427}, - {"This mount was compiled without loop support. Please recompile.\n", 1428}, + maybe /dev/loop# has the wrong major number?", 1424}, + {"mount: could not find any free loop device", 1425}, + {"Unsupported encryption type %s\n", 1426}, + {"Couldn't lock into memory, exiting.\n", 1427}, + {"Init (up to 16 hex digits): ", 1428}, + {"Non-hex digit '%c'.\n", 1429}, + {"Don't know how to get key for encryption system %d\n", 1430}, + {"set_loop(%s,%s,%d): success\n", 1431}, + {"loop: can't delete device %s: %s\n", 1432}, + {"del_loop(%s): success\n", 1433}, + {"This mount was compiled without loop support. Please recompile.\n", 1434}, {"\ usage:\n\ %s loop_device # give info\n\ %s -d loop_device # delete\n\ - %s [ -e encryption ] [ -o offset ] loop_device file # setup\n", 1429}, - {"not enough memory", 1430}, - {"No loop support was available at compile time. Please recompile.\n", 1431}, - {"[mntent]: warning: no final newline at the end of %s\n", 1432}, - {"[mntent]: line %d in %s is bad%s\n", 1433}, - {"; rest of file ignored", 1434}, - {"mount: according to mtab, %s is already mounted on %s", 1435}, - {"mount: according to mtab, %s is mounted on %s", 1436}, - {"mount: can't open %s for writing: %s", 1437}, - {"mount: error writing %s: %s", 1438}, - {"mount: error changing mode of %s: %s", 1439}, - {"%s looks like swapspace - not mounted", 1440}, - {"mount failed", 1441}, - {"mount: only root can mount %s on %s", 1442}, - {"mount: loop device specified twice", 1443}, - {"mount: type specified twice", 1444}, - {"mount: skipping the setup of a loop device\n", 1445}, - {"mount: going to use the loop device %s\n", 1446}, - {"mount: failed setting up loop device\n", 1447}, - {"mount: setup loop device successfully\n", 1448}, - {"mount: can't open %s: %s", 1449}, - {"mount: cannot not open %s for setting speed", 1450}, - {"mount: cannot set speed: %s", 1451}, - {"mount: cannot fork: %s", 1452}, - {"mount: this version was compiled without support for the type `nfs'", 1453}, - {"mount: failed with nfs mount version 4, trying 3..\n", 1454}, - {"\ -mount: I could not determine the filesystem type, and none was specified", 1455}, - {"mount: you must specify the filesystem type", 1456}, - {"mount: mount failed", 1457}, - {"mount: mount point %s is not a directory", 1458}, - {"mount: permission denied", 1459}, - {"mount: must be superuser to use mount", 1460}, - {"mount: %s is busy", 1461}, - {"mount: proc already mounted", 1462}, - {"mount: %s already mounted or %s busy", 1463}, - {"mount: mount point %s does not exist", 1464}, - {"mount: mount point %s is a symbolic link to nowhere", 1465}, - {"mount: special device %s does not exist", 1466}, + %s [ -e encryption ] [ -o offset ] loop_device file # setup\n", 1435}, + {"not enough memory", 1436}, + {"No loop support was available at compile time. Please recompile.\n", 1437}, + {"[mntent]: warning: no final newline at the end of %s\n", 1438}, + {"[mntent]: line %d in %s is bad%s\n", 1439}, + {"; rest of file ignored", 1440}, + {"mount: according to mtab, %s is already mounted on %s", 1441}, + {"mount: according to mtab, %s is mounted on %s", 1442}, + {"mount: can't open %s for writing: %s", 1443}, + {"mount: error writing %s: %s", 1444}, + {"mount: error changing mode of %s: %s", 1445}, + {"%s looks like swapspace - not mounted", 1446}, + {"mount failed", 1447}, + {"mount: only root can mount %s on %s", 1448}, + {"mount: loop device specified twice", 1449}, + {"mount: type specified twice", 1450}, + {"mount: skipping the setup of a loop device\n", 1451}, + {"mount: going to use the loop device %s\n", 1452}, + {"mount: failed setting up loop device\n", 1453}, + {"mount: setup loop device successfully\n", 1454}, + {"mount: can't open %s: %s", 1455}, + {"mount: cannot open %s for setting speed", 1456}, + {"mount: cannot set speed: %s", 1457}, + {"mount: cannot fork: %s", 1458}, + {"mount: this version was compiled without support for the type `nfs'", 1459}, + {"mount: failed with nfs mount version 4, trying 3..\n", 1460}, + {"\ +mount: I could not determine the filesystem type, and none was specified", 1461}, + {"mount: you must specify the filesystem type", 1462}, + {"mount: mount failed", 1463}, + {"mount: mount point %s is not a directory", 1464}, + {"mount: permission denied", 1465}, + {"mount: must be superuser to use mount", 1466}, + {"mount: %s is busy", 1467}, + {"mount: proc already mounted", 1468}, + {"mount: %s already mounted or %s busy", 1469}, + {"mount: mount point %s does not exist", 1470}, + {"mount: mount point %s is a symbolic link to nowhere", 1471}, + {"mount: special device %s does not exist", 1472}, {"\ mount: special device %s does not exist\n\ - (a path prefix is not a directory)\n", 1467}, - {"mount: %s not mounted already, or bad option", 1468}, + (a path prefix is not a directory)\n", 1473}, + {"mount: %s not mounted already, or bad option", 1474}, {"\ mount: wrong fs type, bad option, bad superblock on %s,\n\ - or too many mounted file systems", 1469}, - {"mount table full", 1470}, - {"mount: %s: can't read superblock", 1471}, - {"mount: %s: unknown device", 1472}, - {"mount: fs type %s not supported by kernel", 1473}, - {"mount: probably you meant %s", 1474}, - {"mount: maybe you meant iso9660 ?", 1475}, - {"mount: %s has wrong device number or fs type %s not supported", 1476}, - {"mount: %s is not a block device, and stat fails?", 1477}, + or too many mounted file systems", 1475}, + {"mount table full", 1476}, + {"mount: %s: can't read superblock", 1477}, + {"mount: %s: unknown device", 1478}, + {"mount: fs type %s not supported by kernel", 1479}, + {"mount: probably you meant %s", 1480}, + {"mount: maybe you meant iso9660 ?", 1481}, + {"mount: %s has wrong device number or fs type %s not supported", 1482}, + {"mount: %s is not a block device, and stat fails?", 1483}, {"\ mount: the kernel does not recognize %s as a block device\n\ - (maybe `insmod driver'?)", 1478}, - {"mount: %s is not a block device (maybe try `-o loop'?)", 1479}, - {"mount: %s is not a block device", 1480}, - {"mount: %s is not a valid block device", 1481}, - {"block device ", 1482}, - {"mount: cannot mount %s%s read-only", 1483}, - {"mount: %s%s is write-protected but explicit `-w' flag given", 1484}, - {"mount: %s%s is write-protected, mounting read-only", 1485}, - {"mount: going to mount %s by %s\n", 1486}, - {"UUID", 1487}, - {"label", 1488}, - {"mount: no such partition found", 1489}, - {"mount: no type was given - I'll assume nfs because of the colon\n", 1490}, - {"mount: backgrounding \"%s\"\n", 1491}, - {"mount: giving up \"%s\"\n", 1492}, - {"mount: %s already mounted on %s\n", 1493}, + (maybe `insmod driver'?)", 1484}, + {"mount: %s is not a block device (maybe try `-o loop'?)", 1485}, + {"mount: %s is not a block device", 1486}, + {"mount: %s is not a valid block device", 1487}, + {"block device ", 1488}, + {"mount: cannot mount %s%s read-only", 1489}, + {"mount: %s%s is write-protected but explicit `-w' flag given", 1490}, + {"mount: %s%s is write-protected, mounting read-only", 1491}, + {"mount: going to mount %s by %s\n", 1492}, + {"UUID", 1493}, + {"label", 1494}, + {"mount: no such partition found", 1495}, + {"mount: no type was given - I'll assume nfs because of the colon\n", 1496}, + {"mount: backgrounding \"%s\"\n", 1497}, + {"mount: giving up \"%s\"\n", 1498}, + {"mount: %s already mounted on %s\n", 1499}, {"\ Usage: mount -V : print version\n\ mount -h : print this help\n\ @@ -1968,269 +1974,270 @@ One can also mount an already visible directory tree elsewhere:\n\ A device can be given by name, say /dev/hda1 or /dev/cdrom,\n\ or by label, using -L label or by uuid, using -U uuid .\n\ Other options: [-nfFrsvw] [-o options].\n\ -For many more details, say man 8 mount .\n", 1494}, - {"mount: only root can do that", 1495}, - {"mount: no %s found - creating it..\n", 1496}, - {"mount: mounting %s\n", 1497}, - {"nothing was mounted", 1498}, - {"mount: cannot find %s in %s", 1499}, - {"mount: can't find %s in %s or %s", 1500}, - {"\ -mount: could not open %s, so UUID and LABEL conversion cannot be done.\n", 1501}, - {"mount: bad UUID", 1502}, - {"mount: you didn't specify a filesystem type for %s\n", 1503}, - {" I will try all types mentioned in %s or %s\n", 1504}, - {" and it looks like this is swapspace\n", 1505}, - {" I will try type %s\n", 1506}, - {"Trying %s\n", 1507}, - {"mount: excessively long host:dir argument\n", 1508}, - {"mount: warning: multiple hostnames not supported\n", 1509}, - {"mount: directory to mount not in host:dir format\n", 1510}, - {"mount: can't get address for %s\n", 1511}, - {"mount: got bad hp->h_length\n", 1512}, - {"mount: excessively long option argument\n", 1513}, - {"Warning: Unrecognized proto= option.\n", 1514}, - {"Warning: Option namlen is not supported.\n", 1515}, - {"unknown nfs mount parameter: %s=%d\n", 1516}, - {"Warning: option nolock is not supported.\n", 1517}, - {"unknown nfs mount option: %s%s\n", 1518}, - {"mount: got bad hp->h_length?\n", 1519}, - {"NFS over TCP is not supported.\n", 1520}, - {"nfs socket", 1521}, - {"nfs bindresvport", 1522}, - {"nfs server reported service unavailable", 1523}, - {"used portmapper to find NFS port\n", 1524}, - {"using port %d for nfs deamon\n", 1525}, - {"nfs connect", 1526}, - {"unknown nfs status return value: %d", 1527}, - {"bug in xstrndup call", 1528}, +For many more details, say man 8 mount .\n", 1500}, + {"mount: only root can do that", 1501}, + {"mount: no %s found - creating it..\n", 1502}, + {"mount: mounting %s\n", 1503}, + {"nothing was mounted", 1504}, + {"mount: cannot find %s in %s", 1505}, + {"mount: can't find %s in %s or %s", 1506}, + {"\ +mount: could not open %s, so UUID and LABEL conversion cannot be done.\n", 1507}, + {"mount: bad UUID", 1508}, + {"mount: error while guessing filesystem type\n", 1509}, + {"mount: you didn't specify a filesystem type for %s\n", 1510}, + {" I will try all types mentioned in %s or %s\n", 1511}, + {" and it looks like this is swapspace\n", 1512}, + {" I will try type %s\n", 1513}, + {"Trying %s\n", 1514}, + {"mount: excessively long host:dir argument\n", 1515}, + {"mount: warning: multiple hostnames not supported\n", 1516}, + {"mount: directory to mount not in host:dir format\n", 1517}, + {"mount: can't get address for %s\n", 1518}, + {"mount: got bad hp->h_length\n", 1519}, + {"mount: excessively long option argument\n", 1520}, + {"Warning: Unrecognized proto= option.\n", 1521}, + {"Warning: Option namlen is not supported.\n", 1522}, + {"unknown nfs mount parameter: %s=%d\n", 1523}, + {"Warning: option nolock is not supported.\n", 1524}, + {"unknown nfs mount option: %s%s\n", 1525}, + {"mount: got bad hp->h_length?\n", 1526}, + {"NFS over TCP is not supported.\n", 1527}, + {"nfs socket", 1528}, + {"nfs bindresvport", 1529}, + {"nfs server reported service unavailable", 1530}, + {"used portmapper to find NFS port\n", 1531}, + {"using port %d for nfs deamon\n", 1532}, + {"nfs connect", 1533}, + {"unknown nfs status return value: %d", 1534}, + {"bug in xstrndup call", 1535}, {"\ usage: %s [-hV]\n\ %s -a [-v]\n\ %s [-v] [-p priority] special ...\n\ - %s [-s]\n", 1529}, - {"%s on %s\n", 1530}, - {"swapon: cannot stat %s: %s\n", 1531}, - {"swapon: warning: %s has insecure permissions %04o, %04o suggested\n", 1532}, - {"swapon: Skipping file %s - it appears to have holes.\n", 1533}, - {"%s: cannot open %s: %s\n", 1534}, - {"umount: compiled without support for -f\n", 1535}, - {"host: %s, directory: %s\n", 1536}, - {"umount: can't get address for %s\n", 1537}, - {"umount: got bad hostp->h_length\n", 1538}, - {"umount: %s: invalid block device", 1539}, - {"umount: %s: not mounted", 1540}, - {"umount: %s: can't write superblock", 1541}, - {"umount: %s: device is busy", 1542}, - {"umount: %s: not found", 1543}, - {"umount: %s: must be superuser to umount", 1544}, - {"umount: %s: block devices not permitted on fs", 1545}, - {"umount: %s: %s", 1546}, - {"no umount2, trying umount...\n", 1547}, - {"could not umount %s - trying %s instead\n", 1548}, - {"umount: %s busy - remounted read-only\n", 1549}, - {"umount: could not remount %s read-only\n", 1550}, - {"%s umounted\n", 1551}, - {"umount: cannot find list of filesystems to unmount", 1552}, + %s [-s]\n", 1536}, + {"%s on %s\n", 1537}, + {"swapon: cannot stat %s: %s\n", 1538}, + {"swapon: warning: %s has insecure permissions %04o, %04o suggested\n", 1539}, + {"swapon: Skipping file %s - it appears to have holes.\n", 1540}, + {"%s: cannot open %s: %s\n", 1541}, + {"umount: compiled without support for -f\n", 1542}, + {"host: %s, directory: %s\n", 1543}, + {"umount: can't get address for %s\n", 1544}, + {"umount: got bad hostp->h_length\n", 1545}, + {"umount: %s: invalid block device", 1546}, + {"umount: %s: not mounted", 1547}, + {"umount: %s: can't write superblock", 1548}, + {"umount: %s: device is busy", 1549}, + {"umount: %s: not found", 1550}, + {"umount: %s: must be superuser to umount", 1551}, + {"umount: %s: block devices not permitted on fs", 1552}, + {"umount: %s: %s", 1553}, + {"no umount2, trying umount...\n", 1554}, + {"could not umount %s - trying %s instead\n", 1555}, + {"umount: %s busy - remounted read-only\n", 1556}, + {"umount: could not remount %s read-only\n", 1557}, + {"%s umounted\n", 1558}, + {"umount: cannot find list of filesystems to unmount", 1559}, {"\ Usage: umount [-hV]\n\ umount -a [-f] [-r] [-n] [-v] [-t vfstypes]\n\ - umount [-f] [-r] [-n] [-v] special | node...\n", 1553}, - {"Trying to umount %s\n", 1554}, - {"Could not find %s in mtab\n", 1555}, - {"umount: %s is not mounted (according to mtab)", 1556}, - {"umount: it seems %s is mounted multiple times", 1557}, - {"umount: %s is not in the fstab (and you are not root)", 1558}, - {"umount: %s mount disagrees with the fstab", 1559}, - {"umount: only root can unmount %s from %s", 1560}, - {"umount: only %s can unmount %s from %s", 1561}, - {"umount: only root can do that", 1562}, - {"You must be root to set the Ctrl-Alt-Del behaviour.\n", 1563}, - {"Usage: ctrlaltdel hard|soft\n", 1564}, + umount [-f] [-r] [-n] [-v] special | node...\n", 1560}, + {"Trying to umount %s\n", 1561}, + {"Could not find %s in mtab\n", 1562}, + {"umount: %s is not mounted (according to mtab)", 1563}, + {"umount: it seems %s is mounted multiple times", 1564}, + {"umount: %s is not in the fstab (and you are not root)", 1565}, + {"umount: %s mount disagrees with the fstab", 1566}, + {"umount: only root can unmount %s from %s", 1567}, + {"umount: only %s can unmount %s from %s", 1568}, + {"umount: only root can do that", 1569}, + {"You must be root to set the Ctrl-Alt-Del behaviour.\n", 1570}, + {"Usage: ctrlaltdel hard|soft\n", 1571}, {"\ File %s, For threshold value %lu, Maximum characters in fifo were %d,\n\ -and the maximum transfer rate in characters/second was %f\n", 1565}, +and the maximum transfer rate in characters/second was %f\n", 1572}, {"\ File %s, For threshold value %lu and timrout value %lu, Maximum characters \ in fifo were %d,\n\ -and the maximum transfer rate in characters/second was %f\n", 1566}, - {"Invalid interval value: %s\n", 1567}, - {"Invalid set value: %s\n", 1568}, - {"Invalid default value: %s\n", 1569}, - {"Invalid set time value: %s\n", 1570}, - {"Invalid default time value: %s\n", 1571}, +and the maximum transfer rate in characters/second was %f\n", 1573}, + {"Invalid interval value: %s\n", 1574}, + {"Invalid set value: %s\n", 1575}, + {"Invalid default value: %s\n", 1576}, + {"Invalid set time value: %s\n", 1577}, + {"Invalid default time value: %s\n", 1578}, {"\ Usage: %s [-q [-i interval]] ([-s value]|[-S value]) ([-t value]|[-T value]) \ -[-g|-G] file [file...]\n", 1572}, - {"Can't open %s: %s\n", 1573}, - {"Can't set %s to threshold %d: %s\n", 1574}, - {"Can't set %s to time threshold %d: %s\n", 1575}, - {"Can't get threshold for %s: %s\n", 1576}, - {"Can't get timeout for %s: %s\n", 1577}, - {"%s: %ld current threshold and %ld current timeout\n", 1578}, - {"%s: %ld default threshold and %ld default timeout\n", 1579}, - {"Can't set signal handler", 1580}, - {"gettimeofday failed", 1581}, - {"Can't issue CYGETMON on %s: %s\n", 1582}, - {"\ -%s: %lu ints, %lu/%lu chars; fifo: %lu thresh, %lu tmout, %lu max, %lu now\n", 1583}, - {" %f int/sec; %f rec, %f send (char/sec)\n", 1584}, - {"\ -%s: %lu ints, %lu chars; fifo: %lu thresh, %lu tmout, %lu max, %lu now\n", 1585}, - {" %f int/sec; %f rec (char/sec)\n", 1586}, - {"Usage: %s [-c] [-n level] [-s bufsize]\n", 1587}, - {"invalid id: %s\n", 1588}, - {"cannot remove id %s (%s)\n", 1589}, - {"usage: %s {shm | msg | sem} id ...\n", 1590}, - {"unknown resource type: %s\n", 1591}, - {"resource(s) deleted\n", 1592}, - {"usage : %s -asmq -tclup \n", 1593}, - {"\t%s [-s -m -q] -i id\n", 1594}, - {"\t%s -h for help.\n", 1595}, - {"\ -%s provides information on ipc facilities for which you have read access.\n", 1596}, +[-g|-G] file [file...]\n", 1579}, + {"Can't open %s: %s\n", 1580}, + {"Can't set %s to threshold %d: %s\n", 1581}, + {"Can't set %s to time threshold %d: %s\n", 1582}, + {"Can't get threshold for %s: %s\n", 1583}, + {"Can't get timeout for %s: %s\n", 1584}, + {"%s: %ld current threshold and %ld current timeout\n", 1585}, + {"%s: %ld default threshold and %ld default timeout\n", 1586}, + {"Can't set signal handler", 1587}, + {"gettimeofday failed", 1588}, + {"Can't issue CYGETMON on %s: %s\n", 1589}, + {"\ +%s: %lu ints, %lu/%lu chars; fifo: %lu thresh, %lu tmout, %lu max, %lu now\n", 1590}, + {" %f int/sec; %f rec, %f send (char/sec)\n", 1591}, + {"\ +%s: %lu ints, %lu chars; fifo: %lu thresh, %lu tmout, %lu max, %lu now\n", 1592}, + {" %f int/sec; %f rec (char/sec)\n", 1593}, + {"Usage: %s [-c] [-n level] [-s bufsize]\n", 1594}, + {"invalid id: %s\n", 1595}, + {"cannot remove id %s (%s)\n", 1596}, + {"usage: %s {shm | msg | sem} id ...\n", 1597}, + {"unknown resource type: %s\n", 1598}, + {"resource(s) deleted\n", 1599}, + {"usage : %s -asmq -tclup \n", 1600}, + {"\t%s [-s -m -q] -i id\n", 1601}, + {"\t%s -h for help.\n", 1602}, + {"\ +%s provides information on ipc facilities for which you have read access.\n", 1603}, {"\ Resource Specification:\n\ \t-m : shared_mem\n\ -\t-q : messages\n", 1597}, +\t-q : messages\n", 1604}, {"\ \t-s : semaphores\n\ -\t-a : all (default)\n", 1598}, +\t-a : all (default)\n", 1605}, {"\ Output Format:\n\ \t-t : time\n\ \t-p : pid\n\ -\t-c : creator\n", 1599}, +\t-c : creator\n", 1606}, {"\ \t-l : limits\n\ -\t-u : summary\n", 1600}, - {"-i id [-s -q -m] : details on resource identified by id\n", 1601}, - {"kernel not configured for shared memory\n", 1602}, - {"------ Shared Memory Limits --------\n", 1603}, - {"max number of segments = %ld\n", 1604}, - {"max seg size (kbytes) = %ld\n", 1605}, - {"max total shared memory (kbytes) = %ld\n", 1606}, - {"min seg size (bytes) = %ld\n", 1607}, - {"------ Shared Memory Status --------\n", 1608}, - {"segments allocated %d\n", 1609}, - {"pages allocated %ld\n", 1610}, - {"pages resident %ld\n", 1611}, - {"pages swapped %ld\n", 1612}, - {"Swap performance: %ld attempts\t %ld successes\n", 1613}, - {"------ Shared Memory Segment Creators/Owners --------\n", 1614}, - {"%-10s %-10s %-10s %-10s %-10s %-10s\n", 1615}, - {"shmid", 1616}, - {"perms", 1617}, - {"cuid", 1618}, - {"cgid", 1619}, - {"uid", 1620}, - {"gid", 1621}, - {"------ Shared Memory Attach/Detach/Change Times --------\n", 1622}, - {"%-10s %-10s %-20s %-20s %-20s\n", 1623}, - {"owner", 1624}, - {"attached", 1625}, - {"detached", 1626}, - {"changed", 1627}, - {"------ Shared Memory Creator/Last-op --------\n", 1628}, - {"%-10s %-10s %-10s %-10s\n", 1629}, - {"cpid", 1630}, - {"lpid", 1631}, - {"------ Shared Memory Segments --------\n", 1632}, - {"%-10s %-10s %-10s %-10s %-10s %-10s %-12s\n", 1633}, - {"key", 1634}, - {"bytes", 1635}, - {"nattch", 1636}, - {"status", 1637}, - {"Not set", 1638}, - {"dest", 1639}, - {"locked", 1640}, - {"kernel not configured for semaphores\n", 1641}, - {"------ Semaphore Limits --------\n", 1642}, - {"max number of arrays = %d\n", 1643}, - {"max semaphores per array = %d\n", 1644}, - {"max semaphores system wide = %d\n", 1645}, - {"max ops per semop call = %d\n", 1646}, - {"semaphore max value = %d\n", 1647}, - {"------ Semaphore Status --------\n", 1648}, - {"used arrays = %d\n", 1649}, - {"allocated semaphores = %d\n", 1650}, - {"------ Semaphore Arrays Creators/Owners --------\n", 1651}, - {"semid", 1652}, - {"------ Shared Memory Operation/Change Times --------\n", 1653}, - {"%-8s %-10s %-26.24s %-26.24s\n", 1654}, - {"last-op", 1655}, - {"last-changed", 1656}, - {"------ Semaphore Arrays --------\n", 1657}, - {"%-10s %-10s %-10s %-10s %-10s %-12s\n", 1658}, - {"nsems", 1659}, - {"kernel not configured for message queues\n", 1660}, - {"------ Messages: Limits --------\n", 1661}, - {"max queues system wide = %d\n", 1662}, - {"max size of message (bytes) = %d\n", 1663}, - {"default max size of queue (bytes) = %d\n", 1664}, - {"------ Messages: Status --------\n", 1665}, - {"allocated queues = %d\n", 1666}, - {"used headers = %d\n", 1667}, - {"used space = %d bytes\n", 1668}, - {"------ Message Queues: Creators/Owners --------\n", 1669}, - {"msqid", 1670}, - {"------ Message Queues Send/Recv/Change Times --------\n", 1671}, - {"%-8s %-10s %-20s %-20s %-20s\n", 1672}, - {"send", 1673}, - {"recv", 1674}, - {"change", 1675}, - {"------ Message Queues PIDs --------\n", 1676}, - {"lspid", 1677}, - {"lrpid", 1678}, - {"------ Message Queues --------\n", 1679}, - {"%-10s %-10s %-10s %-10s %-12s %-12s\n", 1680}, - {"used-bytes", 1681}, - {"messages", 1682}, +\t-u : summary\n", 1607}, + {"-i id [-s -q -m] : details on resource identified by id\n", 1608}, + {"kernel not configured for shared memory\n", 1609}, + {"------ Shared Memory Limits --------\n", 1610}, + {"max number of segments = %ld\n", 1611}, + {"max seg size (kbytes) = %ld\n", 1612}, + {"max total shared memory (kbytes) = %ld\n", 1613}, + {"min seg size (bytes) = %ld\n", 1614}, + {"------ Shared Memory Status --------\n", 1615}, + {"segments allocated %d\n", 1616}, + {"pages allocated %ld\n", 1617}, + {"pages resident %ld\n", 1618}, + {"pages swapped %ld\n", 1619}, + {"Swap performance: %ld attempts\t %ld successes\n", 1620}, + {"------ Shared Memory Segment Creators/Owners --------\n", 1621}, + {"%-10s %-10s %-10s %-10s %-10s %-10s\n", 1622}, + {"shmid", 1623}, + {"perms", 1624}, + {"cuid", 1625}, + {"cgid", 1626}, + {"uid", 1627}, + {"gid", 1628}, + {"------ Shared Memory Attach/Detach/Change Times --------\n", 1629}, + {"%-10s %-10s %-20s %-20s %-20s\n", 1630}, + {"owner", 1631}, + {"attached", 1632}, + {"detached", 1633}, + {"changed", 1634}, + {"------ Shared Memory Creator/Last-op --------\n", 1635}, + {"%-10s %-10s %-10s %-10s\n", 1636}, + {"cpid", 1637}, + {"lpid", 1638}, + {"------ Shared Memory Segments --------\n", 1639}, + {"%-10s %-10s %-10s %-10s %-10s %-10s %-12s\n", 1640}, + {"key", 1641}, + {"bytes", 1642}, + {"nattch", 1643}, + {"status", 1644}, + {"Not set", 1645}, + {"dest", 1646}, + {"locked", 1647}, + {"kernel not configured for semaphores\n", 1648}, + {"------ Semaphore Limits --------\n", 1649}, + {"max number of arrays = %d\n", 1650}, + {"max semaphores per array = %d\n", 1651}, + {"max semaphores system wide = %d\n", 1652}, + {"max ops per semop call = %d\n", 1653}, + {"semaphore max value = %d\n", 1654}, + {"------ Semaphore Status --------\n", 1655}, + {"used arrays = %d\n", 1656}, + {"allocated semaphores = %d\n", 1657}, + {"------ Semaphore Arrays Creators/Owners --------\n", 1658}, + {"semid", 1659}, + {"------ Shared Memory Operation/Change Times --------\n", 1660}, + {"%-8s %-10s %-26.24s %-26.24s\n", 1661}, + {"last-op", 1662}, + {"last-changed", 1663}, + {"------ Semaphore Arrays --------\n", 1664}, + {"%-10s %-10s %-10s %-10s %-10s %-12s\n", 1665}, + {"nsems", 1666}, + {"kernel not configured for message queues\n", 1667}, + {"------ Messages: Limits --------\n", 1668}, + {"max queues system wide = %d\n", 1669}, + {"max size of message (bytes) = %d\n", 1670}, + {"default max size of queue (bytes) = %d\n", 1671}, + {"------ Messages: Status --------\n", 1672}, + {"allocated queues = %d\n", 1673}, + {"used headers = %d\n", 1674}, + {"used space = %d bytes\n", 1675}, + {"------ Message Queues: Creators/Owners --------\n", 1676}, + {"msqid", 1677}, + {"------ Message Queues Send/Recv/Change Times --------\n", 1678}, + {"%-8s %-10s %-20s %-20s %-20s\n", 1679}, + {"send", 1680}, + {"recv", 1681}, + {"change", 1682}, + {"------ Message Queues PIDs --------\n", 1683}, + {"lspid", 1684}, + {"lrpid", 1685}, + {"------ Message Queues --------\n", 1686}, + {"%-10s %-10s %-10s %-10s %-12s %-12s\n", 1687}, + {"used-bytes", 1688}, + {"messages", 1689}, {"\ \n\ -Shared memory Segment shmid=%d\n", 1683}, - {"uid=%d\tgid=%d\tcuid=%d\tcgid=%d\n", 1684}, - {"mode=%#o\taccess_perms=%#o\n", 1685}, - {"bytes=%d\tlpid=%d\tcpid=%d\tnattch=%ld\n", 1686}, - {"att_time=%-26.24s\n", 1687}, - {"det_time=%-26.24s\n", 1688}, - {"change_time=%-26.24s\n", 1689}, +Shared memory Segment shmid=%d\n", 1690}, + {"uid=%d\tgid=%d\tcuid=%d\tcgid=%d\n", 1691}, + {"mode=%#o\taccess_perms=%#o\n", 1692}, + {"bytes=%d\tlpid=%d\tcpid=%d\tnattch=%ld\n", 1693}, + {"att_time=%-26.24s\n", 1694}, + {"det_time=%-26.24s\n", 1695}, + {"change_time=%-26.24s\n", 1696}, {"\ \n\ -Message Queue msqid=%d\n", 1690}, - {"uid=%d\tgid=%d\tcuid=%d\tcgid=%d\tmode=%#o\n", 1691}, - {"cbytes=%ld\tqbytes=%ld\tqnum=%ld\tlspid=%d\tlrpid=%d\n", 1692}, - {"send_time=%-26.24s\n", 1693}, - {"rcv_time=%-26.24s\n", 1694}, +Message Queue msqid=%d\n", 1697}, + {"uid=%d\tgid=%d\tcuid=%d\tcgid=%d\tmode=%#o\n", 1698}, + {"cbytes=%ld\tqbytes=%ld\tqnum=%ld\tlspid=%d\tlrpid=%d\n", 1699}, + {"send_time=%-26.24s\n", 1700}, + {"rcv_time=%-26.24s\n", 1701}, {"\ \n\ -Semaphore Array semid=%d\n", 1695}, - {"uid=%d\t gid=%d\t cuid=%d\t cgid=%d\n", 1696}, - {"mode=%#o, access_perms=%#o\n", 1697}, - {"nsems = %ld\n", 1698}, - {"otime = %-26.24s\n", 1699}, - {"ctime = %-26.24s\n", 1700}, - {"%-10s %-10s %-10s %-10s %-10s\n", 1701}, - {"semnum", 1702}, - {"value", 1703}, - {"ncount", 1704}, - {"zcount", 1705}, - {"pid", 1706}, - {"usage: rdev [ -rv ] [ -o OFFSET ] [ IMAGE [ VALUE [ OFFSET ] ] ]", 1707}, - {"\ - rdev /dev/fd0 (or rdev /linux, etc.) displays the current ROOT device", 1708}, - {" rdev /dev/fd0 /dev/hda2 sets ROOT to /dev/hda2", 1709}, - {" rdev -R /dev/fd0 1 set the ROOTFLAGS (readonly status)", 1710}, - {" rdev -r /dev/fd0 627 set the RAMDISK size", 1711}, - {" rdev -v /dev/fd0 1 set the bootup VIDEOMODE", 1712}, - {" rdev -o N ... use the byte offset N", 1713}, - {" rootflags ... same as rdev -R", 1714}, - {" ramsize ... same as rdev -r", 1715}, - {" vidmode ... same as rdev -v", 1716}, - {"\ -Note: video modes are: -3=Ask, -2=Extended, -1=NormalVga, 1=key1, 2=key2,...", 1717}, - {" use -R 1 to mount root readonly, -R 0 for read/write.", 1718}, - {"missing comma", 1719}, +Semaphore Array semid=%d\n", 1702}, + {"uid=%d\t gid=%d\t cuid=%d\t cgid=%d\n", 1703}, + {"mode=%#o, access_perms=%#o\n", 1704}, + {"nsems = %ld\n", 1705}, + {"otime = %-26.24s\n", 1706}, + {"ctime = %-26.24s\n", 1707}, + {"%-10s %-10s %-10s %-10s %-10s\n", 1708}, + {"semnum", 1709}, + {"value", 1710}, + {"ncount", 1711}, + {"zcount", 1712}, + {"pid", 1713}, + {"usage: rdev [ -rv ] [ -o OFFSET ] [ IMAGE [ VALUE [ OFFSET ] ] ]", 1714}, + {"\ + rdev /dev/fd0 (or rdev /linux, etc.) displays the current ROOT device", 1715}, + {" rdev /dev/fd0 /dev/hda2 sets ROOT to /dev/hda2", 1716}, + {" rdev -R /dev/fd0 1 set the ROOTFLAGS (readonly status)", 1717}, + {" rdev -r /dev/fd0 627 set the RAMDISK size", 1718}, + {" rdev -v /dev/fd0 1 set the bootup VIDEOMODE", 1719}, + {" rdev -o N ... use the byte offset N", 1720}, + {" rootflags ... same as rdev -R", 1721}, + {" ramsize ... same as rdev -r", 1722}, + {" vidmode ... same as rdev -v", 1723}, + {"\ +Note: video modes are: -3=Ask, -2=Extended, -1=NormalVga, 1=key1, 2=key2,...", 1724}, + {" use -R 1 to mount root readonly, -R 0 for read/write.", 1725}, + {"missing comma", 1726}, {"\ %s: Usage: \"%s [options]\n\ \t -m (default = \"%s\")\n\ @@ -2240,108 +2247,109 @@ Note: video modes are: -3=Ask, -2=Extended, -1=NormalVga, 1=key1, 2=key2,...", 1 \t -v print verbose data\n\ \t -a print all symbols, even if count is 0\n\ \t -r reset all the counters (root only)\n\ -\t -V print version and exit\n", 1720}, - {"out of memory", 1721}, - {"%s Version %s\n", 1722}, - {"Sampling_step: %i\n", 1723}, - {"%s: %s(%i): wrong map line\n", 1724}, - {"%s: can't find \"_stext\" in %s\n", 1725}, - {"%s: profile address out of range. Wrong map file?\n", 1726}, - {"total", 1727}, - {"\ -usage: renice priority [ [ -p ] pids ] [ [ -g ] pgrps ] [ [ -u ] users ]\n", 1728}, - {"renice: %s: unknown user\n", 1729}, - {"renice: %s: bad value\n", 1730}, - {"getpriority", 1731}, - {"setpriority", 1732}, - {"%d: old priority %d, new priority %d\n", 1733}, - {"usage: %s program [arg ...]\n", 1734}, +\t -n disable byte order auto-detection\n\ +\t -V print version and exit\n", 1727}, + {"out of memory", 1728}, + {"%s Version %s\n", 1729}, + {"Sampling_step: %i\n", 1730}, + {"%s: %s(%i): wrong map line\n", 1731}, + {"%s: can't find \"_stext\" in %s\n", 1732}, + {"%s: profile address out of range. Wrong map file?\n", 1733}, + {"total", 1734}, + {"\ +usage: renice priority [ [ -p ] pids ] [ [ -g ] pgrps ] [ [ -u ] users ]\n", 1735}, + {"renice: %s: unknown user\n", 1736}, + {"renice: %s: bad value\n", 1737}, + {"getpriority", 1738}, + {"setpriority", 1739}, + {"%d: old priority %d, new priority %d\n", 1740}, + {"usage: %s program [arg ...]\n", 1741}, {"\ Usage: %s [ -i | -t