Discussion:
low level hard drive access
(too old to reply)
John
2004-01-03 17:59:24 UTC
Permalink
Maybe a very dumb question but How do I open a drive to access it
using low level stream operations?

remove the ^^^^ from email
R.F. Pels
2004-01-03 18:36:49 UTC
Permalink
Post by John
Maybe a very dumb question but How do I open a drive to access it
using low level stream operations?
Ehh, open the device?
--
Ruurd
.o.
..o
ooo
John
2004-01-03 19:23:17 UTC
Permalink
cool, thanks open the device from /dev/hd[x]
is there any way to get the hdd infomation ie sector size?
Post by R.F. Pels
Post by John
Maybe a very dumb question but How do I open a drive to access it
using low level stream operations?
Ehh, open the device?
R.F. Pels
2004-01-03 19:36:57 UTC
Permalink
Post by John
cool, thanks open the device from /dev/hd[x]
is there any way to get the hdd infomation ie sector size?
Not that way. Use hdparm.
--
Ruurd
.o.
..o
ooo
John
2004-01-03 21:24:16 UTC
Permalink
ok thanks RF
Post by R.F. Pels
Post by John
cool, thanks open the device from /dev/hd[x]
is there any way to get the hdd infomation ie sector size?
Not that way. Use hdparm.
p***@icke-reklam.ipsec.nu
2004-01-03 21:52:10 UTC
Permalink
Post by John
Maybe a very dumb question but How do I open a drive to access it
using low level stream operations?
open /dev/rawdevice[unit] or whatever your system
has convention for a disk raw device.
Post by John
remove the ^^^^ from email
--
Peter HÃ¥kanson
IPSec Sverige ( At Gothenburg Riverside )
Sorry about my e-mail address, but i'm trying to keep spam out,
remove "icke-reklam" if you feel for mailing me. Thanx.
Loading...