On Wed, 2001-10-10 at 09:20, Erik Troan wrote:

> tmpwatch shouldn't care about the filesystem. Does "strace -e open tmpwatch"
> tell you anything more interesting? I assume "cat /etc/mtab" behaves as
> expected?
> 
> Erik

Apologies if this gets sent out twice, I haven't seen it appear on the list yet.


Erik,

Bummer, thought I found a bug.

mtab seems to be behaving fine. It's simply a representation of what's
currently mounted?


[root@thisbox log]# ls -l /etc/mtab
-rw-r--r--    1 root     root          301 Oct 10 08:22 /etc/mtab

[root@thisbox log]# cat /etc/mtab
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hde1 /boot ext3 rw 0 0
/dev/hde5 /home ext3 rw 0 0
/dev/hde11 /tmp ext3 rw 0 0
/dev/hde6 /usr ext3 rw 0 0
/dev/hde7 /usr/local ext3 rw 0 0
/dev/hde9 /var ext3 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0

[root@thisbox log]# mount
/dev/hde10 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hde1 on /boot type ext3 (rw)
/dev/hde5 on /home type ext3 (rw)
/dev/hde11 on /tmp type ext3 (rw)
/dev/hde6 on /usr type ext3 (rw)
/dev/hde7 on /usr/local type ext3 (rw)
/dev/hde9 on /var type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)

# output of strace
open("/etc/mtab", O_RDONLY)             = 4
error: failed to open /etc/mtab for reading


Oddly enough, I don't see / listed in the mtab. Not sure if that's any
kind of indication. Otherwise, looks normal to me.

-- 
Christopher Keller
Systems Engineer
BeamReach Networks -- Sunnyvale, CA



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to