sysfs mount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@mach2 ~]# mount|grep sysfs
none on /sys type sysfs (rw)
[root@mach2 ~]#

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

Thanks!

Bill Tangren

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux