aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-05 19:29:59 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-05 19:29:59 +0000
commit89bc256c9480a137a2286b5b16ff4207e35659e5 (patch)
treece9511f09c0da7277cf44f38197b8548b9c79aa0 /util-linux
parentf7cf2f7ef98077c59e4da4bc25de38c22174ac9d (diff)
downloadbusybox-89bc256c9480a137a2286b5b16ff4207e35659e5.tar.gz
Remove misguided klude around for 2.4.x-test* brokenness. Al Viro
will be removing this stuff from /proc/mounts real soon now I am assured. -Erik
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 292be0c43..76f048b1c 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -358,10 +358,6 @@ extern int mount_main(int argc, char **argv)
fatalError( "\nDEVMTAB_GET_MOUNTS: %s\n", strerror (errno));
for( i = 0 ; i < numfilesystems ; i++) {
- /* klude around Linux 2.4.x stupidity */
- if (strcmp(mntentlist[i].mnt_fsname, "none") == 0) {
- continue;
- }
fprintf( stdout, "%s %s %s %s %d %d\n", mntentlist[i].mnt_fsname,
mntentlist[i].mnt_dir, mntentlist[i].mnt_type,
mntentlist[i].mnt_opts, mntentlist[i].mnt_freq,
@@ -384,10 +380,6 @@ extern int mount_main(int argc, char **argv)
while ((m = getmntent(mountTable)) != 0) {
char *blockDevice = m->mnt_fsname;
- /* klude around Linux 2.4.x stupidity */
- if (strcmp(blockDevice, "none") == 0) {
- continue;
- }
if (strcmp(blockDevice, "/dev/root") == 0) {
find_real_root_device_name( blockDevice);
}