| To: | devfs@xxxxxxxxxxx |
|---|---|
| Subject: | Adding/deleting partitions does not notify DevFS |
| From: | "Hong H. Pham" <hhp@xxxxxxxxxxx> |
| Date: | Thu, 20 Dec 2001 10:45:07 -0500 (EST) |
| Sender: | owner-devfs@xxxxxxxxxxx |
Hi, The functions add_partition() and del_partition(), for the ioctl() commands BLKPG_ADD_PARTITION and BLKPG_DEL_PARTITION respectively, in drivers/block/blkpg.c do not notify the devfs system that the partition layout has been changed. Consequently, the desired symlinks in /dev/discs/... disappear and the entries in /proc/partitions are invalid. I am using the 2.4.16 kernel. This problem can be verified by using GNU libparted (1.5.x) on a system running DevFS. Use the command 'parted' to add or delete a partition (but at least one partition should exist), and commit to disk. Cheers, ..Hong |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Removeable Media, partitions and devfs?, Richard Gooch |
|---|---|
| Next by Date: | Re: Adding/deleting partitions does not notify DevFS, Kevin P. Fleming |
| Previous by Thread: | [PATCH] devfs v204 available, Richard Gooch |
| Next by Thread: | Re: Adding/deleting partitions does not notify DevFS, Kevin P. Fleming |
| Indexes: | [Date] [Thread] [Top] [All Lists] |