Will these nosuid and nodev going to be a problem?
Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
it says: "Ensure that this new partition is not mounted with permissions that are too restrictive (such as the nosuid or nodev options)"
will this output from mount give me a problem?
Code:
root@host:/dev# export LFS=/mnt/lfs
root@host:/dev# mkdir -pv $LFS
mkdir: created directory `/mnt/lfs'
root@host:/dev# mount -v -t ext3 /dev/sdb1 $LFS
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/883460ce-b241-49ff-8cc3-63ff903bb2b3 type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev# mount -v -t ext3 /dev/sdb1 $LFS
mount: /dev/sdb1 already mounted or /mnt/lfs busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt/lfs
root@host:/dev# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/883460ce-b241-49ff-8cc3-63ff903bb2b3 type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev#
it says: "Ensure that this new partition is not mounted with permissions that are too restrictive (such as the nosuid or nodev options)"
will this output from mount give me a problem?
Code:
root@host:/dev# export LFS=/mnt/lfs
root@host:/dev# mkdir -pv $LFS
mkdir: created directory `/mnt/lfs'
root@host:/dev# mount -v -t ext3 /dev/sdb1 $LFS
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/883460ce-b241-49ff-8cc3-63ff903bb2b3 type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev# mount -v -t ext3 /dev/sdb1 $LFS
mount: /dev/sdb1 already mounted or /mnt/lfs busy
mount: according to mtab, /dev/sdb1 is already mounted on /mnt/lfs
root@host:/dev# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
/dev/sdb1 on /media/883460ce-b241-49ff-8cc3-63ff903bb2b3 type ext3 (rw,nosuid,nodev,uhelper=udisks)
/dev/sdb1 on /mnt/lfs type ext3 (rw)
root@host:/dev#
This is from my running LFS system:
Code:
/dev/sda3 on / type ext4 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=4,mode=620)
shm on /dev/shm type tmpfs (rw)
gvfs-fuse-daemon on /home/keithhedger/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,noexec)
/dev/sda8 on /media/TempStore type ext4 (rw,nosuid,nodev,noatime)
/dev/sdb3 on /media/Photos type ext4 (rw,nosuid,nodev,noatime)
/dev/sdb4 on /media/Books type ext4 (rw,nosuid,nodev,noatime)
/dev/sdb2 on /media/Music type ext4 (rw,nosuid,nodev,noatime)
/dev/sdb1 on /media/LinuxData type ext4 (rw,nosuid,nodev,noatime)
/dev/sdc1 on /media/SkyNet type ext2 (rw,nosuid,nodev,noatime)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.