Commit Graph

8 Commits (1301def84c5f6467180ddfca64f1758a086cf4dc)

Author SHA1 Message Date
Theodore Ts'o 196b59c810 Update translation files for 1.42.10 release
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2014-05-18 21:47:32 -04:00
Eric Sandeen 032eafee30 e4defrag: handle device symlinks
Device nodes are commonly accessed via symlinks, i.e.

lrwxrwxrwx. 1 root root 7 Jul 19 13:01 /dev/mapper/testvg-testlv -> ../dm-0

Today, e4defrag on such a device will fail:

File is not regular file
 "/dev/mapper/testvg-testlv"

due to it being a link, and e4defrag on the link target does as well:

Filesystem is not mounted

due to the target not being found in /etc/mtab.

Fix this by checking whether the symlink target is a block device
and if so, using that device in main(), and also changing get_mount_point()
to search for a matching device number, not device name.

Addresses-Red-Hat-Bugzilla: #707209

Reported-by: Peter Hjalmarsson <xake@rymdraket.net>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2012-07-28 17:53:48 -04:00
Dark Raven c475534cd5 po: update zh_CN.po (from translationproject.org)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2011-01-26 18:54:25 -05:00
Theodore Ts'o 296b9d696a po: update zh_CN.po (from translationproject.org)
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-06-07 12:25:11 -04:00
Dark Raven 3be22a8197 po: update zh_CN.po (from translationproject.org)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2010-04-19 16:59:03 -04:00
Theodore Ts'o 930e28140c Update Czech and Chinese translations from the Translation Project.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-06-29 15:09:30 -04:00
Dark Raven 31a48478df po: update zh_CN.po (from translationproject.org)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2009-05-25 22:45:42 -04:00
Theodore Ts'o f722c1345a po: Add Chinese (simplified) translation from the Translation Project
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2009-04-21 22:09:01 -04:00