summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-01-20build-sys: check for paths.hFabian Groffen2-0/+3
paths.h doesn't exist on Solaris Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-20libblkid: add blkdev.h to blkidP.hKarel Zak8-9/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20make _IO macros available on SolarisFabian Groffen2-0/+4
The _IO macro is defined in sys/ioccom.h on various platforms. However, on Solaris it isn't included by ioctl.h, so include it explicitly if available. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-20make major and minor available on SolarisKarel Zak6-15/+4
Reported-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-20build-sys: link with socketlibs when necessaryFabian Groffen2-1/+14
To link an object which references socket functions, you need to link with -lsocket -lnsl on Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-20build-sys: check for loff_t, it may not existFabian Groffen2-0/+5
On some systems, loff_t does not exist. Define it as int64_t in that case. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-19libmount: add mnt_context_is_* functionsKarel Zak3-1/+111
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-19build-sys: add rpmatch.h to Makefile.amKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-19lscpu: fix 64bit CPU detectionKarel Zak1-20/+33
Note that the code is still not able to detect 64bit on sparcs and ppc. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-18libmount: cleanup internal APIKarel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-17mkfs.cramfs: use symbolic exit codesSami Kerola1-20/+20
For some reason original author had defined symbolic exit codes, but had not use them. One could argue the symbolic exit codes for mkfs should go to local exit header which would be included to all commands that exit with non zero or one return code. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
2011-01-17fdisk: add description for partition type 0x27Karel Zak1-0/+1
Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-17mkfs: general cleanupsDavidlohr Bueso1-18/+7
Use xalloc, remove unused headers, use EXIT_* constants. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17uuidd: mention -q in uuidd.8Petr Uzel1-0/+3
Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2011-01-17build-sys: improve check for cryptFabian Groffen8-12/+31
Check for crypt.h existence, and use it if available over using unistd.h for which a certain feature level has to be set to export a definition for crypt. On Solaris this set causes a standards conflict in the headers, because at the time of this check C99 mode is already enabled, which implies certain standards non-compatible with _XOPEN_SOURCE. 92 #define _XOPEN_SOURCE 93 #include <unistd.h> configure:16259: gcc -std=gnu99 -c -g -O2 conftest.c >&5 In file included from /usr/include/unistd.h:18, from conftest.c:93: /prefix/gentoo/usr/lib/gcc/i386-pc-solaris2.10/4.4.5/include-fixed/sys/feature_tests.h:341:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications" configure.ac: improve crypt check login-utils/my_crypt.h: replace old GNU_LIBRARY check with autoconf define for crypt.h [kzak@redhat.com: - remove my_crypt.h] Signed-off-by: Fabian Groffen <grobian@gentoo.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-17build-sys: use WORDS_BIGENDIAN to determine platform byte-orderFabian Groffen4-23/+6
Autoconf contains the right magic to determine the endianness on many platforms next to Linux. This reverses previous commits to move away from WORDS_BIGENDIAN: "use __BYTE_ORDER rather than AC specific WORDS_BIGENDIAN" This is necessary to compile on non Linux platforms like Darwin and Solaris. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2011-01-17wall: add usage functionDavidlohr Bueso1-5/+8
Instead of using an ugly goto statement, we can add a proper usage function. This also adds the undocumented '-n' option to the output string. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17partx: fix typo in partx.8Davidlohr Bueso1-1/+1
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17disk-utils: fix manpage typosDavidlohr Bueso2-2/+2
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17column: fix column.1 typoDavidlohr Bueso1-1/+1
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17findmnt: fix manpage typosDavidlohr Bueso1-1/+1
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17sys-utils: fix manpage typosDavidlohr Bueso3-3/+3
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17schedutils: fix typosDavidlohr Bueso2-2/+2
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
2011-01-17umount: call is_loop_autoclear() for all loopdevsKarel Zak2-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-14include: fix list.h ifdefsKarel Zak1-3/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-14docs: update TODOKarel Zak1-0/+7
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-13docs: update TODO fileKarel Zak1-0/+4
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-13libmount: improve fstab/mtab options usageKarel Zak3-53/+71
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-11mount: fix reference to cifs-utils in mount.8Karel Zak1-1/+1
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=651035 Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-11TODO: use rpmatch() for sfdiskKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10mount: fix gcc warningKarel Zak1-4/+4
2011-01-10libmount: add mount(8) sampleKarel Zak6-1/+433
This code is going to be used as mount(8) replacement in the next major release (2.20). For now this mount(8) implementation does not support loopdevs initialization. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10libmount: properly canonicalize source and targetKarel Zak6-21/+68
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10mount: canonicalize paths in HAVE_LIBMOUNT_MOUNT codeKarel Zak1-15/+23
Reported-by: silvan minghetti <bu1137@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-10lsblk: use "RM" for removableKarel Zak1-4/+4
Suggested by Przemoc <noreply-comment@blogger.com> at my blog. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05unshare: fix SIGSEGV on invalid command line optionAlexey Gladkov1-0/+1
$ unshare --hel Segmentation fault The last element of longopts has to be filled with zeros. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
2011-01-05fdisk: re-print prompt after maybe_exit()Karel Zak3-10/+22
after Do you really want to quit? n the read_chars() has to re-print the original prompt and ask again for new input. For example: Partition number (1-4, default 3): <-- CTRL-D Do you really want to quit? n Partition number (1-4, default 3): 3 <-- ask again First sector (411648-1023999, default 411648): Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05include: add fallback for rpmatch()Francesco Cosoleto3-7/+13
Simple replacement code with hardcoded y/n responses to allow compilation on systems without rpmatch() such as Cygwin. Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05fdisk: quit with a single CTRL-D, confirm if necessaryFrancesco Cosoleto1-9/+26
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
2011-01-05build-sys: release++ (v2.19-rc1)Karel Zak2-2/+6
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05build-sys: ignore generated ltmain.shKarel Zak1-0/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05docs: update v2.19 ReleaseNotesKarel Zak1-0/+3
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05build-sys: use generated libtool-2 stuffKarel Zak8-16394/+13
The commit 60a4edd66200be829560dce0d41a02fc70cef4f5 temporary disabled libtool-2 in autogen.sh. It seems that libtool-2 in available in many distributions now, so we don't have to manage the generated .m4 libtool files in git anymore. Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05po: refresh gl and zh_TWKarel Zak2-4148/+5728
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05build-sys: cleanup autogen.shKarel Zak1-30/+24
Reported-by: Jon Grant <jg@jguk.org> Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-05docs: correct spelling mistakes in DEPRECATED fileJon Grant1-2/+2
Signed-off-by: Jon Grant <jg@jguk.org>
2011-01-05docs: add v2.19 ReleaseNotesKarel Zak1-0/+523
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-04docs: update AUTHORS fileKarel Zak1-3/+25
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-04po: merge changesKarel Zak24-38790/+50663
Signed-off-by: Karel Zak <kzak@redhat.com>
2011-01-04po: add zh_TW.po (from translationproject.org)Wei-Lun Chao1-0/+12368