pavement

Talk:Partitioning Tips and Tricks

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m (fixed my formatting)
(Query: Shall I overhaul this file?)
Line 1: Line 1:
 
How can I have FreeBSD tell me what kind of hard drive I have (serial number, manufacturer, etc)?
 
How can I have FreeBSD tell me what kind of hard drive I have (serial number, manufacturer, etc)?
----
+
 
 
to the best of my knowlege, you can't. That info is printed on the hard drive itself. So you'd have to look at it -- open the case and take the disk out and write down all that info. You can get the system to tell you what kind of disk you have (ATA/SCSI, etc) and how it's been configured, but that's as far as that goes.
 
to the best of my knowlege, you can't. That info is printed on the hard drive itself. So you'd have to look at it -- open the case and take the disk out and write down all that info. You can get the system to tell you what kind of disk you have (ATA/SCSI, etc) and how it's been configured, but that's as far as that goes.
  
Line 18: Line 18:
  
 
--[[User:Joe|Joe]] 12:13, 22 Dec 2005 (EST)
 
--[[User:Joe|Joe]] 12:13, 22 Dec 2005 (EST)
 +
----
 +
 +
I have a very large edit to this file, summarizing different uses of the different partitions in the default system install... but it really doesn't fit well with alot of this information or this title. I would like to move some of this info over to this new article named "Hard Disk Partition Sizes" with something like the following TOC:
 +
#Official Information and Terms (Links to manpages and HB)
 +
#The Default Install
 +
#One Big Partition
 +
#The SWAP partition
 +
#The /tmp partition
 +
#The /var partition
 +
##The /var/tmp directory
 +
#The /usr partition
 +
##/usr/src directory
 +
##/usr/ports directory
 +
##/usr/local directory
 +
#The /home partition
 +
The intended audience of this new file would be people new to FreeBSD who are not entirely sure what the different partitions are used for and why they might want to change the default sizes. If no one objects, I'll post the article and rearrange this article to lose duplicated information and probably move the above question into this article as well.
 +
--[[User:Joe|Joe]] 15:42, 22 Dec 2005 (EST)

Revision as of 15:42, 22 December 2005

How can I have FreeBSD tell me what kind of hard drive I have (serial number, manufacturer, etc)?

to the best of my knowlege, you can't. That info is printed on the hard drive itself. So you'd have to look at it -- open the case and take the disk out and write down all that info. You can get the system to tell you what kind of disk you have (ATA/SCSI, etc) and how it's been configured, but that's as far as that goes.

--Dave 11:20, 25 Jul 2005 (EDT)

There is the sysutils/smartmontools port for SMART enabled drives. Running "smartctl -i /dev/ad4" on my system gives output like:

=== START OF INFORMATION SECTION ===
Device Model:    WDC WD2500JB-00EVA0
Serial Number:    WD-WCAEH1028140
Firmware Version: 15.05R15
Device is:        In smartctl database [for details use: -P show]
ATA Version is:  6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Thu Dec 22 10:48:33 2005 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

--Joe 12:13, 22 Dec 2005 (EST)


I have a very large edit to this file, summarizing different uses of the different partitions in the default system install... but it really doesn't fit well with alot of this information or this title. I would like to move some of this info over to this new article named "Hard Disk Partition Sizes" with something like the following TOC:

  1. Official Information and Terms (Links to manpages and HB)
  2. The Default Install
  3. One Big Partition
  4. The SWAP partition
  5. The /tmp partition
  6. The /var partition
    1. The /var/tmp directory
  7. The /usr partition
    1. /usr/src directory
    2. /usr/ports directory
    3. /usr/local directory
  8. The /home partition

The intended audience of this new file would be people new to FreeBSD who are not entirely sure what the different partitions are used for and why they might want to change the default sizes. If no one objects, I'll post the article and rearrange this article to lose duplicated information and probably move the above question into this article as well. --Joe 15:42, 22 Dec 2005 (EST)

Personal tools