On Mon, Mar 11, 2002 at 09:22:37AM -0600, Dave Kleikamp wrote:
> On Sunday 10 March 2002 02:10 pm, Florin Iucha wrote:
> > Hello,
> >
> > I have got linux-2.4 from vger patched with jfs-1.0.15 . The patches
> > applied cleanly.
> >
> > I have rebooted with the new kernel and created a jfs partition on my
> > second disk (/dev/sdb1). I have copied some stuff (my /var directory)
> > onto that partition and rebooted. Upon reboot, the sdb disk had no
> > partition table. As I was dumb enough to remove the /var partition,
> > it will take a while before I can try to repeat the experiment ;^).
> 
> JFS shouldn't be able to touch the partition table.  Just a guess, but 
> could it be possible you formatted /dev/sdb instead of /dev/sdb1?

Absolutely not. That was my first thought too, and I did it again, just
to be sure.

The following scenario:
   dd if=/dev/zero of=/dev/sdb bs=1M count=1
   fdisk /dev/sdb
   <create SUN disklabel: sdb1 - linux, sdb2 - swap, sdb3 - whole disk>
   mkswap /dev/sdb2
   mkfs.<type> /dev/sdb1
   mount /dev/sdb1 /mnt
   <copy 100 MB of stuff (partition has almost 1 G)>
   reboot

Works for ext3 and reiserfs and fails for jfs.

Cheers,
florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4

Attachment: msg00382/pgp00000.pgp
Description: PGP signature

Reply via email to