[root@claudius ~]# cat /etc/mtab
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sdb1 /mnt/usb1 vfat rw,noexec,nodev,sync,dirsync,noatime,dmask=000,fmask=111 0 0
[root@claudius ~]# mount -o remount /
[root@claudius ~]# cat /etc/mtab
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/sdb1 /mnt/usb1 vfat rw,noexec,nodev,sync,dirsync,noatime,dmask=000,fmask=111 0 0
[root@claudius ~]#
cut -d ' ' -f2 < /proc/mounts | xargs -n 1 echo mount -o remount
mount -o remount /
mount -o remount /dev
mount -o remount /
mount -o remount /dev
mount -o remount /proc
mount -o remount /sys
mount -o remount /proc/bus/usb
mount -o remount /dev/pts
mount -o remount /dev/shm
mount -o remount /home
drop the echo and you're ready2go
]]># cat /etc/mtab
none /dev/pts devpts rw 0 0
none /dev/shm tmpfs rw 0 0
What can I do to have all my mounted filesystems in /etc/mtab?
]]>