Tango FileRoots

Ty Tower tytower at hotmail.com.au
Tue Mar 4 15:55:53 PST 2008


BCS Wrote:
> Now that I have a Linux box handy...
> 
> take a look at the /proc/mounts file. Mine gives this:
> 
> $ cat /proc/mounts
> rootfs / rootfs rw 0 0
> /dev/root / ext3 rw 0 0
> /proc /proc proc rw 0 0
> usbdevfs /proc/bus/usb usbdevfs rw 0 0
> none /dev/pts devpts rw 0 0
> none /dev/shm tmpfs rw 0 0
> 
> IIRC this is a file in a "fileystem" that is actually a device for 
> reading kernel and system state. This reflects the actual current state 
> of the system, not the last thing written to some file.
> 
> > I can't say . I am
> > not that familiar with the kernel but my understanding is
> > that /etc/mtab is updated by the kernel as each device is added or
> > removed instantly.
> 
> Potentially someone could over wright /etc/mtab with junk. Not likely but...
> 
>  > I don't think any applications act on it except
> > maybe Hal.
> > 
> > And did you mean "*nix"  as Unix/Linux box ,I think so  
> > 
> 
> yup

Good stuff - I am learning each day Thanks




More information about the Digitalmars-d mailing list