Karel Zak
b0041e4a76
po: merge changes
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-04 11:42:08 +01:00
Yuri Chornoivan
10cd5e058f
po: update uk.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Jakub Bogusz
a0af745330
po: update pl.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Benno Schulenberg
2efca31826
po: update nl.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Takeshi Hamasaki
e4351bcba0
po: update ja.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Antonio Ceballos Roa
369acfd749
po: update es.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Mario Blättermann
2905ba2a69
po: update de.po (from translationproject.org)
2015-02-04 11:38:16 +01:00
Karel Zak
5d9d03ceaf
tests: update build-sys tests
...
The systemd libs are merged into one shared library only.
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-04 11:34:39 +01:00
Karel Zak
2d5ae6d80a
tests: don't hardcode devnames
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 14:20:53 +01:00
Karel Zak
0c8cd4ba7a
libmount: fix type pointer usage
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 14:05:05 +01:00
Karel Zak
d527d2dd64
libfdisk: grain is in bytes, fix previous patches
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 13:44:16 +01:00
Karel Zak
a7990e3bd0
tests: update MBR sort test
...
Now libfdisk writes empty disk labels too. See commit
3d919d9583
.
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 13:28:50 +01:00
Benno Schulenberg
33b981f757
libfdisk: (dos) make a helpful message fit within 80 characters
...
Also add a hint for translators.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-03 13:25:27 +01:00
Karel Zak
68fe4b2822
libfdisk: don't align very small partitions
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 13:20:45 +01:00
Karel Zak
29e9b787da
cfdisk: improve ui_get_size() warnings
...
- don't reset to default after error
- clean previous warnings after users response
- remove unnecessary warning
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 13:06:20 +01:00
Karel Zak
1bb387bdbd
libfdisk: fix issues with very small partitions
...
- cfdisk: minimal partitions size is 1 sector
- dos: when align last sector then don't set partition size to zero
for very small partitions.
- don't ignore tiny partitions before free space when define
free-space start offset
- improve some debug messages
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 12:44:00 +01:00
Karel Zak
3d919d9583
libfdisk: (dos) write new empty label too
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 12:03:12 +01:00
Karel Zak
0e4254f42c
docs: add new cfdisk request to TODO file
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 11:22:21 +01:00
Karel Zak
47dd69188a
docs: add info about *_DEBUG= to man pages
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 11:16:46 +01:00
Karel Zak
f9fb8290d8
cfdisk: print "wrong order" warning after startup, colorize info messages
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 11:04:37 +01:00
Karel Zak
b5ef65a931
cfdisk: force main menu to default to Quit/New menu items
...
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-03 10:37:33 +01:00
Karel Zak
635a81513a
cfdisk: disable some KEY_* in ui_get_wqstring()
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-02 13:05:48 +01:00
Karel Zak
316bce9dd4
cfdisk: default to Quit menu item
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-02 12:47:50 +01:00
Karel Zak
eed0e7b9bc
libfdisk: (dos) fix logical partitions errors handling
...
The current code in add_partition() de-increment number of partitions
on error when logical partition requested and add_logical() does the
same. The result is mess in partitions array.
The another fixed issue is that add_logical() is called if all primary
partitions are already used although 'pa->start' (the template) is
explicitly defined outside the extended partition. The right behavior
is to end with error message.
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-02 12:20:44 +01:00
Benno Schulenberg
fc14ceba5e
textual: grammarize and harmonize the stat error message
...
The message "stat failed %s" seems to say that stat() failed to
do something, or failed to pass a test, but of course it means
that the statting of something failed. So say so. Also make
two very similar messages equal to this one.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 11:27:10 +01:00
Sami Kerola
51278ec020
docs: mention nice(1) in renice(1) manual page
...
Addresses: https://bugs.debian.org/260984
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2015-02-02 11:27:10 +01:00
Jan Kara
3c1f7603bf
mount: Further FAT mount option update
...
Add some mount options mentioned in Documentation/filesystems/vfat.txt.
Signed-off-by: Jan Kara <jack@suse.cz>
2015-02-02 11:27:10 +01:00
Jan Kara
b7b16b0bcf
mount: Add documentation of FAT mount option time_offset
...
Signed-off-by: Jan Kara <jack@suse.cz>
2015-02-02 11:27:10 +01:00
Karel Zak
db0ccb761d
whereis: lookup also info docs
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-02 11:15:47 +01:00
Benno Schulenberg
9ac1fcf6c5
sfdisk: actually translate the table headers by calling gettext()
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
c7b1fbb4c5
docs: add the Sort command to the man page of cfdisk
...
Also sort T into its proper position, improve the wording of U,
and add the Left and Right arrow keys.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
a0aee0a9a9
build-sys: improve wording and punctuation of several messages
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
dc45b86e14
libfdisk: actually translate the human-readable name of the partition type
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
25e3dd1739
lib/strutils: accept not just 'B' but also lowercase 'b' in a size suffix
...
Just line 'M' and 'm' are accepted for mega, 'G' and 'g' for giga,
'S' and 's' for sectors, and so on.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
2a0ffa311c
cfdisk: make '?' an alias of 'h', to also show the help screen
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
d4640320df
cfdisk: punctuate the bottombar messages consistently
...
Also adjust the style of two comments and add another.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
143d9e3e52
cfdisk: improve wording and consistency of the size warnings
...
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Benno Schulenberg
a4fbbbd491
cfdisk: remove the mistaken B from the explanation of size suffixes
...
Also reword the explanation to be clearer. It is not necessary to
be complete -- that is what the man page is for.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
2015-02-02 10:57:07 +01:00
Karel Zak
625d00fefb
libfdisk: (dos) delete also logical with extended
...
deleting an extended partition with cfdisk leaves its contained
partitions in existence
Reported-by: Benno Schulenberg <bensberg@justemail.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-02-02 10:38:05 +01:00
Karel Zak
f1b64c1c1f
wipefs: fix FD leak on error [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 12:42:58 +01:00
Karel Zak
1539750f2a
lsblk: implement SOMEOK (=64) return code
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 12:35:26 +01:00
Karel Zak
4631e25427
findmnt: fix mem leaks [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:59:54 +01:00
Karel Zak
912a7077b2
utmpdump: don't pass parameter of type "struct utmp" by value [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:40:47 +01:00
Karel Zak
863d371c83
sulogin: make sure that fallback FD is valid [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:32:42 +01:00
Karel Zak
101c5838ac
su: fix mem leak in modify_environ() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:26:09 +01:00
Karel Zak
86cf1ff42a
login: fix mem leak in init_environ() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:25:07 +01:00
Karel Zak
78ad5aaaa9
libsmartcols: remove unnecessary check [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:07:37 +01:00
Karel Zak
7396bdd468
libmount: fix possible mem leak in has_utab_entry() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 11:03:49 +01:00
Karel Zak
7bc2fd3d23
libmount: fix mem leak in do_mount_by_types() [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 10:58:55 +01:00
Karel Zak
edc4cf94a8
libfdisk: make fdisk_partition_to_string() more robust [coverity scan]
...
Signed-off-by: Karel Zak <kzak@redhat.com>
2015-01-29 10:49:51 +01:00