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:
#: id C H S - C H S [ start: size ]
------------------------------------------------------------------------
0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
*3: A6 0 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 Size Used Avail Capacity iused ifree %iused
Mounted on
/dev/wd0a 1006M 292M 664M 31% 4871 139383 3% /
/dev/wd0d 5.9G 3.5G 2.1G 63% 264441 539269 33% /usr
/dev/wd0e 5.9G 2.8G 2.8G 49% 14292 789418 2% /var
/dev/wd0g 3.9G 2.0K 3.7G 0% 1 535805 0% /tmp
/dev/wd1a 113G 18.7G 88.4G 17% 12521 14969493 0% /vicepa
/dev/xfs0 10.6G 0B 10.6G 0% 0 4711 0% /afs
you really are lazy.
scorch
--
out of the frying pan into the fire