Mounting a ntfs partition..

2005-09-21 Thread tronss

Hi,

I'd like to know how can I mount a ntfs partition in my first hdd to 
scan my windows xp with antivir antivirus.


I have option ntfs in GENERIC kernel and compiled like that, but when I 
try to do: mount -t ntfs /dev/wd0a /mnt tells me device not 
configured. I see


Can you help me?.

Thanks.

tronss


My disklabel:

disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6Y120P0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 240121728
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 c: 240121728 0  unused  0 0  # Cyl 0 
-238215
 i: 24010742763 unknown   # Cyl 
0*-238201*




Re: Mounting a ntfs partition..

2005-09-21 Thread steven mestdagh
On Wed, Sep 21, 2005 at 11:52:21AM +0200, tronss wrote:
 Hi,
 
 I'd like to know how can I mount a ntfs partition in my first hdd to 
 scan my windows xp with antivir antivirus.
 
 I have option ntfs in GENERIC kernel and compiled like that, but when I 
 try to do: mount -t ntfs /dev/wd0a /mnt tells me device not 
 configured. I see
 
 Can you help me?.
 
 Thanks.
 
 tronss
 
 
 My disklabel:
 
 disklabel: warning, DOS partition table with no valid OpenBSD partition
 # /dev/rwd0c:
 type: ESDI
 disk: ESDI/IDE disk
 label: Maxtor 6Y120P0
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 16
 sectors/cylinder: 1008
 cylinders: 16383
 total sectors: 240121728
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0
 
 16 partitions:
 # sizeoffset  fstype [fsize bsize  cpg]
  c: 240121728 0  unused  0 0  # Cyl 0 
 -238215
  i: 24010742763 unknown   # Cyl 
 0*-238201*
 ^
you will need to use /dev/wd0i instead of /dev/wd0a

-- 

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



Re: Mounting a ntfs partition..

2005-09-21 Thread tronss

Marc Peters wrote:

as you can see in your disklabel output, you don't have an a-partition 
on your harddrive, which you want to mount. you have to mount 
/dev/wd0i, as disklabel shows you that this is the only one on that 
drive.


tronss schrieb:


Hi,

I'd like to know how can I mount a ntfs partition in my first hdd to 
scan my windows xp with antivir antivirus.


I have option ntfs in GENERIC kernel and compiled like that, but when 
I try to do: mount -t ntfs /dev/wd0a /mnt tells me device not 
configured. I see


Can you help me?.

Thanks.

tronss


My disklabel:

disklabel: warning, DOS partition table with no valid OpenBSD partition
# /dev/rwd0c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6Y120P0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 240121728
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
# sizeoffset  fstype [fsize bsize  cpg]
 c: 240121728 0  unused  0 0  # Cyl 0 
-238215
 i: 24010742763 unknown   # Cyl 
0*-238201*






You are right, sorry and thank you very much.

tronss