[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#99837: boot-floppies: partition_config.c says no good way to detect reiserfs partition, here is a decent way



Package: boot-floppies
Version: 20010603
Severity: wishlist

Ok, nothing amazing, just that there is a "magic number" for reiserfs, just
like many other things.  at byte 0x10034 (65584) there is the string ReIsErFs
This should be pretty easy to check for, you just open the disk, seek to that
point, pull the 8 characters and strcmp it . . . maybee it'll help.

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux journey 2.4.1 #1 Tue Jan 30 10:58:26 PST 2001 i686 unknown




Reply to: