Command to display the complete picture of hard drive

Matt Navarre mnavarre at cox.net
Sun May 16 09:53:43 PDT 2004


On Saturday 15 May 2004 00:26, Stephen Liu wrote:
> Hi folks,
>
> FreeBSD 5.2
>
> What command will be used to display the complete
> history of the hard drvice (other than fdisk) listing
> all partitions, their allocated space, used space,
> available space, date of creation, etc.

disklabel(8) and df(1) should give you most of what you need. They'll 
certainly tell you about partitions, used/free space, etc . As for time of 
creation, I don't know of anything that will tell you that. I'd be surprised 
if that was information that was available, it doesn't seem like the kind of 
thing a filesystem needs to know.
>
> TIA
>
> B.R.
> Stephen Liu

-- 
mnavarre at cox.net       
it was a hard sell, since he's a database person, and as far as I've seen, 
once those database worms eat into your brain, it's hard to ever get anything 
practical done again. To a database person, every nail looks like a thumb. Or 
something like that. - jwz


More information about the freebsd-questions mailing list