Opened 16 years ago

Closed 16 years ago

#3954 closed bug (fixed)

mkfs reports wrong volume as initialised

Reported by: idefix Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Used mkfs (on hrev30832) to initialise ata/1/master/1, but it reported ata/1/master/2 to be successfully initialised (giving me a heart attack ;) ):

~> mountvolume -l
Volume         File System              Size Mounted At (Device)
---------------------------------------------------------------------
Haiku Alpha    Be File System           4.0G /boot  (ata/0/slave/0)
Partition 1 (Haiku Alpha) Be File System           7.1G   (ata/1/master/0)
Partition 2 (Build) Be File System           7.2G   (ata/1/master/1)
Partition 3 (BeOS) Be File System           7.2G   (ata/1/master/2)
test           Be File System           7.2G   (ata/1/master/3)

~> mkfs -t bfs -o noindex -v /dev/disk/ata/1/master/1 test2
Preparing for modifications...

Parameters Validation...


About to initialize /dev/disk/ata/1/master/1 with Be File System
Are you sure you want to do this now?

ALL YOUR DATA in /dev/disk/ata/1/master/1 will be lost forever.
Continue (yes|[no])? yes
DiskDeviceJobQueue::Execute(): executing job: Q28BPrivate15UninitializeJob
DiskDeviceJobQueue::Execute(): executing job: Q28BPrivate13InitializeJob
Volume Partition 3 (BeOS) has been initialized successfully!

~> mountvolume -l
Volume         File System              Size Mounted At (Device)
---------------------------------------------------------------------
Haiku Alpha    Be File System           4.0G /boot  (ata/0/slave/0)
Partition 1 (Haiku Alpha) Be File System           7.1G   (ata/1/master/0)
test2          Be File System           7.2G   (ata/1/master/1)
Partition 3 (BeOS) Be File System           7.2G   (ata/1/master/2)
test           Be File System           7.2G   (ata/1/master/3)

Change History (2)

comment:1 by korli, 16 years ago

This one is very funny indeed ;)

comment:2 by axeld, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev30970.

Note: See TracTickets for help on using tickets.