[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
df: auto fs's don't show in normal df
From: |
Burton Windle |
Subject: |
df: auto fs's don't show in normal df |
Date: |
Thu, 29 Nov 2001 23:18:35 -0500 (EST) |
Hello. I recently started using Ext3, and based on advice on the LKML,
changed my /etc/fstab to mount / as auto (incase I didn't have ext2
support). This was tested on 2.4.16, as well as 2.5.1-pre4.
Now, my / partition doesn't show up in 'df' unless I do 'df -a' or
explictly as for /
If I change my /etc/fstab to mount / as ext3 instead of auto, it works
again.
cypher:~# df --version
df (fileutils) 4.1
cypher:~# dpkg -s fileutils
Package: fileutils
Essential: yes
Status: install ok installed
Priority: required
Section: base
Installed-Size: 1612
Maintainer: Michael Stone <address@hidden>
Version: 4.1-7
cypher:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 6036144 1278368 4757776 22% /mnt/C
/dev/hdb1 30000512 13929392 16071120 47% /mnt/D
cypher:~# df -a
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 1984272 1496656 386816 80% /
proc 0 0 0 - /proc
devpts 0 0 0 - /dev/pts
/dev/hda1 6036144 1278368 4757776 22% /mnt/C
none 0 0 0 - /proc/bus/usb
/dev/hdb1 30000512 13929392 16071120 47% /mnt/D
cypher:~# df /
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda2 1984272 1496656 386816 80% /
cypher:~# cat /proc/mounts
/dev/root / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda1 /mnt/C vfat rw 0 0
none /proc/bus/usb usbdevfs rw 0 0
/dev/hdb1 /mnt/D vfat rw 0 0
cypher:~# cat /etc/mtab
/dev/hda2 / auto rw,errors=remount-ro,errors=remount-ro 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda1 /mnt/C vfat rw,0 0 0
none /proc/bus/usb usbdevfs rw 0 0
/dev/hdb1 /mnt/D vfat rw 0 0
cypher:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options>
<dump> <pass>
/dev/hda2 / auto defaults,errors=remount-ro 0
1/dev/hda3 none swap sw 0 0
proc /proc proc defaults 0
0/dev/fd0 /floppy auto defaults,user,noauto 0
0/dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0
0/dev/burner /burner iso9660 defaults,ro,user,noauto 0
/dev/hda1 /mnt/C vfat 0
none /proc/bus/usb usbdevfs defaults 0 0
/dev/hdb1 /mnt/D vfat
strace of 'df'
execve("/bin/df", ["df"], [/* 16 vars */]) = 0
uname({sys="Linux", node="cypher", ...}) = 0
brk(0) = 0x804f164
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(0x3, 0xbfffef34) = 0
old_mmap(NULL, 33404, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0(\327\1"..., 1024) =
1024
fstat64(0x3, 0xbfffef7c) = 0
old_mmap(NULL, 1187968, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001f000
mprotect(0x40137000, 41088, PROT_NONE) = 0
old_mmap(0x40137000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x117000) = 0x40137000
old_mmap(0x4013d000, 16512, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4013d000
close(3) = 0
munmap(0x40016000, 33404) = 0
brk(0) = 0x804f164
brk(0x804f18c) = 0x804f18c
brk(0x8050000) = 0x8050000
open("/etc/mtab", O_RDONLY) = 3
brk(0x8052000) = 0x8052000
fstat64(0x3, 0xbffff4dc) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40016000
read(3, "/dev/hda2 / auto rw,errors=remou"..., 4096) = 223
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40016000, 4096) = 0
fstat64(0x1, 0xbffff3cc) = 0
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40016000
write(1, "Filesystem 1k-blocks "..., 67) = 67
statfs("/proc", {f_type="PROC_SUPER_MAGIC", f_bsize=1024, f_blocks=0,
f_bfree=0, f_files=0, f_ffree=0, f_namelen=255}) = 0
stat64(0x80503a8, 0xbffff7fc) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/root / ext3 rw 0 0\nproc /pr"..., 1024) = 170
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
statfs("/dev/pts", {f_type=0x1cd1, f_bsize=1024, f_blocks=0, f_bfree=0,
f_files=0, f_ffree=0, f_namelen=255}) = 0
stat64(0x80503f8, 0xbffff7fc) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/root / ext3 rw 0 0\nproc /pr"..., 1024) = 170
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
stat64(0xbffff3eb, 0xbffff384) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
statfs("/mnt/C", {f_type="MSDOS_SUPER_MAGIC", f_bsize=4096, f_blocks=1509036,
f_bfree=1189444, f_files=0, f_ffree=0, f_namelen=260}) = 0
stat64(0x8050448, 0xbffff7fc) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/root / ext3 rw 0 0\nproc /pr"..., 1024) = 170
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
stat64(0xbffff3eb, 0xbffff384) = 0
stat64(0xbffff3ee, 0xbffff384) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
write(1, "/dev/hda1 6036144 "..., 63) = 63
statfs("/proc/bus/usb", {f_type=0x9fa2, f_bsize=1024, f_blocks=0, f_bfree=0,
f_files=0, f_ffree=0, f_namelen=255}) = 0
stat64(0x8050498, 0xbffff7fc) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/root / ext3 rw 0 0\nproc /pr"..., 1024) = 170
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
stat64(0xbffff3eb, 0xbffff384) = 0
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
statfs("/mnt/D", {f_type="MSDOS_SUPER_MAGIC", f_bsize=16384, f_blocks=1875032,
f_bfree=1004445, f_files=0, f_ffree=0, f_namelen=260}) = 0
stat64(0x80504f0, 0xbffff7fc) = 0
open("/proc/mounts", O_RDONLY) = 3
fstat64(0x3, 0xbfffed1c) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40017000
read(3, "/dev/root / ext3 rw 0 0\nproc /pr"..., 1024) = 170
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
stat64(0xbffff3eb, 0xbffff384) = 0
stat64(0xbffff3ee, 0xbffff384) = 0
stat64(0xbffff3e9, 0xbffff384) = 0
stat64(0xbffff3ee, 0xbffff384) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
write(1, "/dev/hdb1 30000512 "..., 63) = 63
munmap(0x40016000, 4096) = 0
_exit(0) = ?
--
Burton Windle address@hidden
Linux: the "grim reaper of innocent orphaned children."
from /usr/src/linux-2.4.0/init/main.c:655
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- df: auto fs's don't show in normal df,
Burton Windle <=