- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: General queries...
Operating System - HP-UX
1752753
Members
4508
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-21-2001 08:08 PM
02-21-2001 08:08 PM
General queries...
Hello friends,
I have general queries as follows.
1. What is the diff. between file system and logical volume?
2. What is the diff. between character device file and block device file.
3. How to read core dump file?
4. From my server startup scripts, how to pass the global variable to the .profile script of a particular user?
Thanks.
Samir.
I have general queries as follows.
1. What is the diff. between file system and logical volume?
2. What is the diff. between character device file and block device file.
3. How to read core dump file?
4. From my server startup scripts, how to pass the global variable to the .profile script of a particular user?
Thanks.
Samir.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-21-2001 09:30 PM
02-21-2001 09:30 PM
Re: General queries...
Hi,
Briefly...
1. What is the diff. between file system and logical volume?
A filesystem sits on top of a logical volume. In Windows terms, a logical volume on the LVM-unix level is analogous to partition you create in Windows. In windows, to create a filesystem, you perform a format on the partition. The equivalent at the Unix side is the newfs command to "format" the logical volume.
2. What is the diff. between character device file and block device file.
A character device reads and writes character streams while a block device reads and writes in blocks. Block devices (eg. hard disks) allow random access while character devices allow only sequential access (eg. tape devices)
3. How to read core dump file?
Some of the common methods:
a) file core (to identify what was the signal that cased the dump)
b) q4 tool (specifically for crash dumps)
c) other debuggers such as adb and gdb.
4. From my server startup scripts, how to pass the global variable to the .profile script of a particular user?
Your server startup scripts are only called when the system is started up, not when users are logged on to the system.
To allow a particular user to a particular variable setting when he or she is logged on, the variable must be set in the system /etc/profile or the user .profile or .login or .cshrc depending on the login shell set for the user.
To load system variables specified in /etc/rc.config.d/* configuration files, simply run the following in /etc/profile:
===========================================
cd /etc/rc.config.d
for file in *
do
. $file
done
===========================================
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
Briefly...
1. What is the diff. between file system and logical volume?
A filesystem sits on top of a logical volume. In Windows terms, a logical volume on the LVM-unix level is analogous to partition you create in Windows. In windows, to create a filesystem, you perform a format on the partition. The equivalent at the Unix side is the newfs command to "format" the logical volume.
2. What is the diff. between character device file and block device file.
A character device reads and writes character streams while a block device reads and writes in blocks. Block devices (eg. hard disks) allow random access while character devices allow only sequential access (eg. tape devices)
3. How to read core dump file?
Some of the common methods:
a) file core (to identify what was the signal that cased the dump)
b) q4 tool (specifically for crash dumps)
c) other debuggers such as adb and gdb.
4. From my server startup scripts, how to pass the global variable to the .profile script of a particular user?
Your server startup scripts are only called when the system is started up, not when users are logged on to the system.
To allow a particular user to a particular variable setting when he or she is logged on, the variable must be set in the system /etc/profile or the user .profile or .login or .cshrc depending on the login shell set for the user.
To load system variables specified in /etc/rc.config.d/* configuration files, simply run the following in /etc/profile:
===========================================
cd /etc/rc.config.d
for file in *
do
. $file
done
===========================================
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP