sysfs mount

Bill Tangren bjt at aa.usno.navy.mil
Wed Sep 27 17:55:48 UTC 2006


I am required to change the mount of /sys so that the nosuid option is set. I 
see that it appears to be mounted in /etc/rc.sysinit:

mount -n -t sysfs /sys /sys >/dev/null 2>&1

If I change it as follows:

mount -n -t sysfs -o nosuid /sys /sys >/dev/null 2>&1

and reboot, I still get this when I issue the mount command:

[root at mach2 ~]# mount|grep sysfs
none on /sys type sysfs (rw)
[root at mach2 ~]#

Could someone point me to where /sys is actually being mounted, so I can add 
this option?

Thanks!

Bill Tangren




More information about the redhat-list mailing list