parted1.7.1 compiled on Slackware with kernel 2.6.13 gcc version 3.3.6
Also parted parted-1.6.25-8 on Fedora5.
On slackware I tried configure --enable-discover-only but then it would not
compile.
partprobe -sd /dev/hdb gives the result
Error: Error informing the kernel about modifications to partition /dev/hdb1
-- Device or resource busy. This means Linux won't know about any changes
you made to /dev/hdb1 until you reboot -- so you shouldn't mount it or use
it in any way before rebooting.
Warning: The kernel was unable to re-read the partition table on /dev/hdb
(Device or resource busy). This means Linux won't know anything about the
modifications you made until you reboot. You should reboot your computer
before doing anything with /dev/hdb.
To me this seems a lot like a bug since by definition
-d means Don't update the kernel.
and partprobe isn't supposed to be modifying the partion. The fdisk
information about /dev/hdb gives the information
/dev/hdb1 * 1 2065 16586608+ a5 FreeBSD
Partition 1 does not end on cylinder boundary.
IE /dev/hdb1 has FreeBSD and the partition (as set up by Windows98) was
perhaps not absolutely correctly set up.
parted /dev/hdb print unit s print unit chs print
gives
Disk /dev/hdb: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 17.0GB 17.0GB primary boot
2 17.0GB 160GB 143GB extended
5 17.0GB 29.0GB 12.0GB logical ext3
6 29.0GB 41.0GB 12.0GB logical ext3
7 41.0GB 53.0GB 12.0GB logical ext3
8 53.0GB 65.0GB 12.0GB logical
9 65.0GB 67.0GB 2007MB logical linux-swap
10 67.0GB 87.0GB 20.0GB logical ext3
11 87.0GB 160GB 73.0GB logical ext3
Disk /dev/hdb: 312581807s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 63s 33173279s 33173217s primary boot
2 33173342s 312576704s 279403363s extended
5 33173343s 56613059s 23439717s logical ext3
6 56613123s 80067959s 23454837s logical ext3
7 80068023s 103522859s 23454837s logical ext3
8 103522923s 126977759s 23454837s logical
9 126977823s 130897619s 3919797s logical linux-swap
10 130897683s 169983764s 39086082s logical ext3
11 169983828s 312576704s 142592877s logical ext3
Disk /dev/hdb: 19457,80,62
Sector size (logical/physical): 512B/512B
BIOS cylinder,head,sector geometry: 19457,255,63. Each cylinder is 8225kB.
Partition Table: msdos
Number Start End Type File system Flags
1 0,1,0 2064,239,62 primary boot
2 2064,240,62 19456,254,62 extended
5 2064,241,0 3523,254,62 logical ext3
6 3524,1,0 4983,254,62 logical ext3
7 4984,1,0 6443,254,62 logical ext3
8 6444,1,0 7903,254,62 logical
9 7904,1,0 8147,254,62 logical linux-swap
10 8148,1,0 10580,254,62 logical ext3
11 10581,1,0 19456,254,62 logical ext3
Information: Don't forget to update /etc/fstab, if necessary.
Thank you
Martin Raivio
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________ bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
