Re: About commands

2007-03-28 Thread scorch

Stephen Liu wrote:

 What will be the equivalent command on OBSD?  TIA

i suggest you bone up on the first 3 links at 
http://www.xs4all.nl/~hanb/documents/topic.html before posting again.


RTFM, STFW  would be the standard answer round here. or maybe we 
have more time free than you have? are you even in front of a keyboard?



On Linux World,

$ fdisk -l
displaying all partitions of a HD

$ fdisk -l

fdisk: unknown option -- l
usage: fdisk [-ieu] [-c cylinders -h heads -s sectors] [-f mbrfile] device
-i: initialize disk with virgin MBR
-u: update MBR code, preserve partition table
-e: edit MBRs on disk interactively
-f: specify non-standard MBR template
-chs: specify disk geometry
`disk' may be of the forms: sd0 or /dev/rsd0c.

$ sudo fdisk wd0
Disk: wd0   geometry: 2480/255/63 [39841200 Sectors]
Offset: 0   Signature: 0xAA55
 Starting   Ending   LBA Info:
 #: idC   H  S -C   H  S [   start:  size   ]

 0: 000   0  0 -0   0  0 [   0:   0 ] unused
 1: 000   0  0 -0   0  0 [   0:   0 ] unused
 2: 000   0  0 -0   0  0 [   0:   0 ] unused
*3: A60   1  1 - 2479 254 63 [  63:39841137 ] OpenBSD

NB disklabel will be more use to you probably.


$ df -h
displaying all partitions with size and use


$ df -h
Filesystem SizeUsed   Avail Capacity iused   ifree  %iused 
Mounted on

/dev/wd0a 1006M292M664M31%4871  139383 3%   /
/dev/wd0d  5.9G3.5G2.1G63%  264441  53926933%   /usr
/dev/wd0e  5.9G2.8G2.8G49%   14292  789418 2%   /var
/dev/wd0g  3.9G2.0K3.7G 0%   1  535805 0%   /tmp
/dev/wd1a  113G   18.7G   88.4G17%   12521 14969493 0%   /vicepa
/dev/xfs0 10.6G  0B   10.6G 0%   04711 0%   /afs

you really are lazy.

scorch
--
out of the frying pan into the fire



Re: About commands

2007-03-28 Thread Matt Rowley

$ fdisk -l
displaying all partitions of a HD


man disklabel.


$ df -h
displaying all partitions with size and use


man df.

Not to be pedantic, but df displays mounted filesystems, not all 
partitions.


cheers,
Matt



About commands

2007-03-27 Thread Stephen Liu
Hi folks,


On Linux World,

$ fdisk -l
displaying all partitions of a HD

$ df -h
displaying all partitions with size and use


What will be the equivalent command on OBSD?  TIA


B.R.
Stephen

Send instant messages to your online friends http://uk.messenger.yahoo.com