Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

filesystems creation

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
hi all
how can i get the info about /dev devices presently
available on my linux system which can be used to create filesytems and then mount over them
Currently i have just / fs being mounted on system
reboot
Also i want that Ctrl+ ALt+ delete key should not
be allowed to reboot the linux system
How can i do that
Julia
 
Hi,

On the first query, I guess you want to look at the disk partition layout. If so, do (as root) :

/sbin/fdisk -l /dev/hda (first ide disk)
/sbin/fdisk -l /dev/hdb (second ide disk)
/sbin/fdisk -l /dev/sda (first scsi disk)
/sbin/fdisk -l /dev/sdb (second scsi disk)

etc.

Also look in /etc/fstab to see what filesystems are configured already.

On the ctl-alt-del - this can only be done from the system console so is not subject to great security, however you should be able to restrict it to certain users by putting their userids in the file /etc/shutdown.allow .

Hope this helps
 
You can define the behavior of ctl-alt-del in inittab, but this is a total limitation. As ifincham said: console only...are you teaching linux or something so users have to be at the con?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top