summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docs: add feature-requests from RH bugzilla to TODO listKarel Zak2008-12-021-0/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: use subsections in mount.8 DESCRIPTIONKarel Zak2008-11-271-56/+81
| | | | | | | The DESCRIPTION section is huge non-structuralized mess. This patch is attempt to make this part of the man page more readable. Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: create separate section for fs-independent options in mount.8Karel Zak2008-11-271-19/+32
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: reorder list of options in mount.8Karel Zak2008-11-271-83/+89
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: add i_version supportKarel Zak2008-11-273-0/+13
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tailf: unistd.h is included more than onceKarel Zak2008-11-261-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* rdev: cleanup includesKarel Zak2008-11-261-10/+8Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* login: cleanup includesKarel Zak2008-11-261-5/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* agetty: sys/types.h and time.h are included more than onceKarel Zak2008-11-261-2/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: clock.h is included more than onceKarel Zak2008-11-261-4/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* getopt: remove unnecessary ifdefsKarel Zak2008-11-262-11/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: rename ENABLE_CMDTAGQ macroKarel Zak2008-11-262-2/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkconfig to top-level MakefileKarel Zak2008-11-262-15/+29
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: rename codecheck-config to checkconfig.shKarel Zak2008-11-261-0/+0
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tools: add checkincludes.pl (from linux kernel)Karel Zak2008-11-262-0/+35
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: fix man page typoKarel Zak2008-11-251-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove useless return value checks in testing scriptsAmérico Wang2008-11-2017-204/+133Star
| | | | Signed-off-by: WANG Cong <wangcong@zeuux.org>
* tests: update namei reg.testKarel Zak2008-11-191-7/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: clean up the testing scriptsAmérico Wang2008-11-193-9/+5Star
| | | | | | Do some cleanups to the testing scripts. Signed-off-by: WANG Cong <wangcong@zeuux.org>
* build-sys: add --disable-mountAlon Bar-Lev2008-11-192-13/+28
| | | | | | | | | | | I use busybox for most of the utilities, still lacks a few that I wish to use from util-linux... So mount comes from busybox. And during the cross compile I don't want to compile the mount dependencies only to make the configure script happy... Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* pivot_root: clean upKarel Zak2008-11-191-15/+16
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: move pivot_root(8) to sys-utilsKarel Zak2008-11-197-21/+21
| | | | | | | | This patch moves pivot_root.{8,c) from mount/ to sys-utils/ directory. There is not ant relation between pivot_root source code and the rest of code in the mount. Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: add warning about read-only modeKarel Zak2008-11-181-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: try to set up loop readonly if EACCESMatthias Koenig2008-11-181-1/+2
| | | | | | | | | | | | | Currently mounting/losetup an image fails if it is accessable readonly. There are no problems if it is a file on a local filesystem. It seems only to happen if it is a NFS mounted image, which is read-write in permission but with root_squash option. set_loop checks only for EROFS to retry open with readonly mode, but in this case we get EACCES. Signed-off-by: Matthias Koenig <mkoenig@suse.de>
* cfdisk: accept yes/no as fallbackMatthias Koenig2008-11-141-2/+4
| | | | | | | | | | | Accept "yes" or "no" as fallback in case the question has not been translated. [kzak@redhat.com: note that rpmatch(3) looks at only the first character of response, but we need have to check the full yes/no string.] Signed-off-by: Matthias Koenig <mkoenig@suse.de>
* mkfs.minix: fix size detectionMatthias Koenig2008-11-131-2/+7
| | | | | | | | blkdev_get_size returns size in bytes, so BLOCKS has to be calculated accordingly. Use stat value for size if device is not a block device. Signed-off-by: Matthias Koenig <mkoenig@suse.de>
* fdisk: add some missing includesMatthias Koenig2008-11-131-0/+4
| | | | | | | | | | | Currently these missing includes prevent that HDIO_GETGEO is defined, so is_probably_full_disk always uses the "silly heuristic" method. [kzak@redhat.com: add also unistd.h] Signed-off-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* namei: add --owners and --long optionsKarel Zak2008-11-131-7/+138
| | | | | | | | | | | | | | | Added file owner and group name printing support. The groupnames and usernames are cached to avoid an extra overhead. This implementation does not use fixed width of user/group name columns. $ namei -l /var/www/cgi-bin f: /var/www/cgi-bin drwxr-xr-x root root / drwxr-xr-x root root var drwxr-xr-x root root www drwxr-xr-x root root cgi-bin Signed-off-by: Karel Zak <kzak@redhat.com>
* namei: new re-written versionKarel Zak2008-11-132-338/+303Star
| | | | | | | | | | | | | | This new version: * not based on chdir() * implemented without recursion (does not depend on stack size) * list of directories is stored in allocated memory (the code is extendable with new functionality (e.g. show usernames, groupnames, selunux contexts, ...). * supports long command line options * adds a new command line option: -n, --nosymlinks don't follow symlinks Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: support +cylinder notationKarel Zak2008-11-131-2/+4
| | | | | | | | Currently fdisk does not support +cylinder notation and reports "Unsupported suffix: ''". Reported-by: Matthias Koenig <mkoenig@suse.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: read /proc/partitions in more robust wayKarel Zak2008-11-131-4/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: cannot create partition with starting beyond 1 TBKarel Zak2008-11-131-1/+1
| | | | | | | | fdisk(8) uses "unsigned long long" for all internal calculations -- let use it for start of partition too. Address-Red-Hat-Bugzilla: #471369 Signed-off-by: Karel Zak <kzak@redhat.com>
* sfdisk: fix Compilation ErrorCAI Qian2008-10-231-1/+1
| | | | | | This patch fixes a compilation error in the latest tree. Signed-off-by: CAI Qian <caiqian@cclom.cn>
* lscpu: return EXIT_SUCCESS at the endMatthias Koenig2008-10-221-1/+1
| | | | Signed-off-by: Matthias Koenig <mkoenig@suse.de>
* tests: refresh Makefile.am (add missing lscpu tests)Karel Zak2008-10-221-1/+14
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add lscpu(1) test for fullvirt. Xen x86_64Karel Zak2008-10-2219-0/+86
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add lscpu(1) test for paravirt. Xen i386Karel Zak2008-10-2217-0/+72
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add mk-lscpu-input.shKarel Zak2008-10-222-0/+49
| | | | | | | This script makes a copy from system /proc and /sys. The result is useful for lscpu(1) regression tests. Signed-off-by: Karel Zak <kzak@redhat.com>
* lscpu: add Hypervisor detectionKarel Zak2008-10-222-20/+166
| | | | | | | | | | | | | | | This patch adds two new fields: * "Hypervisor vendor" -- based on CPUID and hypervisor specific PCI devices. lscpu(1) supports KVM, XEN, Microsoft HV now. * "Virtualization type" - "none" = Xen dom0 - "full" = full virtualization (KVM, Xen, ...) - "para" = Xen paravirtualization Co-Author: Ky Srinivasan <ksrinivasan@novell.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: update TODO listKarel Zak2008-10-161-1/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* hwclock: remove "cli" and "sti" from i386 CMOS codeKarel Zak2008-10-161-25/+4Star
| | | | | | | | | | The protection against context switch is nonsense. There is possible to optimize the access to CMOS by mlockall(MCL_CURRENT) and SCHED_FIFO. For more details see: http://lkml.org/lkml/2008/10/12/132 Reported-by: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* ipcs: fix exit codes, remove tailing white-spacesKarel Zak2008-10-071-76/+61Star
| | | | | Addresses-Red-Hat-Bugzilla: #465911 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: sync tmpfs info in mount.8 with Documentation/filesystems/tmpfs.txtKarel Zak2008-10-061-9/+62
| | | | | Addresses-Red-Hat-Bugzilla: #465761 Signed-off-by: Karel Zak <kzak@redhat.com>
* mount: sync FAT info in mount.8 with Documentation/filesystems/vfat.txtKarel Zak2008-10-061-6/+48
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* fdisk: suggest partprobe(8) and kpartx(8) when BLKRRPART failedVincent Deffontaines2008-10-066-25/+33
| | | | | | Signed-off-by: Vincent Deffontaines <vincent@gryzor.com> Signed-off-by: Karel Zak <kzak@redhat.com> Co-Author: Karel Zak <kzak@redhat.com>
* mount: remove link to namesys.comKarel Zak2008-10-031-2/+0Star
| | | | | | | | | | Ricardo Catalinas Jiménez wrote: In the man page mount(8) there is the url "http://www.namesys.com/mount-options.html". The web site has been down for a long time and the Namesys company is trying to be sold. Reported-By: Ricardo Catalinas Jiménez <jimenezrick@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* pg: several strings without gettext callsPedro Ribeiro2008-10-031-5/+5
| | | | | Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* readprofile: several strings without gettext callsPedro Ribeiro2008-10-031-3/+3
| | | | | Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* losetup: several strings without gettext stringsPedro Ribeiro2008-10-031-4/+4
| | | | | Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* logger: several strings without gettext callsPedro Ribeiro2008-10-031-3/+3
| | | | | Signed-off-by: Pedro Ribeiro <p.m42.ribeiro@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>