- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: /dev/pts /dev/shm and vt/0 vt/1 ???
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2004 12:09 AM
тАО03-12-2004 12:09 AM
/dev/pts /dev/shm and vt/0 vt/1 ???
usbdevfs on /proc/bus/usb type usbdevfs
none on /dev/pts type devpts
none on /dev/shm type tmpfs
I wana know, what these lines shows??? whats /dev/pts, and whats /dev/shm ???
Second what are vt/0 vt/1 vt/2 ....
I found them in /etc/securetty
Thanks billion
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2004 01:42 AM
тАО03-12-2004 01:42 AM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
It is configured in /etc/fstab; editing the line with '/dev/shm' you can change its mount point or remove it if you don't need it.
ask for more informations, if you want.
hth,
Claudio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2004 07:03 PM
тАО03-12-2004 07:03 PM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
And also I have asked abt vc/0 vc/1 and vc/2 ... these are found in the /etc/securetty file, so what are these???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2004 09:46 PM
тАО03-12-2004 09:46 PM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
Your /dev/vt/0 is a bit odd though. Generally speaking, /etc/securetty contains /dev/tty1 through to /dev/tty7 and these are the virtual terminals your get by going ALT-F1 to ALT-F7 on your console (except when you're running X in which case it is CTRL-ALT-F1 to get the first firtual terminal). I therefore suspect that you either have these devices symbolically linked to /dev/vt/0 etc or you have a card with multiple serial ports attached to your machine which uses those device names.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2004 01:43 AM
тАО03-13-2004 01:43 AM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
#cat /etc/securetty
vc/0
vc/1
vc/2
.
.
.
tty1
tty2
.
.
.
So now please let me know abt these vc/x, that what are these and when they used etc..
Many Thanks
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2004 01:56 AM
тАО03-13-2004 01:56 AM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
Regards
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2004 05:47 PM
тАО03-13-2004 05:47 PM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
You have /dev/pts mounted! Never seen that before. Could you post the output of "df"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2004 02:32 AM
тАО03-14-2004 02:32 AM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
#mount
/dev/hda9 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda7 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620) ***here is /dev/pts I asked and mentioned****
/dev/hda13 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/hda14 on /tmp type ext3 (rw)
/dev/hda11 on /usr type ext3 (rw)
/dev/hda10 on /var type ext3 (rw)
/dev/hda8 on /mnt/g type vfat (rw,noexec,nosuid,nodev)
#df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda9 497829 82385 389742 18% /
/dev/hda7 124427 9383 108620 8% /boot
/dev/hda13 248895 4531 231514 2% /home
none 63080 0 63080 0% /dev/shm
/dev/hda14 124427 4754 113249 5% /tmp
/dev/hda11 5036284 1684244 3096208 36% /usr
/dev/hda10 396623 51961 324181 14% /var
/dev/hda8 7158992 2217872 4941120 31% /mnt/g
and please also let me know abt vc/0 vc/1 .., what are these vc/x are???
#cat /etc/securetty
vc/0
vc/1
.
.
.tty1
tty2
.
.
Regards,
Maaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-14-2004 05:06 PM
тАО03-14-2004 05:06 PM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
You'll then get a virtual file system which can be mounted on
/dev/pts with "mount -t devpts". This, together with the pseudo
terminal master multiplexer /dev/ptmx, is used for pseudo terminal
support as described in The Open Group's Unix98 standard: in order
to acquire a pseudo terminal, a process opens /dev/ptmx; the number
of the pseudo terminal is then made available to the process and the
pseudo terminal slave can be accessed as /dev/pts/
traditionally /dev/ttyp2 will then be /dev/pts/2, for example.
The GNU C library glibc 2.1 contains the requisite support for this
mode of operation; you also need client programs that use the Unix98
API. Please read Documentation/Changes for more information
about the Unix98 pty devices.
Note that the experimental "/dev file system support"
(CONFIG_DEVFS_FS) is a more general facility.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2004 02:25 AM
тАО03-16-2004 02:25 AM
Re: /dev/pts /dev/shm and vt/0 vt/1 ???
Thanks a billion Mark, for such an explanation.
Well could u or any other GURU, please also explain abt vc/x
#cat /etc/securetty
vc/0
vc/1
vc/2
.
.
.
Thanks Once again